File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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(
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.


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)
It's not a secret anymore!