[DOMCore] overconstained DocumentType.ownerDocument

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 UTC