Castor 1.1.1 produces this code for a definition like this:

   <xs:complexType name="Uint16_t">
       <xs:attribute name="value" type="xs:unsignedShort" />
   </xs:complexType>

in descriptors.Uint16_tDescriptor(), the "setValue" method of handler contains:

           public void setValue( java.lang.Object object,
java.lang.Object value)
               throws IllegalStateException, IllegalArgumentException
           {
                  ....
                  target.setValue( (int) value);

which obviously is not legal Java.
The same happens for unsignedByte and unsignedInt.

- Godmar

---------------------------------------------------------------------
To unsubscribe from this list please visit:

   http://xircles.codehaus.org/manage_email

Reply via email to