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

Re: Re: determining ID-ness in XML

  • From: Elliotte Rusty Harold <elharo@m...>
  • To: xml-dev@l...
  • Date: Wed, 31 Oct 2001 13:15:31 -0400

Re:  Re: determining ID-ness in XML
At 2:54 PM +0000 10/31/01, Rob Lugt wrote:

>So, adding a new xmlid attribute has downsides either way:- you either need
>to update your DTDs or you need to update your xml processors.  This is true
>even for those people and applications that have no interest in being able
>to address ID-less elements.

Any time you add a new attribute, you have to update your DTDs. This is true of xml:id, xml:base, xml:space, and xml:lang. Nothing in this discussion changes that. Nothing is special about xml:id. 

However, we are not saying that every application has to use xml:id. Certainly not every application uses xml:space or xml:lang today, much less xml:base. If the XHTML folks don't want xml:id in their XHTML documents, they don't have to use it. They don't change their DTDs. In fact, they really don't need to change them because conformant XHTML documents already have a DTD, and do have ID type attributes.

Remember, the reason we're having this discussion is because not all XML documents have DTDs. It is precisely those without DTDs where xml:id is needed, and these applications can start using xml:id  immediately because they don't have a DTD to change! or even if they do, they don't require validity. 


| Elliotte Rusty Harold | elharo@m... | Writer/Programmer |
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      | 
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |


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.