MaggotChild
Usenet Archive
- Joined
- Sep 5, 2006
- Messages
- 26
- Reaction score
- 0
Parsers usually error if there is a byte that's not in the input document's stated encoding. I have a ISO-8859-1 document that contains entities representing several non 8859-1 chars. When these entities are expanded, the document is no longer in the given encoding, but there is no error from the parser. Is this in accordance with the XML spec?
The parser is libxml2 (via Perl interface).
The parser is libxml2 (via Perl interface).