ISSUE-66: Enumeration based on SimpleType

ISSUE-66: Enumeration based on SimpleType

http://www.w3.org/2005/06/tracker/databinding/issues/66

Raised by: George Cowe
On product: Basic

While working on the stringEnumeration pattern recognition xpaths I came up with
this issue which shows an enumeration restriction based on a simpleType which
itself is based on a restricted string

	<xsd:simpleType name="CurrencyCode">
		<xsd:restriction base="ex:TypeCode">
			<xsd:enumeration value="ATS"/>
			<xsd:enumeration value="AUD"/>
			<xsd:enumeration value="GBP"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:simpleType name="TypeCode">
		<xsd:restriction base="xsd:string">
			<xsd:minLength value="1"/>
			<xsd:maxLength value="50"/>
		</xsd:restriction>
	</xsd:simpleType>

is this another basic pattern to be considered?
    

Received on Friday, 21 July 2006 13:25:32 UTC