-
-
Notifications
You must be signed in to change notification settings - Fork 325
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
All caps tag names #37
Comments
In non-strict mode (like HTML), tags are not case-sensitive, yes. They converted to upper case by default. |
Over 7 years later: Why not just keep the case-sensitive? Or split is as separate optional parameter? Non-strict mode is just for non-valid-xml. Nobody expecting the case insensitive tag names in this parameter. ... |
Just use this package instead https://www.npmjs.com/package/fast-xml-parser It's faster and doesn't insist on doing unexpected crap for no good reason. |
When using the loose mode parser with trim set to true, the resulting tag names come back all capitalized. using the lowercasetags: true option, the tag names correctly get turned to lowercase. Are the tags converted to uppercase by default or is there something that I am setting that I am not aware of?
thanks
The text was updated successfully, but these errors were encountered: