commons-issues mailing list archives

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


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:
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: JavaScript
>    Affects Versions: 1.4.0 Release
>         Environment: All
>            Reporter: Kiran
> The email id "" is invalid when i check from java (EmailValidator.getInstance().isValid("")).
> But when I check in javascript, it says it is a valid one (jcv_checkEmail('')).
> I know it is invalid because it has underscore in domain name.

This message was sent by Atlassian JIRA

View raw message