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:   I only get Errors :-/
Date:   2005-03-25 10:27:31
From:   Jonas123
Response to: I only get Errors :-/

Hi,


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


Maybe that is the problem. The missing class "org.apache.xerces.parsers.SAXParser" is inside xercesImpl.jar.


I use the document validation inside a plugin for a java program called "poseidon" (http://www.gentleware.com). The plugin is a .jar-file that is loaded by poseidon. The plugin jar-file uses some jar's from poseidon, they are inside poseidon program-directory/lib. I tried to copy xercesImpl.jar to poseidon lib-directory, I also tried to include it into my plugin jar-file - but that doesn't help. I am not sure if there is another classpath i have to use and where to find it (I use win XP and JRE 1.4.2).


Maybe you have an idea?


1 to 2 of 2
  1. I only get Errors :-/
    2006-11-21 05:10:08  srivas2 [View]

  2. I only get Errors :-/
    2005-03-25 10:38:35  Deepak Vohra | [View]

    • I only get Errors :-/
      2005-03-25 10:48:58  Deepak Vohra | [View]

      • Not able to get it to work :(
        2005-04-20 00:19:36  java_kid [View]

1 to 2 of 2