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

--- Comment #6 from David Cook <[email protected]> ---
The problem is that your record isn't valid XML. While it is possible for Koha
to make invalid XML via the HTML form, it's very unlikely to happen with the &. 

So I'd say these records are from an external source that created them without
regard to XML validity.

Another noticeable flaw is also the following:

  <datafield tag="852" ind1=" " ind2=" ">
    <subfield code="a"></subfield>
  </datafield>

That would never happen in a record created by Koha I think. If there's an
empty value, the subfield and field would not have been created at all.

--

My suggestion would be to write a script to iterate through your records and
check whether or not they can be parsed as XML. Flag the ones that cannot be
parsed, and look at fixing the problems.

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to