[Koha-bugs] [Bug 17744] New: OAI: oai_dc has no element named dcCollection
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Dec 8 10:12:59 CET 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17744
Bug ID: 17744
Summary: OAI: oai_dc has no element named dcCollection
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: ASSIGNED
Severity: major
Priority: P5 - low
Component: Web services
Assignee: julian.maurice at biblibre.com
Reporter: julian.maurice at biblibre.com
QA Contact: testopia at bugs.koha-community.org
Depends on: 12252
OAI GetRecord and ListRecords, when called with metadataPrefix=oai_dc, return
something like this:
<metadata>
<oai_dc:dcCollection
xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/
http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
<oai_dc:dc>
<oai_dc:title>...</oai_dc:title>
...
</oai_dc:dc>
</oai_dc:dcCollection>
</metadata>
According to http://www.openarchives.org/OAI/2.0/oai_dc.xsd there is no
dcCollection element in oai_dc. Moreover the OAI Repository Explorer
(http://re.cs.uct.ac.za/) returns errors about this:
[Error] re.ZeDK9z:3:756: cvc-complex-type.2.4.a: Invalid content was found
starting with element 'oai_dc:dcCollection'. One of
'{"http://www.openarchives.org/OAI/2.0/oai_dc/":dc}' is expected.
Some other OAI harvesting tools also fail to parse the response successfully.
I found a discussion about this:
https://lists.katipo.co.nz/public/koha/2016-April/045130.html
There is a patch provided
(https://lists.katipo.co.nz/public/koha/2016-April/045283.html) but no bug was
opened.
This is a regression caused by bug 12252, and it affects all versions since
3.22
Referenced Bugs:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12252
[Bug 12252] OAI-PMH GetRecord result doesn't include item data
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list