Re: Mysterious NoSuchMethodError: XMLSchemaLoader.loadGrammar(XMLInputSource)

2007-08-29 Thread Kilian Evang
That does the job. Thanks a lot! Kilian Evang Intern Mail: [EMAIL PROTECTED] IBM Deutschland Entwicklung GmbH Schoenaicher Str. 220 D-71032 Boeblingen Germany Dept. D3229 -- Room 06-119 IBM Deutschland Entwicklung GmbH Vorsitzender des Aufsichtsrats: Martin Jetter Geschäftsführung: Herb

Re: Mysterious NoSuchMethodError: XMLSchemaLoader.loadGrammar(XMLInputSource)

2007-08-28 Thread Michael Glavassevich
Hi Kilian, Most likely it's picking up a mix of classes from xercesImpl.jar and the version of Xerces in whatever JDK you're using which are incompatible with each other. If you're using JDK 1.4 or above you should be using the "Endorsed Standards Override Mechanism" [1][2]. If you merely put the

Mysterious NoSuchMethodError: XMLSchemaLoader.loadGrammar(XMLInputSource)

2007-08-28 Thread Kilian Evang
Hi everybody, I'm new to Xerces. Today I added xercesImpl.jar and the other jars to my Eclipse build path to validate an XML document against an XML schema in my application. But when I call newSchema() on a Schema instance, I get: Exception in thread "main" java.lang.NoSuchMethodError: org.ap