Looks like a new bug report at http://jira.codehaus.orgbrowse/CASTOR
should allow you track our progress for fixing this. I'd appreciate if
you included e.g. XML schema(s) that allowed us to *easily* replay the
problem.

Werner

Godmar Back wrote:
> 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
> 


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

    http://xircles.codehaus.org/manage_email

Reply via email to