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

Reply via email to