jQuery in Action, 3rd edition
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
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(JXTransformer.java:739)
at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:200)
at com.sysarris.register.tree.TreeInitializer.dOMToString(Unknown Source)
at com.sysarris.register.tree.TreeInitializer.getTreeXMLAsString(Unknown Source)
at _trees._product._tree._jspService(_tree.java:250)
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:347)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:810)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:322)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:790)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:208)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:125)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
at java.lang.Thread.run(Thread.java:534)

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.


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]
Have you checked out Aspose?
subject: XML-22101: (Fatal Error)
It's not a secret anymore!