W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2000

another ownerDocument property question

From: K. Ari Krupnikov <ari@iln.net>
Date: Tue, 04 Jul 2000 23:49:58 -0400
Message-ID: <3962B066.9E7A7CE3@iln.net>
To: www-dom@w3.org
Johnny Stenback wrote:
> 
> "K. Ari Krupnikov" wrote:
> >
> > Can someone shed some light on the ownerDocument of nodes created by a
> > DocumentFragment?
> >
> According to the DOM Level 1 spec and the current DOM Level 2 CR, the
> DocumentFragment does *not* inherit Document, it simply inherits Node.
> IOW there are no createXXX methods on document fragments.

Thanks.
Now what about DocumentType?

interface DocumentType : Node 

It apperars that several Documents may share a DocumentType. What then
should be that DocumentType's ownerDocument?

-- 
K. Ari Krupnikov

DBDOM - bridging XML and relational databases
http://www.iter.co.il
Received on Tuesday, 4 July 2000 23:40:20 GMT

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