You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the validation of XML names is based on the original 1998 specification which defines a large set of codepoint ranges that are to be accepted. These ranges were widened and simplified in the fifth edition of the spec, published in 2008 and now the current version.
This may also address the majority of the requirements for xml1.1 support (#25755) since the changes between 1.0 and 1.1 were the expansion of the name character ranges, the addition of two line ending characters (U+0085, U+2028) and specification of additional normalisation rules
The current ranges span 300 lines of code in the xml package so changing this will also contribute to #26775
If there is interest then I can submit a CL.
The text was updated successfully, but these errors were encountered:
bcmills
added
NeedsDecision
Feedback is required from experts, contributors, and/or the community before a change can be made.
FeatureRequest
Issues asking for a new feature that does not need a proposal.
labels
Oct 23, 2018
rsc
changed the title
encoding/xml: update character ranges for names to fifth edition (2008) specification
proposal: encoding/xml: update character ranges for names to fifth edition (2008) specification
Jun 22, 2022
Currently the validation of XML names is based on the original 1998 specification which defines a large set of codepoint ranges that are to be accepted. These ranges were widened and simplified in the fifth edition of the spec, published in 2008 and now the current version.
The name production rules are now:
This may also address the majority of the requirements for xml1.1 support (#25755) since the changes between 1.0 and 1.1 were the expansion of the name character ranges, the addition of two line ending characters (U+0085, U+2028) and specification of additional normalisation rules
The current ranges span 300 lines of code in the xml package so changing this will also contribute to #26775
If there is interest then I can submit a CL.
The text was updated successfully, but these errors were encountered: