<?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>4034</bug_id>
          
          <creation_ts>2006-12-04 16:47:20 +0000</creation_ts>
          <short_desc>don&apos;t keep superseded facets</short_desc>
          <delta_ts>2007-03-26 15:05:21 +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>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>
          
          <blocked>2246</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Dave Peterson">davep</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>13073</commentid>
    <comment_count>0</comment_count>
    <who name="Dave Peterson">davep</who>
    <bug_when>2006-12-04 16:47:20 +0000</bug_when>
    <thetext>From Structures, 3.15.6, Schema Component Constraint: Simple Type Restriction (Facets):

     3 The facets of R [the restriction] [must] ·constitute a
        restriction· of the {facets} of B [the base] with respect
        to S [a set of new facets].

Within the definition of &quot;constitute a restriction&quot;, the governing clause is:

     2 Every facet in B is in R unless it is of the same kind
        as some facet in S.

If we interpret &quot;unless&quot; to mean that the facet in B is prohibited if is is of
the same kind as some facet in S, then reading back into the Constraint we find
that the constraint precludes a facet of B from being also a facet of R if
there is a facet of the same kind in S.

This needs to be made clear; &quot;unless&quot; can also be interpreted as making no statement about whether a facet B is in R if it is of the same kind as some facet in S.  Recommend &quot;unless it is of the same kind as some facet in S&quot; be changed to read &quot;if and only if it is not of the same kind as some facet in S&quot;.

Since this is what is needed to resolve Datatypes bug 2246, and 2246 blocks Structures bug 2781, this change might impact the resolution of 2781.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14092</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-02-24 02:32:53 +0000</bug_when>
    <thetext>At today&apos;s call, the WG accepted a wording proposal which recasts clause
2 of the definition of &apos;constitutes a restriction&apos;.  The new text is:

  2  Every facet in B is in R, unless it is of the same kind as some 
     facet in S, in which case it is not included in R.

This is not the wording proposed by the originator, but it does seem to
accomplish the same clarification.  So I&apos;m marking this as resolved.

Dave, as originator please confirm your acceptance of the disposition by
changing the status to CLOSED.  If we don&apos;t hear from you in two weeks,
I&apos;ll close it myself.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>