[Koha-bugs] [Bug 5301] New: In C4/XSLT.pm, itemcallnumber can contain special XML characters
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 13 16:27:06 CEST 2010
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5301
Summary: In C4/XSLT.pm, itemcallnumber can contain special XML
characters
Change sponsored?: ---
Product: Koha
Version: rel_3_2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P5
Component: MARC Bibliographic data support
AssignedTo: gmcharlt at gmail.com
ReportedBy: daniel.latremoliere at bulac.fr
QAContact: koha-bugs at lists.koha-community.org
CC: ian.walls at bywatersolutions.com
Estimated Hours: 0.0
Created attachment 2686
--> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=2686
Simple patch (only for '<').
In C4/XSLT.pm itemcallnumber is concatenated with other data to create an XML
document.
Currently, only ampersand is encoded in corresponding XML entity (&).
If itemcallnumber contain '<' then the XML parser, reading the XML document,
can not understand the document, because it interprets this part of
itemcallnumber data ('<') as the beginning of an XML tag.
In this case (one bibliography with '<' in itemcallnumber) search in Koha does
not function (return no results given the XML parsing bug).
--
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the Koha-bugs
mailing list