aspose file tools*
The moose likes Product and Other Certifications and the fly likes XML-22101: (Fatal Error) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » Product and Other Certifications
Bookmark "XML-22101: (Fatal Error)" Watch "XML-22101: (Fatal Error)" New topic

XML-22101: (Fatal Error)

L Goundalkar
Ranch Hand

Joined: Jul 05, 2001
Posts: 395

I used followed code to convert DOM to string ..

I used this in JRun and also in web logic. It worked fine. The library I used xerces.jar.

But the same code when i deployed into Oracle 10gAS is not working. I am getting the following error.

XML-22101: (Fatal Error) DOMSource node as this type not supported.
javax.xml.transform.TransformerException: XML-22101: (Fatal Error) DOMSource node as this type not supported.
at oracle.xml.jaxp.JXTransformer.reportException(
at oracle.xml.jaxp.JXTransformer.transform(
at com.sysarris.register.tree.TreeInitializer.dOMToString(Unknown Source)
at com.sysarris.register.tree.TreeInitializer.getTreeXMLAsString(Unknown Source)
at _trees._product._tree._jspService(
at com.orionserver.http.OrionHttpJspPage.service(
at oracle.jsp.runtimev2.JspPageTable.service(
at oracle.jsp.runtimev2.JspServlet.internalService(
at oracle.jsp.runtimev2.JspServlet.service(
at javax.servlet.http.HttpServlet.service(
at com.evermind.server.http.ServletRequestDispatcher.invoke(
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(
at com.evermind.server.http.HttpRequestHandler.processRequest(
at com.evermind.util.ReleasableResourcePooledExecutor$

In 10gAS xml parser is JAXP which is used by OC4j.jar. ( I assume ).

How to get this snippet of code working in Oracle 10gAS environment ?

Thanks for the time.


<b>L G Goundalkar</b><br /> <a href="" rel="nofollow"></a> <br />Sun Certified Programmer for Java 2 Platform.<br />Sun Certified Web Component Developer for J2EE.
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
I'm closing this thread as a duplicate for this.
Please do not cross-post and continue the discussion over at the thread in our XML forum. Thanks.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
I agree. Here's the link:
subject: XML-22101: (Fatal Error)
Similar Threads
Help regarding how to check the element entered is equal or not in xml file
Document to String
Getting length(no of bytes) of Dom document which is in memory
XML-22101: (Fatal Error)
how to generate a xml file on submit action with all the form data