Closed
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