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

RE: questions re WD-xml-infoset-20001220

  • From: Mike.Champion@S...
  • To: xml-dev@l...
  • Date: Tue, 02 Jan 2001 00:23:53 -0500

RE: questions re WD-xml-infoset-20001220
Title: RE: questions re WD-xml-infoset-20001220


> -----Original Message-----
> From: james anderson [mailto:james.anderson@a...]
> Sent: Monday, January 01, 2001 7:29 PM
> To: www-xml-infoset-comments@w...; xml-dev@l...
> Subject: questions re WD-xml-infoset-20001220
>
>
> 1. why don't attributes have a parent?

I presume the InfoSet did this to be consistent with the DOM.  It is a rather subtle
semantic (or perhaps pedantic) point, I guess, but the children
of a DOM Element are any sub-elements. Attributes are not children
of an Element ... so the element should not be the parent of the attributes.
[How could I have a parent, if I am not a child of that parent? Ponder that ...]
The DOM uses the ownerElement property to identify the element that
contains a specific attribute. 

The discussion for all this will be in the W3C member-confidential archives of the DOM
Interest Group ... If you are affiliated with the W3C, see the thread starting at
http://lists.w3.org/Archives/Member/w3c-dom-ig/1998Jun/0017.html

In the public mailing lists, I find a discussion (explaining the decision) starting at
http://lists.w3.org/Archives/Public/www-dom/1999OctDec/0086.html

Also, we had a discussion of this on xml-dev a year or so ago:
http://lists.xml.org/archives/xml-dev/200001/msg00877.html

Interestingly, the XPath/XSLT data model does not make this semantic/pedantic
distinction, so is one of the little inconsistencies in the W3C worldview that the
InfoSet people have the unenviable job of trying to sort out.


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.