[Koha-bugs] [Bug 20129] New: MetadataPrefix=marc21 doesn't use specified xslt

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Feb 2 11:42:42 CET 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20129

            Bug ID: 20129
           Summary: MetadataPrefix=marc21 doesn't use specified xslt
 Change sponsored?: ---
           Product: Koha
           Version: 17.11
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Web services
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: martin.stastny at teamlibrary.cz
        QA Contact: testopia at bugs.koha-community.org

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

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list