<?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>2234</bug_id>
          
          <creation_ts>2005-09-14 19:35:46 +0000</creation_ts>
          <short_desc>R-242: Part 1: final attribute of simpleType</short_desc>
          <delta_ts>2009-04-21 19:21:38 +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>Structures: XSD Part 1</component>
          <version>unspecified</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>medium, hard (need to recover details from confusing trail, probably need to fight editorial production system)</status_whiteboard>
          <keywords>resolved</keywords>
          <priority>P4</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>
          <cc>mike</cc>
          
          <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>6262</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 19:35:46 +0000</bug_when>
    <thetext>Section 3.14.1 says the {final} property of simpleType is: 

A subset of {extension, list, restriction, union}. 

I would expect it to say: 

A subset of {list, restriction, union}. 

Section 3.14.2 gives the syntax of the final attribute as: 

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

I would expect it to be: 

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

See:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003OctDec/0064.html

Note: the second part of this comment is covered by R-199.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>11985</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-09-23 23:42:47 +0000</bug_when>
    <thetext>Thank you for this comment (and apologies for the slow response).

I&apos;m a little confused by the discrepancies I have just found between
the property values in the component and the attribute values in the
XML, between the Structures and Datatypes specs, and between what
our diffed versions of the spec say was the case in 1.0 and what
the copies of the 1.0 specs on the TR page say.  Clearly some serious
textual archeology is going to be necessary to straighten this out.

The structures spec does assign a meaning to the value &apos;extension&apos; 
on the {final} property: it blocks the extension of the simple type
into a complex type with simple content.  So it seems to have a 
plausible place in the component display; I don&apos;t know now why it&apos;s
not included in the XML display.

The second point you raise (missing &apos;List of&apos; in the description
of the &apos;final&apos; attribute) is also bug 2192, which was resolved in
erratum E2-56 and in 1.0 Second Edition.  

I don&apos;t propose to close this issue, though, until we get a better 
understanding of the discrepancies I&apos;ve just found, how they came 
about, and how they ought to be resolved. 
 </thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14282</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-03-01 01:44:55 +0000</bug_when>
    <thetext>The discrepancies mentioned have been eliminated, and the Structures</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>14283</commentid>
    <comment_count>3</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2007-03-01 01:48:41 +0000</bug_when>
    <thetext>The discrepancies mentioned have been eliminated, and the Structures
and Datatypes specs are consistent on these topics.  The property
description for {final} reads 

  {final}
  A subset of {extension, restriction, list, union}.

and the XML syntax overview defines the &apos;final&apos; attribute as

   final = (#all | List of (list | union | restriction | extension)) 

Accordingly, I&apos;m marking this issue FIXED.

Michael, as the originator of the issue, I hope that you will indicate
your agreement with the disposition of the issue by changing the status
to CLOSED -- or, if need be, indicate your dissatisfaction by changing
it to REOPENED.   Thanks.
</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>