You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Niall Pemberton (JIRA)" <ji...@apache.org> on 2006/07/03 05:20:32 UTC

[jira] Commented: (VALIDATOR-193) Removing ORO dep. from GenericValidator

    [ 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