XML Document Validation with an XML Schema
Subject:   Exceptions when run
Date:   2005-12-17 03:17:52
From:   NehaK

Your code is very helpful.
But while running this code i am getting the below mentioned error. I have set the 2 jars in classpath also. and i have installed jdk 1.5 version for this.

Please suggest what could be the issue.

Exception in thread "main" javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl could not be instantiated: java.lang.NullPointerException
at javax.xml.parsers.DocumentBuilderFactory.newInstance(
at JAXPValidator.validateSchema(
at JAXPValidator.main(