-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
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-zA-Z]|_|\\u2070-\\u218F|\\u2C00-\\u2FEF|\\u3001-\\uD7FF|\\uF900-\\uFDCF|\\uFDF0-\\uFFFD)" |
":" | [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.
Metadata
Metadata
Assignees
Labels
No labels