Re: [xml] HTML parser and NULL bytes



Hi,

  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.

Regards
Ashwin

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

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,

Michael

--
Print XML with Prince!
http://www.princexml.com

Help! NULL!

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

What happened???


_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
xml gnome org
http://mail.gnome.org/mailman/listinfo/xml




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