Bug 20129 - MetadataPrefix=marc21 doesn't use specified xslt
Summary: MetadataPrefix=marc21 doesn't use specified xslt
Status: RESOLVED DUPLICATE of bug 19353
Alias: None
Product: Koha
Classification: Unclassified
Component: Web services (show other bugs)
Version: 17.11
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-02 10:42 UTC by martin.stastny
Modified: 2018-02-07 16:20 UTC (History)
2 users (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description martin.stastny 2018-02-02 10:42:42 UTC
Hello,

Since 17.11, metadaPrefix marc21 uses some default xslt stylesheet instead of our edited one in the OAI. We got defined marc21 format by yaml conf file, but OAI uses another one. If we rename format e.g. to marc2 it works fine.
Specifically, with those 2 defined formats, will "nkp" works as expected, but "marc21" output will be different from "nkp" and wrong:
  nkp:
    metadataPrefix: nkp
    metadataNamespace: http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim
    schema: http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd
    xsl_file: /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/cs-CZ/xslt/MARC21NKP.xsl
  marc21:
    metadataPrefix: marc21
    metadataNamespace: http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim
    schema: http://www.loc.gov/MARC21/slim http://www.loc.gov/standards/marcxml/schema/MARC21slim.xsd
    xsl_file: /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/cs-CZ/xslt/MARC21NKP.xsl
Comment 1 Josef Moravec 2018-02-07 13:12:51 UTC
It is duplicate of bug 19353

You can test it and sign off ;)

*** This bug has been marked as a duplicate of bug 19353 ***
Comment 2 Michal Denar 2018-02-07 16:20:50 UTC
Here is how sign-off pathes:
https://wiki.koha-community.org/wiki/Sign_off_on_patches

or kohadevbox: https://github.com/digibib/kohadevbox