W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2007

[Bug 5002] Wrong use of the term "root node" in the XDM spec

From: <bugzilla@wiggum.w3.org>
Date: Sun, 09 Sep 2007 14:16:01 +0000
To: public-qt-comments@w3.org
Message-Id: <E1IUNZx-0007NP-Fi@wiggum.w3.org>


mukul_gandhi@yahoo.com changed:

           What    |Removed                     |Added
                 CC|                            |mukul_gandhi@yahoo.com

------- Comment #2 from mukul_gandhi@yahoo.com  2007-09-09 14:16 -------
Hi Mike,
  Thanks for your response. Please find below my further comments on this

The XDM spec states (in section, 2.1 Terminology):
1) Every node is one of the seven kinds of nodes defined in 6 Nodes. Nodes form
a tree that consists of a root node plus all the nodes that are reachable
directly or indirectly from the root node via the dm:children, dm:attributes,
and dm:namespace-nodes accessors.
2) A tree whose root node is a Document Node is referred to as a document.
3) A tree whose root node is not a Document Node is referred to as a fragment.

I think the "root node" concept in XDM is fine, and this terminology can
coexist with 7 kinds of nodes possible in XDM (which are presently defined).

But I suggest adding following definitions to the section, 2.1 Terminology.  
A tree is a logical structure which is constructed from the nodes, which
represent a document or a fragment.
The root node of the tree, is it's top most node, which could be a document
node, or it can be the root node of a fragment.

This will define the concept of root node unambiguously.

Received on Sunday, 9 September 2007 14:16:06 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:20 UTC