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
According to the production rules for the prolog in XML 1.0 spec, no whitespace nodes are allowed in front of the XML declaration. Appendix 7, which is non-normative, seems to allow byte order mark as first character.
If a BOM is present: Is it part of the document and should it be counted as a character when we get the character offsets? Or is it only only a bit of information for the parser?
The text was updated successfully, but these errors were encountered:
lueck
changed the title
Should BOM as first character be allowed? How to handle it?
Should BOM be allowed as first character? How to handle it?
Sep 7, 2022
According to the production rules for the prolog in XML 1.0 spec, no whitespace nodes are allowed in front of the XML declaration. Appendix 7, which is non-normative, seems to allow byte order mark as first character.
If a BOM is present: Is it part of the document and should it be counted as a character when we get the character offsets? Or is it only only a bit of information for the parser?
The text was updated successfully, but these errors were encountered: