title: how to using DOM importNode without DOMException
body: <p>I want to copy an node to a different Documentg, but it always has DOMException about </p>
  
  <p>org.apache.harmony.xml.dom.NodeImpl.setNameNS(NodeImpl.java:227)</p>
  
  <p>here is my code</p>
  
  <pre><code>private String getString(Node seqNode) {
      try {           
          DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
          DocumentBuilder docBuilder = factory.newDocumentBuilder();          
          Document doc = docBuilder.newDocument();
  
          Element root = doc.createElement("Test");
          doc.appendChild(root);
  
          /* following line will cause DOMException */
          doc.importNode(seqNode, true);
          ...
          ...
         } catch (Exception e) {
  
         }
  }
  </code></pre>
  
  <p>where seqNode belongs to other Document</p>
  
  <p>does any body has idea about this issue? :-)</p>