XML declaration and PI

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.
 
<http://www.w3.org/TR/xhtml1/#guidelines>

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
precedence.

Best regards,

--
Jun Fujisawa
<mailto:fujisawa.jun@canon.co.jp>

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