[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Element equivalence under XML Namespaces

  • From: richard@i... (Richard Tobin)
  • To: xml-dev@l...
  • Date: Thu, 17 Jan 2008 16:39:27 +0000 (GMT)

Re:  Element equivalence under XML Namespaces
In article <017201c85925$95d70d60$6501a8c0@turtle> you write:
>The XML specification does not actually say what processors should do when
>they encounter a name that is "reserved for standardization", but the
>consensus is that it is not an error to use such a name and therefore they
>should at most give a warning.

The Namespaces spec is a bit more explicit about this.  For prefixes
beginning "xml" is says:

   * users SHOULD NOT use them except as defined by later specifications
   * processors MUST NOT treat them as fatal errors.

There's always the risk that a processor might ignore something that a
newer specification has declared that it should interpret, but the
idea is to ensure that low-level components don't reject documents
because they contain new features that a higher-level component will
be able to interpret.

An XML 1.0 processor that rejected xmlns attributes because they were
reserved would not have been usable with a namespace processing layer,
and a namespace-aware processor that rejected xml:id attributes would
not have been usable with an xml:id layer.

-- Richard

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


Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
First Name
Last Name
Subscribe in XML format
RSS 2.0
Atom 0.3

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.

Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.