<xs:complexType name="OtherEnumerationDescriptionString">
<xs:annotation>
<xs:documentation>
This type is to be used within enumerations requiring
the presence of an attribute descriptor. This
attribute is called otherDescription and should only
be used in the case of the enum having the value of
"Other". There is no elegant way to tie the value
"Other" and the attribute otherDescription.
In order to use this common type, make the enum a
complexType and extend the base type of
commons:OtherEnumerationDescriptionString. Ensure
the value of "Other" appears in the enumerated
list of values.
</xs:documentation>
</xs:annotation>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="otherDescription" use="optional" type="xs:string" />
</xs:extension>
</xs:simpleContent>
</xs:complexType>
|