axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 9869] New: - Enum values are bad in generated Impl and TestCase
Date Fri, 14 Jun 2002 14:38:31 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9869>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9869

Enum values are bad in generated Impl and TestCase

           Summary: Enum values are bad in generated Impl and TestCase
           Product: Axis
           Version: current (nightly)
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Basic Architecture
        AssignedTo: axis-dev@xml.apache.org
        ReportedBy: butek@us.ibm.com


Given XML:

<simpleType name="enumInt">
  <restriction base="xsd:int">
    <enumeration value="-2147483648" />

    <enumeration value="2147483647" />

  </restriction>

</simpleType>

The generated impl and test case code has lines like:

EnumIntHolder varEnumInt.value = 
com.sun.ts.tests.jaxrpc.ee.w2j.rpc.encoded.parametermodetest.EnumInt.-2147483648
;

This was discovered during TCK testing.  The Impl file is generated when you 
specify WSDL2Java -s.  This file won't compile, but it can be deleted.  So I can 
still proceed with the TCK.

Mime
View raw message