diff options
author | Johan Wassberg <jocar@sunet.se> | 2023-08-25 08:16:53 +0200 |
---|---|---|
committer | Johan Wassberg <jocar@sunet.se> | 2023-08-25 08:16:53 +0200 |
commit | ac9405a48f8caf96511db6cb68c7f389cf0715bc (patch) | |
tree | 03c544cf0b8b52564d0e59e969f88dff536158d9 | |
parent | 50072dbd6c41bf2166f43dd3682045a370e90a6b (diff) |
Add missing Schema Namepaces since they where lost in the splitfidus-metadata-2023-08-25-v01
-rwxr-xr-x | metadata/scripts/pull-and-verify.sh | 4 | ||||
-rw-r--r-- | metadata/xslt/import-metadata.xsl | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/metadata/scripts/pull-and-verify.sh b/metadata/scripts/pull-and-verify.sh index f1b11b2..0598560 100755 --- a/metadata/scripts/pull-and-verify.sh +++ b/metadata/scripts/pull-and-verify.sh @@ -24,10 +24,6 @@ if [ $? -ne 0 ]; then exit 1 fi for md in $TMPD/*.xml; do - if (grep -q 'xs:string' $md); then - echo "cleaning $md" - sed 's/ xsi:type="xs:string"//' $md > $md.c && mv $md.c $md - fi if (! (grep -q 'IDPSSODescriptor ' $md)); then # Check if SP is OK else remove SP=$(grep "entityID=" $md | sed 's/.*entityID="\(.*[a-zA-Z0-9/]\)".*/\1/') diff --git a/metadata/xslt/import-metadata.xsl b/metadata/xslt/import-metadata.xsl index 2edf7ed..769d420 100644 --- a/metadata/xslt/import-metadata.xsl +++ b/metadata/xslt/import-metadata.xsl @@ -3,6 +3,8 @@ xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:shibmeta="urn:mace:shibboleth:metadata:1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xmlns:xs="http://www.w3.org/2001/XMLSchema" + xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:exsl="http://exslt.org/common" |