org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. javax.xml.transform.TransformerException: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.

Oracle Community | 843830 | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    how to use the XSLT SE in  a composite application

    Oracle Community | 10 years ago | 843830
    org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted. javax.xml.transform.TransformerException: org.w3c.dom.DOMException: HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.

    Root Cause Analysis

    1. org.w3c.dom.DOMException

      HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.

      at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore()
    2. Java RT
      ToXMLSAXHandler.characters
      1. com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(CoreDocumentImpl.java:419)
      2. com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(NodeImpl.java:275)
      3. com.sun.org.apache.xalan.internal.xsltc.trax.SAX2DOM.startElement(SAX2DOM.java:141)
      4. com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.closeStartTag(ToXMLSAXHandler.java:205)
      5. com.sun.org.apache.xml.internal.serializer.ToXMLSAXHandler.characters(ToXMLSAXHandler.java:524)
      5 frames