ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  XML Document Validation with an XML Schema
Subject:   Null Pointer exception while running
Date:   2005-12-17 14:23:44
From:   dvohra09
Response to: Null Pointer exception while running

1. Add xercesImpl.jar to Classpath.


2. System.setProperty("javax.xml.parsers.DocumentBuilderFactory",
"org.apache.xerces.jaxp.DocumentBuilderFactoryImpl");