We've expanded our news coverage and improved our search! Visit news.oreilly.com for the latest or search for all things across O'Reilly!
advertisement

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");