W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > July to September 2005

[Bug 2192] R-199: Problem with final for simple types

From: <bugzilla@wiggum.w3.org>
Date: Wed, 14 Sep 2005 19:00:24 +0000
To: www-xml-schema-comments@w3.org
Message-Id: <E1EFcUa-0000SG-Ho@wiggum.w3.org>


           Summary: R-199: Problem with final for simple types
           Product: XML Schema
           Version: 1.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XSD Part 2: Datatypes
        AssignedTo: cmsmcq@w3.org
        ReportedBy: sandygao@ca.ibm.com
         QAContact: www-xml-schema-comments@w3.org

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 

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 

the empty string 
  the empty set; 
  {restriction, list, union}; 
  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 

Given this, is it, or is it not possible to restrict 2 of {restriction, list, 
Received on Wednesday, 14 September 2005 19:00:35 UTC

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