<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>2182</bug_id>
          
          <creation_ts>2005-09-14 18:45:37 +0000</creation_ts>
          <short_desc>R-189: Recursive simple type definitions</short_desc>
          <delta_ts>2009-04-21 19:21:35 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema</product>
          <component>Structures: XSD Part 1</component>
          <version>1.0/1.1 both</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <qa_contact name="XML Schema comments list">www-xml-schema-comments</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>6186</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 18:45:37 +0000</bug_when>
    <thetext>Is the following recursive definition valid? 

&lt;xsd:schema xmlns:xsd=&quot;http://www.w3.org/2001/XMLSchema&quot;
 		targetNamespace=&quot;http://foo.com&quot;
 		xmlns=&quot;http://foo.com&quot;
 		elementFormDefault=&quot;qualified&quot;&gt;
 
 	&lt;xsd:simpleType name=&quot;abcOrBoolean&quot;&gt;
 		&lt;xsd:union memberTypes=&quot;xsd:boolean abc&quot;/&gt;
 	&lt;xsd:simpleType&gt;
 
 	&lt;xsd:simpleType name=&quot;abc&quot;&gt;
 		&lt;xsd:restriction base=&quot;abcOrBoolean&quot;&gt;
 			&lt;xsd:minLength value=&quot;5&quot;/&gt;
 		&lt;xsd:restriction&gt;
 	&lt;xsd:simpleType&gt;
&lt;xsd:schema&gt;

Henry&apos;s response: 

&quot;Not allowed. There is an erratum forthcoming which is intended to clarify 
this, but, irritatingly, it doesn&apos;t catch the above case. I expect yet another 
erratum will do so.&quot;

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002OctDec/0124.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6187</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 18:45:49 +0000</bug_when>
    <thetext>Discussed at the Feb. 7 concall. The WG agreed to classify R-189 as an error w/ 
erratum</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15201</commentid>
    <comment_count>2</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2007-05-25 13:38:37 +0000</bug_when>
    <thetext>Discussed at 2007-05-18 telecon. Adopted the following proposal.

- Require that members of a union type can&apos;t be the union type itself *or a type derived from it*.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>