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

Update Urban Planning mapping

parent bc8fa8aa
......@@ -582,7 +582,9 @@ public class XsltTransformerOaiPmhBundlesStreamSourceTest {
assertTrue( metadata.contains( new SimpleMetadatum("dc.title", "en", "Engendering Creative City Image by Using Information Communication Technology in Developing Countries") ) );
assertEquals(1, metadata.stream().filter(m -> m.getKey().equals("dc.title") ).count() );
assertTrue( metadata.contains( new SimpleMetadatum("dc.identifier.doi", "https://doi.org/10.17645/up.v1i3.686") ) );
assertTrue( metadata.contains( new SimpleMetadatum("dc.publisher.country", "MISC") ) );
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") ) );
LOG.info("---------------------------------------");
bundle = bss.getBundle("oai:ojs.cogitatiopress.com:article/740");
......
......@@ -69,7 +69,19 @@
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.publisher.country'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="'MISC'"/>
<xsl:with-param name="value" select="'PRT'"/>
</xsl:call-template>
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'internal.identifier.classoz'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="'20700'"/>
</xsl:call-template>
<xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'internal.identifier.ddc'"/>
<xsl:with-param name="language" select="''"/>
<xsl:with-param name="value" select="'710'"/>
</xsl:call-template>
</xsl:element>
......
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