W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2006

[Bug 2223] R-231: Enumeration restrictions are unclear

From: <bugzilla@wiggum.w3.org>
Date: Sat, 04 Nov 2006 16:17:50 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1GgODO-0008Vy-Nb@wiggum.w3.org>


------- Comment #1 from davep@iit.edu  2006-11-04 16:17 -------
(In reply to comment #0)

> Does the {facets} property of B contain: 
> 1 - One enumeration component whose {value} is {y}? 
> 2 - One enumeration component whose {value} is {x, y, z}? 
> 3 - Two enumeration components whose {value}s are {y} and {x, y, z}? 

As best I can tell, it must be either 1 or 3, and is presumably is
implementation-dependent which.  On the one hand, for evaluation purposes it
doesn't matter since evaluating against {x, y, z} is totally redundant when
also evaluating against {y}.  OTOH, allowing 3 makes it's esxposure
implementation dependent if that (those) component(s) is (are) hooked into a
PSVI or other application-visible place.  (I'm not going to claim expertise in
the intricacies of "extreme PSVI" without more searching than I want to do
right now.)  I thought that the WG had prescribed 1, but I'm not clever enough
to read that into the spec as it stands now.
Received on Saturday, 4 November 2006 16:17:58 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:50:05 UTC