Commit a2bb2b26 authored by Fischer, Tim's avatar Fischer, Tim

changed SAH xslt and tests

parent 19b28d66
...@@ -1440,7 +1440,7 @@ public class XSLTTransformerTests { ...@@ -1440,7 +1440,7 @@ public class XSLTTransformerTests {
assertEquals(1, metadata.stream().filter(m -> m.getKey().equals("dc.title") ).count() ); assertEquals(1, metadata.stream().filter(m -> m.getKey().equals("dc.title") ).count() );
// assertEquals(1, metadata.stream().filter(m -> m.getKey().equals("dc.title.alternative") ).count() ); // assertEquals(1, metadata.stream().filter(m -> m.getKey().equals("dc.title.alternative") ).count() );
assertTrue( metadata.contains( new SimpleMetadatum("dc.identifier.doi", "https://doi.org/10.18193/sah.v4i1.126") ) ); assertTrue( metadata.contains( new SimpleMetadatum("dc.identifier.doi", "https://doi.org/10.18193/sah.v4i1.126") ) );
assertTrue( metadata.contains( new SimpleMetadatum("dc.publisher.country", "IRL") ) ); assertTrue( metadata.contains( new SimpleMetadatum("dc.publisher.country", "MISC") ) );
fileSet = bundle.getContents(); fileSet = bundle.getContents();
assertTrue( fileSet.size() == 1); assertTrue( fileSet.size() == 1);
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<xsl:with-param name="key" <xsl:with-param name="key"
select="'dc.publisher.country'" /> select="'dc.publisher.country'" />
<xsl:with-param name="language" select="''" /> <xsl:with-param name="language" select="''" />
<xsl:with-param name="value" select="'IRL'" /> <xsl:with-param name="value" select="'MISC'" />
</xsl:call-template> </xsl:call-template>
<!-- <xsl:call-template name="new-metadatum"> <xsl:with-param name="key" <!-- <xsl:call-template name="new-metadatum"> <xsl:with-param name="key"
......
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