Author: boisvert
Date: Thu Aug 24 15:05:10 2006
New Revision: 434538

URL: http://svn.apache.org/viewvc?rev=434538&view=rev
Log:
Need to import node in different document to avoid Xerces going AWOL on the 
callstack

Modified:
    
incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/JbiEndpointReference.java

Modified: 
incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/JbiEndpointReference.java
URL: 
http://svn.apache.org/viewvc/incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/JbiEndpointReference.java?rev=434538&r1=434537&r2=434538&view=diff
==============================================================================
--- 
incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/JbiEndpointReference.java
 (original)
+++ 
incubator/ode/trunk/jbi/src/main/java/org/apache/ode/jbi/JbiEndpointReference.java
 Thu Aug 24 15:05:10 2006
@@ -50,7 +50,7 @@
     
     Document doc = DOMUtils.newDocument();
     Element root = 
doc.createElementNS(SERVICE_REF_QNAME.getNamespaceURI(),SERVICE_REF_QNAME.getLocalPart());
-    root.appendChild(fragment);
+    root.appendChild(doc.importNode(fragment,true));
     doc.appendChild(root);
     return doc;
   }


Reply via email to