File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes Why its happening like this.. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Why its happening like this.." Watch "Why its happening like this.." New topic
Author

Why its happening like this..

arun sharma
Greenhorn

Joined: Jul 02, 2003
Posts: 19
Hi;
I am having a XML file with Schema defined ..
But while parsing in java it is throwing following message..
[Error] Test.xml:2:9: Document is invalid: no grammar found.
[Error] Test.xml:2:9: Document root element "library", must match DOCTYPE root "null".
Can u tell why it is like this
thanks
arun
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
Can you post the snippet of your java code.
This may also happen if you turn validation to ON.


Spritle Software Blogs
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Why its happening like this..