summaryrefslogtreecommitdiff
path: root/xslt/normalize.xsl
diff options
context:
space:
mode:
authorFredrik Domeij <fredrik.domeij@umu.se>2019-04-02 16:01:20 +0200
committerFredrik Domeij <fredrik.domeij@umu.se>2019-06-12 08:10:02 +0200
commite5d4ace31a8584b4cb4fc1f85f0cedbf447a67a2 (patch)
tree062ab2ebfd1b4c3a801fee114e2c31f56614e7fe /xslt/normalize.xsl
parent84de70534b953613267e906ff820fd4325c5a9a4 (diff)
add registrationAuthority to all xml files in swamid-2.0 during make tidy
Diffstat (limited to 'xslt/normalize.xsl')
-rw-r--r--xslt/normalize.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/xslt/normalize.xsl b/xslt/normalize.xsl
index 06550345..d407e18f 100644
--- a/xslt/normalize.xsl
+++ b/xslt/normalize.xsl
@@ -94,7 +94,7 @@ If You do not accept these Terms, then You must not continue to use this Metadat
</xsl:template>
<xsl:template name="add-swamid-ri">
- <xsl:if test="$rpi='true' and not(mdrpi:RegistrationInfo[@registrationAuthority='http://www.swamid.se/'])">
+ <xsl:if test="$rpi='true' and not(mdrpi:RegistrationInfo[@registrationAuthority])">
<mdrpi:RegistrationInfo registrationAuthority="http://www.swamid.se/">
<mdrpi:RegistrationPolicy xml:lang="en">https://www.sunet.se/wp-content/uploads/2016/08/SWAMID-Metadata-Registration-Practice-Statement-v2.pdf</mdrpi:RegistrationPolicy>
</mdrpi:RegistrationInfo>