W3C home > Mailing lists > Public > www-xpath-comments@w3.org > July to September 1999

PI section 5.5

From: Rick Jelliffe <ricko@gate.sinica.edu.tw>
Date: Fri, 20 Aug 1999 22:38:15 +0800
Message-ID: <000701beeb19$a394cba0$8d066d8c@sinica.edu.tw>
To: <www-xpath-comments@w3.org>
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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 3 October 2007 16:05:53 GMT