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 2192 - R-199: Problem with final for simple types
Summary: R-199: Problem with final for simple types
Status: CLOSED FIXED
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Datatypes: XSD Part 2 (show other bugs)
Version: 1.0 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: C. M. Sperberg-McQueen
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords: needsDrafting
Depends on:
Blocks:
 
Reported: 2005-09-14 19:00 UTC by Sandy Gao
Modified: 2009-04-21 19:25 UTC (History)
0 users

See Also:


Attachments

Description Sandy Gao 2005-09-14 19:00:24 UTC
In the XML representation for simpleType, final is shown as 

final = (#all | (list | union | restriction)) 

This would seem to imply that only 1 of {list, union, restriction} may be 
specified. 

However, the description of the property is as follows: 

A set corresponding to the actual value of the final [attribute], if present, 
otherwise the actual value of the finalDefault [attribute] of the ancestor 
schema element information item, if present, otherwise the empty string, as 
follows: 

the empty string 
  the empty set; 
#all 
  {restriction, list, union}; 
otherwise 
  a set with members drawn from the set above, each being present or absent 
depending on whether the string contains an equivalently named space-delimited 
substring. 

Given this, is it, or is it not possible to restrict 2 of {restriction, list, 
union}?
Comment 1 Sandy Gao 2005-09-14 19:00:32 UTC
Resolved at the May 23, 2003 telecon that a set of values should be allowed. 
Classifed as error w/ erratum and editors instructed to fix the s4s and the Rec 
accordingly.
Comment 2 Henry S. Thompson 2005-11-03 11:48:49 UTC
Fixed by http://www.w3.org/2001/05/xmlschema-errata#e2-56 and in 2e