We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Looks like in the lexer is missing a couple of entries in its regex for NameStartChar.
I'm seeing
xml-tools/packages/parser/lib/lexer.js
Line 37 in d36ef38
":" | [A-Z] | "_" | [a-z] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD]
But the spec has:
":" | [A-Z] | "_" | [a-z] | [#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D] | [#x2070-#x218F] | [#x2C00-#x2FEF] | [#x3001-#xD7FF] | [#xF900-#xFDCF] | [#xFDF0-#xFFFD] | [#x10000-#xEFFFF]
So it's missing some entries in the 1-byte form and then anything #x10000 and above.
#x10000
The text was updated successfully, but these errors were encountered:
cc @bd82 this came from an issue on prettier here: prettier/plugin-xml#607.
Sorry, something went wrong.
Hello @kddnewton
This could be a bit tricky, specifically: [#x10000-#xEFFFF] range will need to be converted to the matching surrogate pair range in JavaScript -https://mathiasbynens.be/notes/javascript-unicode
[#x10000-#xEFFFF]
@bd82 yeah totally get it. I think that's fine to skip those for now, the issue I'm facing is within
[#xC0-#xD6] | [#xD8-#xF6] | [#xF8-#x2FF] | [#x370-#x37D] | [#x37F-#x1FFF] | [#x200C-#x200D]
No branches or pull requests
Looks like in the lexer is missing a couple of entries in its regex for NameStartChar.
I'm seeing
xml-tools/packages/parser/lib/lexer.js
Line 37 in d36ef38
But the spec has:
So it's missing some entries in the 1-byte form and then anything
#x10000
and above.The text was updated successfully, but these errors were encountered: