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.
According to the XML specs entities need to be registered, e.g. this is not valid XML:
You have to register these entities: