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

Re: Re: determining ID-ness in XML

  • From: Rob Lugt <roblugt@e...>
  • To: John Cowan <jcowan@r...>, xml-dev@l...
  • Date: Wed, 31 Oct 2001 14:54:05 +0000

xmlid attribute
John Cowan wrote:
>
> > But having an implicit declaration would create two classes of Validity.
> > Existing (non xmlid-conformant parsers) would declare the document
invalid
> > whereas updated applications would declare it valid.
>
>
> Validity has been redefined before.  For example, it used to be valid
> to have two different attributes of type NOTATION on a single element,
> but this is now invalid in the name of SGML compatibility.  (It was
> always *meant* to be invalid, but formal invalidity entered by way of
> an erratum.)

True.  Another example was making duplicate enumeration values within the
same attribute invalid [1].  But all of these examples relate to practices
that were unlikely to occur in real life ~ therefore the impact was
negligible.

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.

One advantage of the PI solution is that it has no impact on validity, and
is therefore opaque to existing applications and DTDs.

Regards
~Rob

[1] Errata E2 described in http://www.w3.org/XML/xml-V10-2e-errata



PURCHASE STYLUS STUDIO ONLINE TODAY!

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.
Email
First Name
Last Name
Company
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.