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

[DOMCore] overconstained DocumentType.ownerDocument

From: David Flanagan <dflanagan@mozilla.com>
Date: Thu, 02 Jun 2011 14:05:30 -0700
Message-ID: <4DE7FB1A.2080604@mozilla.com>
To: www-dom@w3.org
In 5.5.1, the algorithms for createDocument() and createHTMLDocument() 
both say to set the ownerDocument property of the DocumentType object 
and then to append that node to the new document.

But in 5.3, step 3 of the appendChild() algorithm will raise an 
exception if the ownerDocument has already been set.

     David
Received on Thursday, 2 June 2011 21:05:58 GMT

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