This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DocumentImpl Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DocumentImpl" Watch "java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DocumentImpl" New topic
Author

java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DocumentImpl

Jigar Naik
Ranch Hand

Joined: Dec 12, 2006
Posts: 761
Hi I am getting following exception while appending child node to the element.

The exception comes only in JRE 1.5 i have tested the code and with JRE 6 Its working fine.

Bellow is the stacktrace





has anybody got the same issue like this before. It seems like there is some issue with JRE 1.5 because the code program works fine with JRE 6

And if its an issue with JRE how can i fix it ?

I have search for the Class com.sun.org.apache.xerces.internal.dom.DocumentImpl And i have figured out that its in



Jigar Naik


 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.dom.DocumentImpl
 
It's not a secret anymore!