-
-
Notifications
You must be signed in to change notification settings - Fork 357
Closed
Labels
Description
- Are you running the latest version?
- Have you included sample input, output, error, and expected output?
- Have you checked if you are using correct configuration?
- Did you try online tool?
Description
Im trying to validate an XML that uses a PI tag at a non-top level, but the validation fails. This tool correctly validates the XML, but the fast-xml-parser online tool doesn't. Is there a way to ignore those tags? Or this is the expected result?
Input
<?xml version="1.0" encoding="utf-8"?>
<Content><?tibco-char 19?> content</Content>
Code
validate('<?xml version="1.0" encoding="utf-8"?><Content><?tibco-char 19?> content</Content>`);Output
{
err: { code: 'InvalidChar', msg: "char 'c' is not expected.", line: 2 }
}
expected data
true
Would you like to work on this issue?
- Yes
- No
Bookmark this repository for further updates.
Reactions are currently unavailable