The
solution is to include a copy of xerces in your classpath. I included both
xercesImpl.jar and xml-apis.jar in my classpath; although perhaps xercesImpl.jar
is sufficient. AFAIK you can take any recent Xerces release.
With
regards,
--Tim
van der Leeuw
-----Original Message-----
From: Horan, Richard E [mailto:[EMAIL PROTECTED]
Sent: dinsdag 19 augustus 2003 15:34
To: 'Leeuw van der, Tim'
Subject: RE: [castor-dev] java 1.4 and castor XMLits at runtime. Castor is trying to access old xerces methods that don't exist in the jdk 1.4, which is what you describe in your email below.-----Original Message-----
From: Leeuw van der, Tim [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 8:04 AM
To: 'Horan, Richard E'
Cc: CastorDevList (E-mail)
Subject: RE: [castor-dev] java 1.4 and castor XMLWhat is the problem that they (your developers) have? Can you be a bit more specific, perhaps?What stuff doesn't build? Castor libraries themselves? I use the precompiled versions.The problems I had are runtime, not with building anything.I read in another thread some time ago that there's a problem with castor and xerces2; something is needed there (search for e-mail on the list from Klas Kalass, regarding source-generator patches). But that was a runtime problem I believe and Xerces2 isn't part of jdk1.4.Regards,--Tim-----Original Message-----
From: Horan, Richard E [mailto:[EMAIL PROTECTED]
Sent: dinsdag 19 augustus 2003 13:54
To: '[EMAIL PROTECTED]'
Subject: RE: [castor-dev] java 1.4 and castor XMLHi,Thanx for the info. My developers are saying there is a problem, that our stuff will not build with jdk 1.4 and castor. I am just trying to find out what is known out there.I don't exactly have a lot of spare time so I haven't really looked at the problem. I was trying not to. If you can remember what the problem you had was that would be great.Thank you again.Rick Horan-----Original Message-----
From: Leeuw van der, Tim [mailto:[EMAIL PROTECTED]
Sent: Tuesday, August 19, 2003 7:40 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] java 1.4 and castor XMLHi,I'm not experiencing any problems. There's one thing that didn't work for me, that is perhaps attributable to me using jdk1.4, but I forgot what it was exactly...It had to do with me trying to marshall not to output-stream, but to dom-document or something like that... Can't remember the details; I'll have to do some research what exactly I tried to do and what problem exactly it gave.(But it was something about SAX1 vs. SAX2 and the compatibility layers, and jdk1.4 comes with SAX2 parsers included -- hence my statement that it could be attibutable to using jdk1.4)regards,--Tim-----Original Message-----
From: Horan, Richard E [mailto:[EMAIL PROTECTED]
Sent: maandag 18 augustus 2003 16:50
To: [EMAIL PROTECTED]
Subject: [castor-dev] java 1.4 and castor XMLDoes castor XML support work properly in java 1.4? If there is documentation on this please send in the reply.Thank you.
