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
Author

XML-22101: (Fatal Error)

L Goundalkar
Ranch Hand

Joined: Jul 05, 2001
Posts: 395
Hi,

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.

Regards,


<b>L G Goundalkar</b><br /> <a href="mailto:lggoundalkar@yahoo.com" rel="nofollow">lggoundalkar@yahoo.com</a> <br />Sun Certified Programmer for Java 2 Platform.<br />Sun Certified Web Component Developer for J2EE.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
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: http://aspose.com/file-tools
 
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