-
Notifications
You must be signed in to change notification settings - Fork 94
Closed
Labels
bugSomething isn't workingSomething isn't workingerror handlingspec:XMLhttps://www.w3.org/TR/xml11/https://www.w3.org/TR/xml11/testingxml:well-formedhttps://www.w3.org/TR/xml11/#dt-wellformedhttps://www.w3.org/TR/xml11/#dt-wellformed
Milestone
Description
I would like to know if it is possible to configure DOMParser to not raise an error for the Unicode replacement character.
Up until 0.9.0, @xmldom/xmldom was parsing this character like any other, until #519 changed it to throw an error.
Looking at the README, it seems possible to configure error handling using DOMParser's onError option, but (if I understand it correctly), this does not apply to fatal errors, which unfortunately is the case here.
I also couldn't find any mentions of this character in the W3C API reference, so I assume this behavior is not standard.
Original issue: appium/appium-inspector#1729
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingerror handlingspec:XMLhttps://www.w3.org/TR/xml11/https://www.w3.org/TR/xml11/testingxml:well-formedhttps://www.w3.org/TR/xml11/#dt-wellformedhttps://www.w3.org/TR/xml11/#dt-wellformed