W3C home > Mailing lists > Public > www-dom@w3.org > April to June 1998

[www-dom] <none>

From: Claude Zervas <claude@utlco.com>
Date: Sun, 31 May 1998 23:59:38 -0700
Message-Id: <3.0.3.32.19980531235938.00935db0@mail.blarg.net>
To: www-dom@w3.org
Hello,

I haven't seen a reply to Kent's questions about DocumentType
and NodeType.  I'm confused about these same issues as well.

Also, I'm assuming (perhaps incorrectly) that Attribute extends
Node. If that is so, can't AttributeList extend NodeList/Collection?

If Attribute does *not* extend Node then what is the meaning of
Element.getAttributes() (which returns a NodeIterator) ?
Should it return an AttributeList instead ?

Any idea when the next working draft is due?

Thanks,
Claude Zervas, UTL Co, Seattle

------------------------------------------------------------------
Kent Tamura wrote:

Document.documentType is Node.  But DocumentType doesn't inherit
Node.

If DocumentType is Node, what does an Iterator returned by
DocumentType.getChildNodes() consist of? An internal subset or
an external subset?

DocumentType has no methods to get NodeIterator of an internal
subset / an external subset / entities / notations / element
definitions.

What node does the getNextSibling() method of child nodes in
DocumentType return?

-- 
TAMURA Kent @ Tokyo Research Laboratory, IBM Japan
Received on Monday, 1 June 1998 02:52:50 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:45 GMT