commons-issues mailing list archives

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

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

Benedikt Ritter commented on VALIDATOR-322:
-------------------------------------------

Hello Ralf,

bq. Is the decision to no longer maintain JavaScript a fundamental one or just due to lack
of resources to maintain?

it is a question of resources and knowledge about JavaScript. I think the commons development
team pretty good at developing Java code. However we are no JavaScript experts. If some one
steps up and does the job of bringing the JavaScripts up to date, I won't block that.

bq. Commons Validator removing JavaScript while the megatrend is to add more JavaScript everywhere
else looks strange to me...

Well that's exactly the reason why we're deprecating the JavaScript part. 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.

> 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