
Hi Eliot, No problem. We used with success an easy technique for getting the location of a loaded class, using the classloader support for getting a resource as an URL and trying to load the class file. A quick google for "getting java class location" gives an atricle that explains this technique: http://www.javaworld.com/javaworld/javaqa/2003-07/01-qa-0711-classsrc.html Hope that helps, George --------------------------------------------------------------------- George Cristian Bina - http://aboutxml.blogspot.com/ <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com Eliot Kimber wrote:
George Cristian Bina wrote:
Hi Eliot,
I cannot reproduce the problem you have with Xerces 2.9.1. Neither from within oXygen nor from outside oXygen, running some of the Xerces samples from command line against the schema you provided and against dcterms.xsd.
It may be possible that you are using an old version of Xerces and not the latest 2.9.1?
OK, looks like I was wasting your time--we have determined that the latest Xerces does process the schema correctly but that our server code does not so the problem must be in our code be we're having a hard time figuring out exactly what the problem is--must be a class loader problem. This is in the context of a Web app served by Tomcat so it's hard to debug the issue.
Thanks for confirming that the code *should* work.
Cheers,
Eliot