Closed robert-ancell closed 2 years ago
Thanks for reporting, yeah that behavior got lost when transitioning to the stream-based parsing. I will look at adding the missing errors back (0 or more than 1 root elements).
Wondering if the DOM parser should also check the ordering of the declaration, doctype and root element (it currently doesn't)?
Is it possible to make a release with this fix? I'd like to update dbus.dart.
+1 for making a release with this fix.
Hello, thank you for a great plugin. Any possibility to publish 6.0.2?
Previously the following would throw
XmlParserException
, however in version 6 neither do.Based on the documentation I would expect these to throw exceptions as the input is not valid XML.