Hi,

would you mind creating a Jira issue that we (and you) can track ?

Kind Regards
Werner Guttmann


On 06.07.2011 18:34, Papendieck, Thomas wrote:
> Hi Ralf,
> 
> http://www.castor.org/xml-properties.html
> also names the wrong interface.
> 
> bye
> Thomas
> 
> ________________________________________
> 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
> ---------------------------------------------------------------------
> 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


Reply via email to