commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralf Hauser (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (VALIDATOR-322) Java code and javascript code are not same!
Date Fri, 09 Jan 2015 15:47:35 GMT

    [ https://issues.apache.org/jira/browse/VALIDATOR-322?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14271264#comment-14271264
] 

Ralf Hauser commented on VALIDATOR-322:
---------------------------------------

> ...There is so much motion in the JavaScript eco system with new libraries and
> frameworks seeing the light of day every week... Just pick one of the alternatives and
I'm sure they'll do a better job then our stuff which hasn't been 
> touched for ages.
For my input value checking, I would like to have a one-stop shopping from the framework I
choose. So if commons-validator does the server side, I am thrilled if I don't need to bother
with yet another library for the client-side, but my one apache library does both for me.
So, if you can find/motivate any javascript talent, to bring your scripts to state-of-the
art (be they as small as possible with multiple false positives), I would be thrilled

> Java code and javascript code are not same!
> -------------------------------------------
>
>                 Key: VALIDATOR-322
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-322
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: JavaScript
>    Affects Versions: 1.4.0 Release
>         Environment: All
>            Reporter: Kiran
>
> The email id "user@domain_name.com" is invalid when i check from java (EmailValidator.getInstance().isValid("user@domain_name.com")).
> But when I check in javascript, it says it is a valid one (jcv_checkEmail('user@domain_name.com')).
> I know it is invalid because it has underscore in domain name.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message