Bug 28317

Summary: NPE in importNamespaces (fix attached)
Product: Xindice Reporter: Dominic Battre <dominic.battre>
Component: DB EngineAssignee: Xindice Developers <xindice-dev>
Status: CLOSED FIXED    
Severity: normal    
Priority: P3    
Version: cvs head (1.1)   
Target Milestone: ---   
Hardware: Other   
OS: other   
Attachments: Fixes bug described above - and certainly doesn't break anything that was ok before

Description Dominic Battre 2004-04-09 18:19:34 UTC
Importing a node to a DOMDocument with importNode(node, true) raises an
exception if the node has not belonged to another DOMTree before. (i.e. you
import it right after node =
otherDomDocument.createElementNS("http://localhost","foobar"))
Comment 1 Dominic Battre 2004-04-09 18:20:51 UTC
Created attachment 11201 [details]
Fixes bug described above - and certainly doesn't break anything that was ok before
Comment 2 Dominic Battre 2004-04-09 19:37:06 UTC
wrong version tag (now CVS)
Comment 3 Vadim Gritsenko 2004-04-26 19:20:45 UTC
Assign to list
Comment 4 Vadim Gritsenko 2004-05-20 12:35:38 UTC
patch applied, thanks.