XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] processing instruction with 'xml' target


I have re-read the las version of the xml spec and obtained next doubts.

The spec says that PI cannot contain the xml string (case insensitive).

<?xml ... ?>

formally is not a PI.

However, Liam Quin says,

"if there is any leading whyte space or a comment before the XML
declaration, it becomes instead a processing instruction that happens to
use the reserved target "xml".

The spec does not explicitly forbid this."

That is the spec changed at this point, no? Or is clearly ambiguous? For
instance, what really the authors of the fourth edition (Aug 2006) mean by

"The PI begins with a target (PITarget) used to identify the application
to which the instruction is directed. The target names " XML  ", " xml  ",
and so on are reserved for standardization in this or future versions of
this specification."

Target names for what? They cannot be target names for PIs because
explicitely forbiden, just some rules above, no?


Juan R.

Center for CANONICAL |SCIENCE)





[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS