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
Implementations are instructed to ignore the BOM if it occurs at the beginning of a grammar encoded in UTF-8.
The second paragraph in the description of the grammar is changed to:
A grammar is an optional prolog, followed by a sequence of one or more rules, surrounded and separated by spacing and comments. Spacing and comments are entirely optional, except that rules must be separated by at least one of either (error S01). If an input grammar encoded in UTF-8 begins with a byte order mark (BOM), the BOM must be ignored
The text was updated successfully, but these errors were encountered:
That feels like a bug in the program you're using to concatenate them. And criticallyU+FEFF has another meaning when not at the beginning of the file, it's a ZERO WIDTH NO-BREAK SPACE. I bet the Unicode consortium regrets that decision!
Should there also be a rule about BOMs in the input string? Since we sometimes speak as if we believe ixml could be used to parse binary data, perhaps any rule about BOMs in the input string should use SHOULD, not MUST. Or am I missing something?
E002: Ignore UTF-8 BOM
Implementations are instructed to ignore the BOM if it occurs at the beginning of a grammar encoded in UTF-8.
The second paragraph in the description of the grammar is changed to:
The text was updated successfully, but these errors were encountered: