XML Document Validation with an XML Schema
Subject:   I only get Errors :-/
Date:   2005-03-25 04:47:37
From:   Jonas123

both examples doesn't work with Xerces 2.6.2 - maybe someone can help me?

I get this errors:
java.lang.NoClassDefFoundError: org/apache/xerces/parsers/AbstractSAXParser

javax.xml.parsers.FactoryConfigurationError: Provider org.apache.xerces.jaxp.DocumentBuilderFactoryImpl not found


Main Topics Newest First

Showing messages 1 through 2 of 2.

  • I only get Errors :-/
    2005-03-25 06:17:36  Deepak Vohra | [View]

    Tested the program with the Xerces 2.6.2. The xml document gets validated with the schema.

    Have you added xerces-2_6_2/xercesImpl.jar and xml-apis.jar the Classpath?

  • I only get Errors :-/
    2005-03-25 06:30:09  Deepak Vohra | [View]

    To validate with the Xerces 2.6.2 parser compile the program.

    To validate with the JAXP parser compile the program.

    Add the jar files specified in the Preliminary Setup section to the Classpath.