<?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>4952</bug_id>
          
          <creation_ts>2007-08-15 13:11:31 +0000</creation_ts>
          <short_desc>Sequence:Sequence Restriction (Recurse)</short_desc>
          <delta_ts>2010-03-26 15:43:40 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>XML Schema Test Suite</product>
          <component>Microsoft tests</component>
          <version>2006-11-06</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>disputedTest</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Michael Chan">mhpchan</reporter>
          <assigned_to name="Henry S. Thompson">ht</assigned_to>
          <cc>David_E3</cc>
          
          <qa_contact name="XML Schema Test Suite mailing list">public-xml-schema-testsuite</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>16155</commentid>
    <comment_count>0</comment_count>
    <who name="Michael Chan">mhpchan</who>
    <bug_when>2007-08-15 13:11:31 +0000</bug_when>
    <thetext>The schema has base particle of sequence restricted to a derived particle of sequence.  Within the restricted sequence, the particles are not valid restrictions with the corresponding particles in the base type.  However, the spec says, &quot;2.1 Each particle in the {particles} of R is a ·valid restriction· of the particle in the {particles} of B it maps to as defined by Particle Valid (Restriction) (§3.9.6).&quot;

Since the particles are not valid restrictions, the scenario used should be scenario that checks invalidity

testcase affected: msData/particles/particlesW006.xsd</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16198</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Kay">mike</who>
    <bug_when>2007-08-18 21:28:32 +0000</bug_when>
    <thetext>Personal response.

In my view this is a case where the bug is in the spec, not in the test. This is an example of a situation where all instances of R are in fact valid instances of B (because of the maxOccurs=&quot;0&quot;), but the algorithm in the spec fails to recognize the fact. In Schema 1.1 this will be a valid restriction. I don&apos;t think there is really much to be gained at this stage in testing conformance of products to rules that are known to be deficient. Nor is there much to be gained by patching up the Schema 1.0 rules.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>31445</commentid>
    <comment_count>2</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2010-02-04 14:03:09 +0000</bug_when>
    <thetext>Even if Mike&apos;s analysis is right, this should be changed to invalid, and some 
of us (e.g. XSV) will get it wrong</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33945</commentid>
    <comment_count>3</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2010-03-26 15:43:40 +0000</bug_when>
    <thetext>The WG believes this test is wrong for 1.0, but that behavior is less than desirable.  A new test, properly defined, is required for 1.1.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>