Hi,
Parsing the attached file with xmllint from libxml 2.4.23 produces:
bug.xml:228: error: attributes construct error
bug.xml:228: error: error parsing attribute name
However the file appears to be perfectly valid XML, and changing some text
near the beginning of the file makes xmllint parse it correctly.
In particular, the file starts with:
<h>
<span class="foo"><b>foo</b>bar</span>
DELETE ME!!!<span></span>
</h>
Deleting the "DELETE ME" text makes the file parse correctly. Removing the
class="foo" attribute from the first span also makes the file parse
correctly. The funny thing is, the error is not reported until much much
later in the file, on an element that is quite correct.
Hope this helps,
Michael
Attachment:
bug.xml
Description: Text Data