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

Re: Re: determining ID-ness in XML

  • From: Bob Hutchison <hutch@x...>
  • To: xml-dev@l...
  • Date: Tue, 30 Oct 2001 08:23:25 -0500

idatt
On 01/10/30 7:18 AM, "Don Park" <donpark@d...> wrote:

>> An alternative would be to have an attribute that declares the
>> name of the attribute that is an ID attribute, say xml:idatt.
> 
> Aye.  One more vote for xml:idatt.  I prefer its value to be a list of zero
> or more XML names.  Nested xml:idatt should override inherited list
> completely.
> 
> One serious problem is the namespace issue which is further complicated when
> dealing with a list of attribute names belonging to multiple namespaces.

I agree that xml:idatt is the best idea so far. However, I would prefer this
to be defined on a namespace basis. Something like ns:xml:idatt -- just like
regular attributes (an xml:idatt would apply to the unspecified namespace
namespace or whatever it is called and is would be equivalent to the
original proposal I think).

If this was the rule, then any attribute named would necessarily be in the
same (attribute) namespace. Adding/removing of attributes becomes localised
to a namespace, nobody has to know about anything other than their own
namespace. I'm a little concerned with the list manipulation requirements
being place on tools that generate XML -- the contents of an xml:idatt seems
to be seriously dependent on the document in question, the tools (and
humans) will have to consider attributes designated by other namespaces.

(Obviously I think the idatts in practice will be associated with
namespaces). 

> 
> Don Park


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.