(Sorry by my english)

My Castor and Xerces jar files are most recents.

I am try marshall a class with hashtable.

I has configured my Xerces lib with Castor. In the "Path" to Xerces, i has put the 
following paths:

.../xerces-2_0_0/xercesImpl.jar
.../xerces-2_0_0/XMLParserAPI.jar


Well, when I run my application, in marshaller.marshall( object ) a
ArrayIndexOutOfBoundException occurs in the popContext method,
inside the xerces class.

But .. if a change the paths.. only inverting this , like:
.../xerces-2_0_0/XMLParserAPI.jar
.../xerces-2_0_0/xercesImpl.jar


... the error stop and the marshall occurs fine...

So, i have found the xerces.jar in tools directory and change the paths to

.../xerces-2_0_0/tools/xerces.jar

And my applications has compiled fine and the marshall occurs fine.

I has think that the error occurs when xercesImpl.jar is the first
class of the three in classpath. And this generate the error.

I know that here is not the better place to ask, but:
Who is xercesImpl.jar ?
Who is XMLParserAPI.jar ?
Who is tools/xerces.jar ?

And why xercesImpl.jar causes this error in Castor Marshall process ??

Thanks a lot.

Romilson C. Carvalho

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to