[OPEN-ILS-DEV] direct_ingest error

Bill Russell brussell.ls at gmail.com
Sun Jun 22 08:07:54 EDT 2008


Hi all,

I haven't kept up with the latest in the xml syntax, but are you sure
this record is well formed?

I dropped the <record  .. </record> section into a file;  loaded the
file into various xml tools laying around a linux box.  The all
indicated problems.  Here's the message from Firefox

XML Parsing Error: not well-formed
Location: file:///home/inbound/Library/problem-marc.xml
Line Number 1, Column 22:<record
xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"

With a little reformating, the 245 tag shows looks like:

<datafield tag=\"245\" ind1=\"1\" ind2=\"2\">
<subfield code=\"a\">A guide to the electrical contractor's exam /</subfield>
<subfield code=\"c\">Alan Stanfield.</subfield>
</datafield>

I suspect it should be something like:

<datafield tag="245" ind1="1" ind2="2">
<subfield code="a">A guide to the electrical contractor's exam /</subfield>
<subfield code="c">Alan Stanfield.</subfield>
</datafield>


Bill

<snip>


More information about the Open-ils-dev mailing list