Thanks Thomas, will do. Regards Ralf
Am 06.07.2011 18:22, schrieb Papendieck, Thomas: > Hi Ralf, > > then someone should update castor.xml.properties: > http://svn.codehaus.org/castor/castor/branches/query_engine/src/main/resources/org/castor/xml/castor.xml.properties > line 107 > > > OPITZ CONSULTING Bad Homburg GmbH > Thomas Papendieck Dipl.-Ing./Dipl.-Inf. Consultant > Kaiser-Friedrich-Promenade 95 - D-61348 Bad Homburg > Phone (Fax): +49 6172 / 66260-1523 (-4523) - Mobile: +49 173 72 79 013 > http://www.opitz-consulting.com > Geschäftsführer: Bernhard Opitz, Dirk Faulhaber > HRB-Nr. 7100 Amtsgericht Bad Homburg > ________________________________________ > Von: Ralf Joachim [[email protected]] > Gesendet: Mittwoch, 6. Juli 2011 17:38 > Bis: [email protected] > Betreff: Re: [castor-user] XML - where is > org.exolab.castor.xml.validators.RegExpValidator? > > Hi Thomas, > > the interface is org.exolab.castor.util.RegExpEvaluator. > > Possible values in castor.properties are: > > # Property specifying the regular expression validator > # to use. If specified, the class specified must implement > # org.exolab.castor.xml.validators.RegExpValidator. > # > # Possible values: > # - <null> (default) > # - org.exolab.castor.xml.util.AlwaysTrueRegExpEvaluator > # (Suppresses regular expressions evaluation.) > # - org.exolab.castor.util.JakartaRegExpEvaluator > # (uses the Jakarta RegExp library) > # - org.exolab.castor.util.JakartaOroEvaluator > # (uses the Jakarta ORO library). > # - org.exolab.castor.util.SunRegExpEvaluator > # (uses the Java Regular Expression library). > # - org.exolab.castor.util.XercesRegExpEvaluator > # (uses the regular expression library of Xerces) > # > # <pre> > # org.exolab.castor.regexp= > # </pre> > # > org.exolab.castor.regexp= > > Regards > Ralf > > > Am 06.07.2011 13:04, schrieb Papendieck, Thomas: >> Hi, >> >> I'm using an XSD with regex rules. I'm using castor-1.3.1. >> When trying to unmarshal a sample document I get: >> >> java.lang.RuntimeException: could not convert customer XML file: You are >> trying to use regular expressions without having specified a regular >> expression evaluator. Please use the castor.properties file to define such. >> >> Now I'd like to implement (or eaven better use) one, but I cannot find the >> interface org.exolab.castor.xml.validators.RegExpValidator or any of it's >> implementations in the binary distribution. >> >> So where do I find this interface or eaven better a default implementation? >> >> bye >> homas >> --------------------------------------------------------------------- >> To unsubscribe from this list, please visit: >> >> http://xircles.codehaus.org/manage_email >> >> > > -- > > Syscon Ingenieurbüro für Meß- und Datentechnik GmbH > Ralf Joachim > Raiffeisenstraße 11 > 72127 Kusterdingen > Germany > > Tel. +49 7071 3690 52 > Mobil: +49 173 9630135 > Fax +49 7071 3690 98 > > Internet: www.syscon.eu > E-Mail: [email protected] > > Sitz der Gesellschaft: D-72127 Kusterdingen > Registereintrag: Amtsgericht Stuttgart, HRB 382295 > Geschäftsleitung: Jens Joachim, Ralf Joachim > > > --------------------------------------------------------------------- > 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 > > -- Syscon Ingenieurbüro für Meß- und Datentechnik GmbH Ralf Joachim Raiffeisenstraße 11 72127 Kusterdingen Germany Tel. +49 7071 3690 52 Mobil: +49 173 9630135 Fax +49 7071 3690 98 Internet: www.syscon.eu E-Mail: [email protected] Sitz der Gesellschaft: D-72127 Kusterdingen Registereintrag: Amtsgericht Stuttgart, HRB 382295 Geschäftsleitung: Jens Joachim, Ralf Joachim --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

