XML Document Validation with an XML Schema
Subject:   Null Pointer exception while running
Date:   2005-12-17 03:21:25
From:   NehaK

While running this code i am getting the below mentionrd error. I am using the JAXP Parser. I have set the 2 jars in the classpath also. and i am using jdk1.5 version.

Kindly 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(

1 to 1 of 1
  1. Null Pointer exception while running
    2005-12-17 14:23:44  Deepak Vohra | [View]

1 to 1 of 1