-
Notifications
You must be signed in to change notification settings - Fork 607
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to parse a xml buffer with encoded url to xml using parseString #498
Comments
Got this error, Failed Error parsing, in parseString Error: Invalid character in entity name |
Looks like you have an entity with invalid characters in your XML. How does the XML look like at the location the error message states? |
i am having xml buffer to parse |
<Buffer 3c 3f 78 6d 6c 20 76 65 72 73 69 6f 6e 3d 22 31 2e 30 22 20 65 6e 63 6f 64 69 6e 67 3d 22 55 54 46 2d 38 22 3f 3e 0a 3c 3f 78 6d 6c 2d 73 74 79 6c 65 ... > |
|
Had to use strict: false and normalizeTags: true, and everything worked fine. besides the xmlns arrtributes are appearing in Uppercase didn't expect that. |
How to make xmlns attributes to lowerCase once { strict: false, normalizeTags: true } is passed as options for parseString Output
|
No description provided.
The text was updated successfully, but these errors were encountered: