Re: [xml] HTML parser and NULL bytes


  I am not sure if I understand the scenario correctly, but in case you are trying to give a NULL byte as text content in xml, then i don't think any XML compliant parser will parse it, according to the XML draft this is invalid.


2008/8/5 Michael Day <mikeday yeslogic com>

The libxml2 HTML parser appears to stop parsing when it hits a NULL byte, as demonstrated by running "xmllint --html" on the attached file.

Could it ignore null bytes instead and keep parsing? Currently it doesn't even give a warning.

Best regards,


Print XML with Prince!

Help! NULL!

It should get cut off right here and this line will not appear at all

What happened???

xml mailing list, project page
xml gnome org

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]