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 2012/12/13 11:15:21 UTC

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

Ralf Hauser created AXIS2-5468:
----------------------------------

             Summary: 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

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