From 052b2fe417c7f9ec0f709ba5d6ce664351b255c8 Mon Sep 17 00:00:00 2001 From: Ian Young Date: Wed, 11 Mar 2015 12:20:36 +0000 Subject: [PATCH] Check SAML elements with string type have some non-whitespace characters. Remove similarly motivated XSLT checks. Remove an explicitly blacklisted entity which had this problem. --- build/extract_locs.pl | 2 +- mdx/_rules/check_mdui.xsl | 36 ------------------------------------ mdx/common-beans.xml | 22 +++++++++++++++++++--- mdx/validation-beans.xml | 27 +++++++++++++++++++++++++++ 4 files changed, 47 insertions(+), 40 deletions(-) diff --git a/build/extract_locs.pl b/build/extract_locs.pl index a516194d..94b360a1 100755 --- a/build/extract_locs.pl +++ b/build/extract_locs.pl @@ -2,7 +2,7 @@ use Xalan; -open(XML, xalanCall . " -IN ../mdx/uk/collected.xml -XSL extract_locs.xsl|") || die "could not open input file"; +open(XML, xalanCall . " -IN edugain.xml -XSL extract_locs.xsl|") || die "could not open input file"; while () { chop; if (/^https:\/\/([^\/:]+(:\d+)?)(\/|$)/) { diff --git a/mdx/_rules/check_mdui.xsl b/mdx/_rules/check_mdui.xsl index 47f789b1..796c1d3f 100644 --- a/mdx/_rules/check_mdui.xsl +++ b/mdx/_rules/check_mdui.xsl @@ -28,42 +28,6 @@ --> - - - - mdui:DisplayName must not be empty - - - - - mdui:Description must not be empty - - - - - mdui:Keywords must not be empty - - - - - mdui:IPHint must not be empty - - - - - mdui:DomainHint must not be empty - - - - - mdui:GeolocationHint must not be empty - - - + + + + + + + - - -