Re: Validate XML by XSD failes with jDOM and Xerces 2.10.0
Ronny <[email protected]>
| Newsgroups | gmane.text.xml.xerces-j.user |
|---|---|
| Message-ID | <13ddec0e109.278a.9b5ac8ddb5b3f9ec0f7d1a9ec613a0ef@bigfunfitness.de> |
Sorry. Of course I configured jdom to use the external xerces. Without putting the xerces jar into the class path I get errors. Vom Handy gesendet. Am 6. April 2013 10:48:55 schrieb Mukul Gandhi <[email protected]>: > On Sat, Apr 6, 2013 at 1:13 PM, Ronny <[email protected]> wrote: > > > JDOM is looking for a xerces class in the class path. > > That is fine and then you should provide a Xerces jar within your > classpath, which you seem to have already done. > > > Therefore I downloaded > > the latest xerces and put it in the JAVA_HOME/lib/ext folder. > > I'm really not sure, if substituting a latest Xerces jar within your > JDOM runtime classpath, may be sufficient to make available > functionality of this Xerces jar to your JDOM runtime. Your JDOM > runtime may be using Xerces in some other way. > > > So it seems > > JDOM is using the right xerces implementation. But the error still occurs. > > As I wrote earlier, simply placing a new Xerces jar within your JDOM > classpath may not be a sufficient condition to make available > functionality of this Xerces jar to your JDOM application. > > Therefore, my guess currently wrt this issue are, > 1) Either JDOM doesn't support using new Xerces jars, in this way. > 2) Or you may need to do a JDOM specific configuration, to be able to > use new Xerces jars > > You may have to ask support for this query, to JDOM forum or if > someone here can provide a better explanation perhaps. > > > Sorry if this is not helpful. > > > -- > Regards, > Mukul Gandhi > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] >