Closed SebastianStehle closed 2 years ago
U8XmlParser is designed to read all correct xml, but it is not designed to always output an error for wrong xml. This design is for speed of execution and will not be changed in the future.
If you need proper handling of wrong xml, we recommend you to use other parsers.
(Sorry for repeating my response to other issues)
Thats fine, I just wanted to have your opinion / position about that. We have to cleanup broken XML anyway and it would our live easier if the xml parser is not so strict.
This is just another example for an invalid XML that is accepted by this library: