W3C home > Mailing lists > Public > www-html-editor@w3.org > October to December 2000

XML declaration and PI

From: Jun Fujisawa <fujisawa.jun@canon.co.jp>
Date: Thu, 28 Dec 2000 14:27:01 +0900
Message-Id: <v04210a01b6707b0454cc@ralph.the.canon.co.jp>
To: www-html-editor@w3.org
Dear XHTML editors,

The following descriptions in Appendix C of XHTML 1.0 specification
sounds inappropriate since the XML declaration is NOT a processing
instruction (isn't it?). I think the descriptions should not imply that
an XML declaration is a kind of processing instruction.

C.1 Processing Instructions
Be aware that processing instructions are rendered on some user agents.
However, also note that when the XML declaration is not included in a
document, the document can only use the default character encodings
UTF-8 or UTF-16.

C.9 Character Encoding
To specify a character encoding in the document, use both the encoding
attribute specification on the xml declaration (e.g. <?xml version="1.0"
encoding="EUC-JP"?>) and a meta http-equiv statement (e.g. <meta
http-equiv="Content-type" content='text/html; charset="EUC-JP"'/>).
The value of the encoding attribute of the xml processing instruction takes

Best regards,

Jun Fujisawa
Received on Thursday, 28 December 2000 00:28:18 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 15:08:24 UTC