Hi first step remove link to deprecated xerces class: import org.apache.xerces.utils.regex.RegularExpression; import org.apache.xerces.utils.regex.ParseException;
in org.exolab.castor.util.XercesRegExpEvaluator xerces remove this package (org.apache.xerces.utils.regex) and used standard jakarta-regexp.jar Without this changes of code castor not compiled with xerces 2.x Serg --- Arnaud Blandin <[EMAIL PROTECTED]> wrote: > Hi Serg, > > Shipping Castor with Xerces 2.0 is definitely on the > to-do list. However > it is not the highest priority right now. However > you can configure > Xerces using the properties file. > Feel to share your experience in switching to Xerces > 2 with the mailing > list and even better send the required changes that > may be necessary to > use Xerces 2. > > Thanks, > > Arnaud > > > -----Original Message----- > > From: Sergej Maslyukov > [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, October 01, 2002 11:36 AM > > To: [EMAIL PROTECTED] > > Subject: [castor-dev] Xerces 1.4.x one year > old!!!! > > > > Hi! > > > > Last release of xerces 1.4.x is one year old! > > http://xml.apache.org/dist/xerces-j/ > > > > When you planning switch to xerces 2.2.0 (released > > 26.09.2002)? > > > > In my project I use Xalan 2.x, which based on > xerces > > 2.x and i get some error. > > > > > > for example: > > 0 INFO mill.startup.StartupServlet - > Application > > path: C:\opt2\www\_toner.irk.ru\data\ > > 0 INFO mill.startup.StartupServlet - class > > org.bouncycastle.jce.provider.BouncyCastleProvider > > present > > 0 INFO mill.startup.StartupServlet - class > > com.oreilly.servlet.multipart.FilePart present > > 0 INFO mill.startup.StartupServlet - class > > org.apache.log4j.Category present > > 50 INFO mill.startup.StartupServlet - class > > org.exolab.castor.mapping.Mapping present > > 16530 DEBUG mill.member.MemberMapping - Create > > Mapping instance from file > > > c:\opt2\www\_toner.irk.ru\data\WEB-INF\mill\castor_mapping.xml > > 16530 DEBUG mill.member.MemberMapping - Previos > > instance not found. Create new instance, file - > > > c:\opt2\www\_toner.irk.ru\data\WEB-INF\mill\castor_mapping.xml > > 16810 FATAL mill.member.MemberMapping - Error get > > instance of org.exolab.castor.mapping.Mapping > > java.net.MalformedURLException: unknown protocol: > c > > at java.net.URL.<init>(URL.java:586) > > at java.net.URL.<init>(URL.java:476) > > at java.net.URL.<init>(URL.java:425) > > at > > > org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown > > Source) > > at > > > org.apache.xerces.impl.XMLEntityManager.startDocumentEntity(Unknown > > Source) > > at > > > org.apache.xerces.impl.XMLDocumentScannerImpl.setInputSource(Unknown > > Source) > > at > > > org.apache.xerces.parsers.DTDConfiguration.parse(Unknown > > Source) > > at > > > org.apache.xerces.parsers.DTDConfiguration.parse(Unknown > > Source) > > at > org.apache.xerces.parsers.XMLParser.parse(Unknown > > Source) > > at > > > org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown > > Source) > > at > > > org.exolab.castor.xml.Unmarshaller.unmarshal(Unmarshaller.java:463) > > at > > > org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:4 > > 88) > > at > > > org.exolab.castor.mapping.Mapping.loadMappingInternal(Mapping.java:4 > > 41) > > at > > > org.exolab.castor.mapping.Mapping.loadMapping(Mapping.java:368) > > at > > > mill.member.MemberMapping.getInstance(MemberMapping.java:61) > > > > > > Serg Maslyukov > > > > > > > > > > ===== > > If you can`t read this message, try charset > WINDOWS-1251 > > > > > > > > __________________________________________________ > > Do you Yahoo!? > > New DSL Internet Access from SBC & Yahoo! > > http://sbc.yahoo.com > > > > > ----------------------------------------------------------- > > 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 > __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
