8000 How to ignore error for the Unicode replacement character? · Issue #790 · xmldom/xmldom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
How to ignore error for the Unicode replacement character? #790
Closed
@eglitise

Description

@eglitise

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

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0