<?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>2020</bug_id>
          
          <creation_ts>2005-09-07 20:22:52 +0000</creation_ts>
          <short_desc>R-042: Potential problem with particle derivation Choice:Choice rules</short_desc>
          <delta_ts>2009-04-21 19:24:51 +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 only</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>LATER</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></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="Henry S. Thompson">ht</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>5829</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-07 20:22:52 +0000</bug_when>
    <thetext>The particle derivation rules for &quot;RecurseLax&quot; appear to prohibit the following 
type derivation. Was this intentional, or should the rules be modified to 
permit such a derivation? The mail below suggests a possible modification of 
the rules.

&lt;xs:complexType name=&quot;B&quot;&gt;
 &lt;xs:choice minOccurs=&quot;1&quot; maxOccurs=&quot;1&quot;&gt;
  &lt;xs:group minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot; ref=&quot;ChoiceGroup&quot;/&gt;
  &lt;xs:element name=&quot;e&quot;/&gt;
 &lt;/xs:choice&gt;
&lt;/xs:complexType&gt;

&lt;xs:complexType name=&quot;derived&quot;&gt;
 &lt;xs:complexContent&gt;
  &lt;xs:restriction base=&quot;xs:B&quot;&gt;
   &lt;xs:group minOccurs=&quot;0&quot; maxOccurs=&quot;1&quot; ref=&quot;ChoiceGroup&quot;/&gt;
  &lt;/xs:restriction&gt;
 &lt;/xs:complexContent&gt;
&lt;/xs:complexType&gt;

&lt;xs:group name=&quot;ChoiceGroup&quot;&gt;
 &lt;xs:choice&gt;
  &lt;xs:element name=&quot;e2&quot;/&gt;
  &lt;xs:element name=&quot;e3&quot;/&gt;
 &lt;/xs:choice&gt;
&lt;/xs:group&gt;

See
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2001JulSep/0035.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>5830</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-07 20:23:45 +0000</bug_when>
    <thetext>As per issue 2002 (R-024), the WG has decided that although the rules have some 
awkward results, they are not in error. The issue will be added to a list of 
items to consider for a future revision of XML Schema.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>