- From: <bugzilla@wiggum.w3.org>
- Date: Wed, 14 Sep 2005 18:45:37 +0000
- To: www-xml-schema-comments@w3.org
- Cc:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2182
Summary: R-189: Recursive simple type definitions
Product: XML Schema
Version: 1.0
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: XSD Part 1: Structures
AssignedTo: ht@w3.org
ReportedBy: sandygao@ca.ibm.com
QAContact: www-xml-schema-comments@w3.org
Is the following recursive definition valid?
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://foo.com"
xmlns="http://foo.com"
elementFormDefault="qualified">
<xsd:simpleType name="abcOrBoolean">
<xsd:union memberTypes="xsd:boolean abc"/>
<xsd:simpleType>
<xsd:simpleType name="abc">
<xsd:restriction base="abcOrBoolean">
<xsd:minLength value="5"/>
<xsd:restriction>
<xsd:simpleType>
<xsd:schema>
Henry's response:
"Not allowed. There is an erratum forthcoming which is intended to clarify
this, but, irritatingly, it doesn't catch the above case. I expect yet another
erratum will do so."
See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0124.html
Received on Wednesday, 14 September 2005 18:45:48 UTC