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


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:simpleType name="TypeCode">
		<xsd:restriction base="xsd:string">
			<xsd:minLength value="1"/>
			<xsd:maxLength value="50"/>

is this another basic pattern to be considered?
Received on Friday, 21 July 2006 13:25:32 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 19:58:12 UTC