Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

using DOM , check Schema

 
srinivasa varadhan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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,
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic