I have the following simpleType in my schema:
 
<xsd:simpleType name="UpdateStatus">
   <xsd:restriction base="xsd:string">
      <xsd:enumeration value="success"/>
      <xsd:enumeration value="duplicate"/>
      <xsd:enumeration value="failure"/>
   </xsd:restriction>
</xsd:simpleType>
 
The EMF/SDO 1.0 code generator created an UpdateStatus "enumeration" class for 
this simpleType. The Tuscany XSD2JavaGenerator treats it as a simple string and 
doesn't generate a class. Is there a way to annotate my schema so that the 
Tuscany generator will generate a class similar to the EMF/SDO 1.0 class?
 
- Ron

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to