-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Description
Confusingly, parser errors do not throw.
From w3c:
Let root be a new Element, with its local name set to "parsererror" and its namespace set to "http://www.mozilla.org/newlayout/xml/parsererror.xml".
Should we build this check into the parseXMLFromString function, and throw an error if detected? Or should we make a separate function? e.g. parseXMLFromStringOrThrow
Metadata
Metadata
Assignees
Labels
No labels