<?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>2154</bug_id>
          
          <creation_ts>2005-09-14 14:36:45 +0000</creation_ts>
          <short_desc>R-158: topLevelAttribute and use=(optional|prohibited|required)</short_desc>
          <delta_ts>2009-04-21 19:21:34 +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>1.1 only</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>INVALID</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>medium, easy</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>
          
          
          <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>6128</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 14:36:45 +0000</bug_when>
    <thetext>This is a fragment from the Schema for Schemas

&lt;xs:complexType name=&quot;topLevelAttribute&quot;&gt;
  &lt;xs:complexContent&gt;
   &lt;xs:restriction base=&quot;xs:attribute&quot;&gt;
    &lt;xs:sequence&gt;
     &lt;xs:element ref=&quot;xs:annotation&quot; minOccurs=&quot;0&quot;/&gt;
     &lt;xs:element name=&quot;simpleType&quot; minOccurs=&quot;0&quot; type=&quot;xs:localSimpleType&quot;/&gt;
    &lt;/xs:sequence&gt;
    &lt;xs:attribute name=&quot;ref&quot; use=&quot;prohibited&quot;/&gt;
    &lt;xs:attribute name=&quot;form&quot; use=&quot;prohibited&quot;/&gt;
    &lt;xs:attribute name=&quot;use&quot; use=&quot;prohibited&quot;/&gt;
    &lt;xs:attribute name=&quot;name&quot; use=&quot;required&quot; type=&quot;xs:NCName&quot;/&gt;
   &lt;/xs:restriction&gt;
  &lt;/xs:complexContent&gt;
&lt;/xs:complexType&gt;
attribute &apos;use&apos; is ruled out,


&lt;xs:attribute name=&quot;use&quot; use=&quot;prohibited&quot;/&gt;
However, the prose in section 3.2.3 (constraints on XML Representation) doesn&apos;t 
say anything about the &apos;use&apos; attribute.

I believe that the schema for schemas is correct and hope, the prose will rule 
this out explicitly. 

See the following for more info:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0128.html

Response from Henry:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0138.html

This was originally an issue opened against XML Schema 1.0. It was discussed at 
the July 2003 f2f [1] to defer to 1.1.
[1] http://www.w3.org/XML/Group/2003/07/xml-schema-ftf-minutes.html#d0e513</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12386</commentid>
    <comment_count>1</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-10-11 02:58:04 +0000</bug_when>
    <thetext>Reviewing this issue, I propose that the WG accept Henry&apos;s account of
the matter and close the issue with RESOLVED / INVALID, meaning we
believe the reported problem is not really a problem.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12576</commentid>
    <comment_count>2</comment_count>
    <who name="C. M. Sperberg-McQueen">cmsmcq</who>
    <bug_when>2006-10-21 20:39:39 +0000</bug_when>
    <thetext>On 20 October 2006, the Working Group agreed to close this issue with a
disposition of INVALID, meaning that we do not believe the state of 
affairs described in the issue is actually a problem. </thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>