You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Ralf Hauser (JIRA)" <ji...@apache.org> on 2019/02/08 14:23:00 UTC

[jira] [Commented] (AXIS2-5468) Generated code for xsd:maxInclusive cause errors with org.apache.axis2.databinding.utils.ConverterUtil.compare(param, "9999")

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

Ralf Hauser commented on AXIS2-5468:
------------------------------------

Still the case with

axis2-1.7.8    :(

> 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
>            Priority: Major
>
> 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
(v7.6.3#76005)

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