-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
xmldom does not report parsererror
(on XML without proper start tag)
#349
Comments
Thank you for reporting this.
https://stackblitz.com/edit/js-xmldom349?devtoolsheight=33&file=index.js Regarding 1. At some point I want to introduce the option to add this node, but it would be a massive change in behavior and implementation, so it' currently not really "planned". Regarding 2. We currently prioritize issues with well formed or even valid XML hihger as those regarding non well formed XML. But the goal should be to at least report a Regarding 3. not going to be solved by this lib :) |
parsererror
(on XML without proper start tag)
I would like to chime in with a couple meta points:
And thanks again to @karfau for essentially taking this project over!! |
We label issues the explicitly want contributions with Yes, documenting that would be helpful and contributions are always welcome, but I have not thought about where to best document this. We also have to document the current error handling in general (see #224), most likely this will happen prior to doing anything on this issue. |
starting from https://github.com/xmldom/xmldom/releases/tag/0.9.0-beta.9 (available under |
Compare this : (xmldom) :
To this : (Firefox DOMParser) :
To this (Chrome DOMParser) :
It seems that for the input "a>", xmldom says everythings ok will its not.
The text was updated successfully, but these errors were encountered: