axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amila Chinthaka Suriarachchi (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-2364) Length restrictions wrong in generated classes
Date Wed, 28 Mar 2007 10:33:32 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-2364?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Amila Chinthaka Suriarachchi resolved AXIS2-2364.
-------------------------------------------------

    Resolution: Fixed

fixed the issue for Axis2 1.2

> Length restrictions wrong in generated classes
> ----------------------------------------------
>
>                 Key: AXIS2-2364
>                 URL: https://issues.apache.org/jira/browse/AXIS2-2364
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: adb
>    Affects Versions: nightly
>         Environment: WSDL2Java, ADB binding
>            Reporter: Full Name
>
> The following restriction:
> <minLength value="10"/>
> <maxLength value="80"/>
> results in the following code:
>   if (  (10 < java.lang.String.valueOf(param).length()) &&
>  (java.lang.String.valueOf(param).length() >= 80)  ) {
>                                                  this.value=param;
>                                              }
>                                             else {
>                                                  throw new
> java.lang.RuntimeException();
>                                              }
> The last comparison should be <= and not >=. The first check should
> include 10 in my opinion.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


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


Mime
View raw message