This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Java in General and the fly likes using DOM , check Schema Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "using DOM , check Schema " Watch "using DOM , check Schema " New topic
Author

using DOM , check Schema

srinivasa varadhan
Greenhorn

Joined: Oct 03, 2003
Posts: 23
hi
I want to know how to check the schema file, while passing xml file, it should check the schema file associated with that xml file
DocumentBuilderFactory factory= DocumentBuilderFactory.newInstance();
factory.setValidating(true);
factory.setNamespaceAware(true);
it is showing the error,


Srini...
Torch your Thoughts....
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: using DOM , check Schema
 
Similar Threads
how xml file is checked against dtd at run time
XMLSchema and DTD
Different about DTD and XML Schema
free plugin for XML, XSD,...
validation