axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Clemens Wyss (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AXIS2-5468) Generated code for xsd:maxInclusive cause errors with org.apache.axis2.databinding.utils.ConverterUtil.compare(param, "9999")
Date Fri, 21 Oct 2016 15:07:58 GMT

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

Clemens Wyss commented on AXIS2-5468:
-------------------------------------

exactly same here. I had to remove all maxInclusive-elements.
I tested with 1.5.2 and 1.7.3

> Generated code for xsd:maxInclusive cause errors with org.apache.axis2.databinding.utils.ConverterUtil.compare(param,
"9999") 
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: AXIS2-5468
>                 URL: https://issues.apache.org/jira/browse/AXIS2-5468
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.6.2
>         Environment: eclipse helios, java6
>            Reporter: Ralf Hauser
>
> Eclipse says: <<The method compare(int, String) in the type ConverterUtil is not
applicable for the arguments (UnsignedInt, String)>>
> http://www.ech.ch/xmlns/eCH-0010/5/eCH-0010-5-0.xsd excerpt:
> <<
> 	<xs:simpleType name="postOfficeBoxNumberType">
> 		<xs:restriction base="xs:unsignedInt">
> 			<xs:maxInclusive value="99999999"/>
> 		</xs:restriction>
> 	</xs:simpleType>
> >>
> The code was generated with 
>     axis2-1.6.2/bin/wsdl2java.sh -uri file:///home/me/ju/ju.wsdl -p ch.admin.x.y -d adb
-s



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

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


Mime
View raw message