Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within XML
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
XML and Related Technologies
ClassCastException
siva kumar
Ranch Hand
Posts: 86
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
java.lang.ClassCastException:
org.apache.xerces.dom.DeferredDocumentImpl
Here's the code I use to cast a document object to XmlDocument:
DocumentBuilder builder = factory.newDocumentBuilder();
document = builder.parse( new File(argv[0]) );
XmlDocument xdoc = (XmlDocument) document;
xdoc.write (System.out);
Any idea suggestion would be much appreciated!!
Madhav Lakkapragada
Ranch Hand
Posts: 5040
posted 19 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Where is the XmlDocument defined ?
Seems like a
Java
101 question to me........... :roll:
- m
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
creating a DOM document from an XML file.
Axis Fault
DOM Parser
Are JSPs Thread Safe ?
need help urgently
More...