summaryrefslogtreecommitdiff
path: root/xslt/normalize.xsl
diff options
context:
space:
mode:
authorFredrik Domeij <fredrik.domeij@umu.se>2019-04-09 07:32:49 +0200
committerFredrik Domeij <fredrik.domeij@umu.se>2019-04-09 07:33:30 +0200
commit6e84605a8f48c556937295c8e98f642ab2da099b (patch)
tree94246b60a9173c5b54321db16288b21393caad3c /xslt/normalize.xsl
parent8c9cb6f217aec3f08cbf19801547a4c58be64f28 (diff)
missing www in registrationAuthority test added to avoid duplicate registrationAuthorities
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 015f8415..06550345 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://swamid.se/'])">
+ <xsl:if test="$rpi='true' and not(mdrpi:RegistrationInfo[@registrationAuthority='http://www.swamid.se/'])">
<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>