This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 2783 - constituting a restriction
Summary: constituting a restriction
Status: CLOSED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.1 only
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard: restriction cluster
Keywords: resolved
Depends on:
Blocks:
 
Reported: 2006-01-30 18:39 UTC by C. M. Sperberg-McQueen
Modified: 2009-10-09 22:50 UTC (History)
2 users (show)

See Also:


Attachments

Description C. M. Sperberg-McQueen 2006-01-30 18:39:44 UTC
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 'constituting a restriction' 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 'set
overlay' or 'priority union' (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.
Comment 1 David Ezell 2009-09-10 21:44:05 UTC
decided at the telcon 2009-09-04
Comment 2 C. M. Sperberg-McQueen 2009-10-09 22:49:59 UTC
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 "R constitutes a restriction of B with respect to S" with the phrase "R is the result of overlaying B with S".  The change is now in the status quo document, so I'm closing the issue.
Comment 3 C. M. Sperberg-McQueen 2009-10-09 22:50:29 UTC
As the originator of this issue I can confirm that I am satisfied with the resolution.