commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Niall Pemberton (JIRA)" <j...@apache.org>
Subject [jira] Commented: (VALIDATOR-193) Removing ORO dep. from GenericValidator
Date Mon, 03 Jul 2006 03:20:32 GMT
    [ http://issues.apache.org/jira/browse/VALIDATOR-193?page=comments#action_12418889 ] 

Niall Pemberton commented on VALIDATOR-193:
-------------------------------------------

EmailValidator and UrlValidator also use Jakarta ORO and there are static validation methods
for both of these in GenericValidator.

These are both quite complex, using multiple regular expressions to parse and validate and
converting them wil be more involved than the "mask" validator in GenericValidator or the
ISBNValidator.

Email validator also uses Perl5Util.substitute() method to strip comments (see EmailValidator.stripComments()
method) which from the ORO JavaDoc says its in "native perl format" - how straight forward
this will be to convert I have no idea:

http://jakarta.apache.org/oro/api/org/apache/oro/text/perl/Perl5Util.html

> Removing ORO dep. from GenericValidator
> ---------------------------------------
>
>          Key: VALIDATOR-193
>          URL: http://issues.apache.org/jira/browse/VALIDATOR-193
>      Project: Commons Validator
>         Type: Improvement

>     Reporter: Matthias We├čendorf
>  Attachments: generic_validator_java_regExpr.patch
>
> Introducing Java 1.4 dep instead of Jakarta ORO for GenericValidator
> Patch comes
> (based on the patched verion (for adding the ISBNValidator to Generic)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message