<?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>2192</bug_id>
          
          <creation_ts>2005-09-14 19:00:24 +0000</creation_ts>
          <short_desc>R-199: Problem with final for simple types</short_desc>
          <delta_ts>2009-04-21 19:25:10 +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>Datatypes: XSD Part 2</component>
          <version>1.0 only</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>needsDrafting</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Sandy Gao">sandygao</reporter>
          <assigned_to name="C. M. Sperberg-McQueen">cmsmcq</assigned_to>
          
          
          <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>6205</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 19:00:24 +0000</bug_when>
    <thetext>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}?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6206</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 19:00:32 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>7003</commentid>
    <comment_count>2</comment_count>
    <who name="Henry S. Thompson">ht</who>
    <bug_when>2005-11-03 11:48:49 +0000</bug_when>
    <thetext>Fixed by http://www.w3.org/2001/05/xmlschema-errata#e2-56 and in 2e</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>