Commit a2ac54b7 by Steinberg, Jan

changing publisher's country to PRT

parent 08239d2f
...@@ -519,7 +519,7 @@ public class XsltTransformerOaiPmhBundlesStreamSourceTest { ...@@ -519,7 +519,7 @@ public class XsltTransformerOaiPmhBundlesStreamSourceTest {
assertTrue( metadata.contains( new SimpleMetadatum("dc.title", "en", "Outrage without Consequences? Post-Snowden Discourses and Governmental Practice in Germany") ) ); assertTrue( metadata.contains( new SimpleMetadatum("dc.title", "en", "Outrage without Consequences? Post-Snowden Discourses and Governmental Practice in Germany") ) );
assertEquals(1, metadata.stream().filter(m -> m.getKey().equals("dc.title") ).count() ); 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/mac.v5i1.814") ) ); assertTrue( metadata.contains( new SimpleMetadatum("dc.identifier.doi", "https://doi.org/10.17645/mac.v5i1.814") ) );
assertTrue( metadata.contains( new SimpleMetadatum("dc.publisher.country", "MISC") ) ); assertTrue( metadata.contains( new SimpleMetadatum("dc.publisher.country", "PRT") ) );
LOG.info("---------------------------------------"); LOG.info("---------------------------------------");
......
...@@ -69,7 +69,7 @@ ...@@ -69,7 +69,7 @@
<xsl:call-template name="new-metadatum"> <xsl:call-template name="new-metadatum">
<xsl:with-param name="key" select="'dc.publisher.country'"/> <xsl:with-param name="key" select="'dc.publisher.country'"/>
<xsl:with-param name="language" select="''"/> <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>
</xsl:element> </xsl:element>
......
Markdown is supported
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