Hi Antoine and Nick, To do that you just have to download the Xerces2 distribution from the Apache web site (xml.apache.org) or use their CVS server. Once you have the Xerces2 jar, you just have to put it in the classpath.
In castor, the properties file lets you choose your SAX Parser implementation: # Defines the default XML parser to be used by castor # The parser must implement org.xml.sax.Parser # org.exolab.castor.parser=org.apache.xerces.parsers.SAXParser Hope that helps, Arnaud PS: With the Beta4 of Xerces, you'll need 2 jars: xercesimpl.jar and xmlparsersAPI.jar -> -----Original Message----- -> From: VOIRY,ANTOINE (HP-France,ex2) [mailto:[EMAIL PROTECTED]] -> Sent: Friday, January 11, 2002 11:07 AM -> To: [EMAIL PROTECTED] -> Subject: Re: [castor-dev] Castor performance -> -> Hi Arnaud, -> -> how can I do this change. Url of download ? Config files ? Code Changes ? -> There is also something funny, I did not receive your message directly. -> -> -> Antoine -> -> -----Original Message----- -> From: Arnaud Blandin [mailto:[EMAIL PROTECTED]] -> Sent: Friday, January 11, 2002 10:48 AM -> To: [EMAIL PROTECTED] -> Subject: Re: [castor-dev] Castor performance -> -> -> Hi Antoine, -> -> The best way to improve performance in Castor is to change your -> parser...a lot of resources in Castor is being consumed by Xerces1. -> I suggest you to move to Xerces2 that is way faster than Xerces1. -> Also always use the SourceGenerator with the marshalling framework for -> better result. -> -> Arnaud -> -> -> -----Original Message----- -> -> From: VOIRY,ANTOINE (HP-France,ex2) [mailto:[EMAIL PROTECTED]] -> -> Sent: Friday, January 11, 2002 9:54 AM -> -> To: [EMAIL PROTECTED] -> -> Subject: [castor-dev] Castor performance -> -> -> -> Hi all, -> -> I would like to know how to improve the performance of castor for the -> -> marshalling and unmarshalling part. We are using classes generated by -> castor -> -> on the java side. -> -> Bye, -> -> Antoine -> -> -> -> ----------------------------------------------------------- -> -> If you wish to unsubscribe from this mailing, send mail to -> -> [EMAIL PROTECTED] with a subject of: -> -> unsubscribe castor-dev -> -> ----------------------------------------------------------- -> If you wish to unsubscribe from this mailing, send mail to -> [EMAIL PROTECTED] with a subject of: -> unsubscribe castor-dev -> -> ----------------------------------------------------------- -> If you wish to unsubscribe from this mailing, send mail to -> [EMAIL PROTECTED] with a subject of: -> unsubscribe castor-dev -> -> ----------------------------------------------------------- -> If you wish to unsubscribe from this mailing, send mail to -> [EMAIL PROTECTED] with a subject of: -> unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
