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

--- juanrgonzaleza@canonicalscience.com wrote:

...
> Just some days ago some people at this list
> discussed contradictory points
> of view about PIs, and reserved names. This week
> some claim that
> 'xml-stylesheet' is reserved other claim just the
> contrary. What is your

If you truly want to find out, you need to read 2
specifications:

* XML specification itself
(http://www.w3.org/TR/REC-xml/)
* XML Namespaces spec
(http://www.w3.org/TR/REC-xml-names/) 

This will clear the issue for you.

For what it's worth, yes, all fully-qualified names
starting with (case-insensitive) prefix 'xml', are
indeed reserved (as per xml 1.0 specification).
Reserved does not mean illegal (as in fatal error,
non-wellformed), just that the meaning of such names
may change with later xml(-related) specifications.
Using local names that start with the same, but have
also a namespace prefix, is discouraged (since they
would become reserved if no namespace prefix was used
-- see Namespaces in XML spec).
Reserved does not lead to a fatal error (Namespaces
spec).

Separate from above, processing instruction target can
not be 'xml' (case insensitive) -- that is a
well-formedness error (fatal, from xml 1.0).

And thus, 'xml-stylesheet' name is reserved and its
semantics defined by an xml specification that was
finalized after xml 1.0 spec itself.

-+ Tatu +-



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


[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