Commit ac9beccd authored by Gerrit Hübbers's avatar Gerrit Hübbers 🃏
Browse files

do not generate URNs for Urban Planning by default

parent 395235de
......@@ -585,6 +585,7 @@ public class XsltTransformerOaiPmhBundlesStreamSourceTest {
assertTrue( metadata.contains( new SimpleMetadatum("dc.publisher.country", "PRT") ) );
assertTrue( metadata.contains( new SimpleMetadatum("internal.identifier.classoz", "20700") ) );
assertTrue( metadata.contains( new SimpleMetadatum("internal.identifier.ddc", "710") ) );
assertTrue( metadata.contains( new SimpleMetadatum("ssoar.urn.registration", "false") ) );
LOG.info("---------------------------------------");
bundle = bss.getBundle("oai:ojs.cogitatiopress.com:article/740");
......
......@@ -84,6 +84,12 @@
<xsl:with-param name="value" select="'710'"/>
</xsl:call-template>
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'ssoar.urn.registration'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="'false'"/>
</xsl:call-template>
</xsl:element>
</xsl:element>
</xsl:template>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment