Re: Your XHTML Templates

"Diederik" <j.dehaas14@chello.nl> wrote:

> Although I must note that not even http://www.w3.org/TR/xhtml1/ does
> it!! 
> As the Recommendation page uses encoding "ISO-8859-1", they should have
> according to the quote below of the XHTML 1 Recommendation!
> 
> ========= Start part of section 3.1.1 from the XHTML Recommendation
> =========

This issue is clarified in the XHTML 1.0 Second Edition (still
Working Draft), which says as follows (emphasis added for clarity):

    Note that in this example, the XML declaration is included. An XML
    declaration like the one above is not required in all XML documents.
    XHTML document authors are strongly encouraged to use XML declarations
    in all their documents. Such a declaration is required when the
    character encoding of the document is other than the default UTF-8 or
    UTF-16 and *no encoding was determined by a higher-level protocol*.
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  cf. http://www.w3.org/TR/2001/WD-xhtml1-20011004/#strict

See also "4.3.3 Character Encoding in Entities" of the XML 1.0 Second
Edition at:

  http://www.w3.org/TR/2000/REC-xml-20001006#charencoding

We REALLY REALLY REALLY would like to publish the XHTML 1.0 Second
Edition as an updated Recommendation as soon as possible, but
unfortunately it's been stuck in a nasty process.  Sorry for
the inconvenience.

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Monday, 29 July 2002 01:19:42 UTC