PI section 5.5

Instead of

"NOTE: The XML declaration is not a processing instruction. Therefore, there
is no processing instruction node corresponding to the XML declaration."

I suggest

"NOTE: The XML declaration is not part of the information set of a document.
Therefore, there is no processing instruction node corresponding to the XML
declaration."

Refer http://www.w3.org/TR/xml-infoset#omitted  at point 1.

I think it is a legitimate view that declarations are a special syntax for
PIs targeted at the parser.  The XML declaration is a PIs that happens to
use PI delimiters, and is targeted at storage/transport management.  The
effect of calling the XML declaration to be "not a PI" would be to close off
any future use of PIs for holding pragmas or other instructions for the
processor or entities.

Indeed, it may well be that in XML, the legitimate use of PIs should be
limited to information related to parseable entities, notably the document
entity.

Rick Jelliffe

Received on Friday, 20 August 1999 10:39:51 UTC