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

Re: another ownerDocument property question

From: Philippe Le Hegaret <plh@w3.org>
Date: Wed, 05 Jul 2000 07:29:06 -0400
Message-ID: <39631C02.322AB9D9@w3.org>
To: "K. Ari Krupnikov" <ari@iln.net>
CC: www-dom@w3.org
"K. Ari Krupnikov" wrote:
> Now what about DocumentType?
> interface DocumentType : Node
> It apperars that several Documents may share a DocumentType. What then
> should be that DocumentType's ownerDocument?

The DocumentType can't be shared between documents. In DOM Level 2, the
DocumentType interface also contains the internal subset. When a DocumentType
is not used with any document yet, ownerDocument is null.

Received on Wednesday, 5 July 2000 07:29:07 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:07 UTC