Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
DDA
dda-wizard
Commits
ac9beccd
Commit
ac9beccd
authored
Aug 13, 2018
by
Gerrit Hübbers
🃏
Browse files
do not generate URNs for Urban Planning by default
parent
395235de
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/test/java/org/gesis/dda/publishing/domain/impl/XsltTransformerOaiPmhBundlesStreamSourceTest.java
View file @
ac9beccd
...
...
@@ -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"
);
...
...
src/test/resources/xslt/urbanplanning-nlm-2-xmlbundle.xslt
View file @
ac9beccd
...
...
@@ -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>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment