Re: Comments on "The byte-order mark (BOM) in HTML"

Richard Ishida, Thu, 20 Dec 2012 12:43:55 +0000:
> Actually this seems to be consistent with expectations in the XML 
> spec, where it says "If an XML entity is in a file, the Byte-Order 
> Mark and encoding declaration are used (if present) to determine the 
> character encoding." in the section "Priorities in the Presence of 
> External Encoding Information" 
> (http://www.w3.org/TR/REC-xml/Overview.html#sec-guessing-with-ext-info).

Agree. But XML leaves it up to the HTTP specs to say what should happen 
when XML is served over HTTP: «their relative priority and the 
preferred method of handling conflict should be specified as part of 
the higher-level protocol used to deliver XML»
-- 
lhsilli

Received on Thursday, 20 December 2012 12:58:47 UTC