Bug 9365

Summary: MARCXML ILS-DI GetRecords response incorrectly encoded
Product: Koha Reporter: Jared Camins-Esakov <jcamins>
Component: Web servicesAssignee: Bugs List <koha-bugs>
Status: In Discussion --- QA Contact:
Severity: normal    
Priority: P5 - low CC: alex.arnaud, dcook, julian.maurice
Version: unspecified   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Jared Camins-Esakov 2013-01-08 12:54:13 UTC
The MARCXML included in the ILS-DI response for GetRecords includes the XML declaration (<?xml version="1.0" encoding="UTF-8"?>) which -- as I understand it -- should not be repeated.
Comment 1 Jared Camins-Esakov 2013-01-08 13:10:07 UTC
Also, the MARCXML is escaped to use entities instead of actual XML.
Comment 2 Katrin Fischer 2019-04-28 08:46:14 UTC
I am not sure if this is a bug. We include a possibly 'bad' MARCXML in an XML answer, so the use of entities seem like a necessary safeguard to me?
Comment 3 David Cook 2024-10-22 23:41:36 UTC
I think I agree with Jared here, although I have to wonder if anyone actually uses this marcxml value anyway...