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
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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