No, there should not be a problem in using a newer version of Xerces
with Castor than 1.4.0. Actually, with some recent patches committed to
SVN trunk, I have completely removed the dependency to require Xerces at
all (unless when you are using pretty printing with marshalling), as we
switched to use the XML APIs (JAXP, ....).
Having said that, it looks like there's an issue with some code
introduced between 0.9.7 and 1.1, and I'd like to learn it. Have you got
some code that I can use to replay your problem, and test things against
SVN trunk ?
Regards
Werner
Jochen Stiepel wrote:
Hi All,
our problem is that since we switched from Castor version 0.9.7 to
the version 1.1 the unmarshalling process takes a lot more time.
A XML file of 5 KB takes about 1100 millisec. and before with version
0.9.7 it was a lot faster.
Our application is using JDK 1.4 with a Bea Weblogic 8.1 Server.
In both configurations (Castor 0.9.7 and 1.1) we are using Xerces in
version 2.2. In the "Xerces_Version" it is stated that Castor need
Xerces version 1.4.
We where able to drill down the problem to the parse() method in the
Castor Unmarshaller class. So it seams that is it not Castor but the
Xerces parser.
Could it be a problem to use Castor with Xerces Version 2.2. ?
If you have any idea's what could be the problem please let me know.
Thanks a lot for any comments,
Kind Regards,
Jochen
From "Xerces_Version" :
---------------------------------------------------------------------
The Xerces version in the lib directory of the Castor CVS is
the version 1.4.0 official release.
This version of Xerces is required to use Castor properly.
You can't use a former version of Xerces, it will affect the behaviour
of the serializer and some parsing problems.
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email