<?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>2783</bug_id>
          
          <creation_ts>2006-01-30 18:39:44 +0000</creation_ts>
          <short_desc>constituting a restriction</short_desc>
          <delta_ts>2009-10-09 22:50:29 +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>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>restriction cluster</status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P2</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>
          <cc>cmsmcq</cc>
    
    <cc>David_E3</cc>
          
          <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>8050</commentid>
    <comment_count>0</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-01-30 18:39:44 +0000</bug_when>
    <thetext>Clause 3 of Schema Component Constraint: Simple Type Restriction
(Facets) in section 3.14.6 of Structures appeals to the concept of one
set of facets R &apos;constituting a restriction&apos; of another set B, with
respect to a 3d set S.  This raises two issues.

First, the appeal is confusing because the concept in question is not
really one of restriction but of an operation sometimes called &apos;set
overlay&apos; or &apos;priority union&apos; (or probably other things as well): take
everything from one set, and everything from the second set except
those members which match elements in the first set (for some
definition of matching other than identity, since if matching is based
on identity this is just a union).  Given the sets
  
    B = {minInclusive = 0, maxInclusive = 20}
    S = {maxInclusive = 100}
    R = {minInclusive = 0, maxInclusive = 100}

then B, S, and R satisfy the definition, but R does not actually
constitute anything one would be inclined to call a restriction of B.

It does constitute the overlay of B with respect to S, or the priority
union of S and B (in that order).  

So I think the term should be changed.

Second, in the face to face meeting this morning, Henry and Sandy
suggested that the purpose of this component constraint was not really
to constrain components but to provide a definition of this term.
They proposed that we should delete it here and move the relevant bits
to the place in Datatypes which was, as far as they could tell, the
only place that refers to this constraint.

So we need to decide what to do about this proposal to move the
constraint or its contents.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27023</commentid>
    <comment_count>1</comment_count>
    <who name="David Ezell">David_E3</who>
    <bug_when>2009-09-10 21:44:05 +0000</bug_when>
    <thetext>decided at the telcon 2009-09-04</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28183</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2009-10-09 22:49:59 +0000</bug_when>
    <thetext>As noted in comment 1, the WG approved a wording proposal (at http://www.w3.org/XML/Group/2004/06/xmlschema-1/structures.b2783.html) (member-only link) to resolve this issue; essentially, it replaces the phrase &quot;R constitutes a restriction of B with respect to S&quot; with the phrase &quot;R is the result of overlaying B with S&quot;.  The change is now in the status quo document, so I&apos;m closing the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>28184</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2009-10-09 22:50:29 +0000</bug_when>
    <thetext>As the originator of this issue I can confirm that I am satisfied with the resolution.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>