Hi Eitan,

It looks like xs:token is not supported at all. It should be pretty easy
to add, not sure why it wasn't added before. A bugzilla report needs to
be opened about this.

--Keith

Eitan Suez wrote:
> 
> sample schema fragment:
> 
> <xs:simpleType name="state-code">
>    <xs:restriction base="xs:token">
>      <xs:pattern value="[A-Z]{2}" />
>    </xs:restriction>
> </xs:simpleType>
> 
> produces error message:
> 
>   Warning: The W3C datatype 'state-code' is not currently supported
>   by Castor Source Generator.
> 
> this is caused by the restriction base type being an xs:token.
> other base types seem to work (e.g. xs:string).
> 
> is this a bug?
> 
> thanks, eitan
> 
> -----------------------------------------------------------
> If you wish to unsubscribe from this mailing, send mail to
> [EMAIL PROTECTED] with a subject of:
>         unsubscribe castor-dev

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to