This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
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


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..