Michael writes:
> 2) The amendment to 2.11 End-Of-Line Handling
> (http://www.w3.org/TR/xml11/#sec2.11) means that its possible for 0x85

> and 0x2028 to occur in the XML declaration before the version of the
> document is determined to be 1.1.

The XML declaration in XML 1.1 will continue to be restricted to ASCII
characters only.  There is no way for you to detect a #x85 codepoint
between the '<?xml' and version in any case since until you read the
encoding declaration you are not certain to know what the encoding of
the bytestream is.  Therefore, the value of any non-ASCII codepoint
cannot be reliably determined and will be prohibited from appearing in
the XML declaration.

-Glenn

Reply via email to