Hi,

So this is a massively delayed response, but I just received your message (dated 10/07/2003, received late Dec. 2003). It is also a short one: you can do what you want with a binding file. The fact that enumerations aren't supported in the binding file yet doesn't matter because the thing you want to change is the name of a complexType. That is supported.

What you'd need enumeration binding-file support for is changing the enumerated values themselves.

Rhett

yaping wrote:
Hi...
When I survey binding file,
I know that enumerations is not support yet.
But if I want to use that, what should I do ?
And when do Castor support enumerations ?
---------------
My shema is as follows,
<xs:complexType name="telnum">
<xs:attribute name="teltype" use="required">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="mobile"/>
<xs:enumeration value="city"/>
<xs:enumeration value="intl"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
And I want to change the name "telnum" to "phone"
----------------
Thanks,

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


Reply via email to