<?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>2857</bug_id>
          
          <creation_ts>2006-02-11 01:42:51 +0000</creation_ts>
          <short_desc>RQ-7 Improve interaction between wildcards and substitution groups (wildcards)</short_desc>
          <delta_ts>2006-10-21 20:48:55 +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.1 only</version>
          <rep_platform>Other</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>important, hard, restriction cluster</status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P4</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="C. M. Sperberg-McQueen">cmsmcq</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>8222</commentid>
    <comment_count>0</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-02-11 01:42:51 +0000</bug_when>
    <thetext>This issue was originally reported by Matthew Fuchs.

Address problems with the interaction between wildcards and
substitution groups. 

Specifically, resolve the bug where if complex type A has a wildcard,
and B restricts A, then it can restrict the wildcard to a set of
elements that match the wildcard. Not all elements in the substitution
groups of those elements necessarily match the wildcard - so B is not
a subset of A.

See (member-only link) http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2001Apr/0047.html,
http://www.w3.org/2000/12/xmlschema-crcomments.html#x6 (http://www.w3.org/2000/12/xmlschema-crcomments.html#x6). 

Cf. RQ-135 (#component-consistency-and-validity).

This item was discussed, and phase-1 agreement was reached, in the
meeting of 2004-03-18
(http://lists.w3.org/Archives/Member/w3c-xml-schema-ig/2004Mar/0060.html).

    All we need to say to discharge this requirement is that
    restriction is transitive.  The types derived by multiple
    restriction steps should also obey the wildcard.  There was some
    doubt over whether the constructive rules of XML Schema 1.0
    achieve this, but the definition of restriction in section 2 seems
    to entail it.

According to the requirements document, phase-1 agreement has been reached.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12573</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-10-21 20:33:13 +0000</bug_when>
    <thetext>On 20 October 2006, the WG agreed to close this issue as having
been resolved, with the rationale:

      This is dealt with by the elimination of the constructive
      rules for restriction and the definition of the rule that
      elements locally valid against the restriction must be
      locally valid against the base.  The consequence is that
      replacing a wildcard by a reference to an element does not
      necessarily constitute a valid restriction.

</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>