W3C home > Mailing lists > Public > public-xsd-databinding@w3.org > July 2006

ISSUE-66: Enumeration based on SimpleType

From: Databinding Issue Tracker <dean+cgi@w3.org>
Date: Fri, 21 Jul 2006 13:25:17 +0000 (GMT)
To: public-xsd-databinding@w3.org
Message-Id: <20060721132517.6341FBDA9@w3c4.w3.org>


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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 18 December 2010 18:20:37 GMT