W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2000

Re: style sheets

From: Dieter Köhler <dieter.koehler@ppp.uni-bamberg.de>
Date: Wed, 22 Mar 2000 19:39:15 +0100
Message-ID: <38D91353.A8FC652A@ppp.uni-bamberg.de>
To: "www-dom@w3.org" <www-dom@w3.org>
One addition to my last posting:  The current spec provides no
information, how to add a DocumentType node created by the
DOMImplementation to a Document node: The ownerDocument attribute of a
new DocumentType has the value 'null'.  The methods for adding nodes
to a node raise a "WRONG_DOCUMENT_ERR" if the node to be added "was
created from a different document than the one that created this
node".  So what should be done if one tries to add a node not created
by any document at all?  Raise a "WRONG_DOCUMENT_ERR"?  --  The
ownerDocument definition on p. 43 seems to presuppose, that the node
should be added and change its ownerDocument attribute.  If that is
right, then it would be good to mention it in the definitions of the
methods it affects.

-- 
=====================================================================
 Dieter Koehler, M. A. - dieter.koehler@ppp.uni-bamberg.de
 Mittlere Kaulberg 22, D-96049 Bamberg, +49(0)951-5190726
 "http://www.philo.de/Philosophie-Seiten/": 1000+ Philosophie-Links
 "http://www.philo.de/VirtualLibrary/14.de.htm": Deutsche Philo-Links
 "http://www.philo.de/xml/": Open XML - XML-Komponenten fuer Delphi
=====================================================================
Received on Wednesday, 22 March 2000 13:41:26 GMT

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