<?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>2153</bug_id>
          
          <creation_ts>2005-09-14 14:29:27 +0000</creation_ts>
          <short_desc>R-158: topLevelAttribute and use=(optional|prohibited|required)</short_desc>
          <delta_ts>2009-04-21 19:25:05 +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.0 only</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>LATER</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></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="Henry S. Thompson">ht</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>6126</commentid>
    <comment_count>0</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 14:29:27 +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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>6127</commentid>
    <comment_count>1</comment_count>
    <who name="Sandy Gao">sandygao</who>
    <bug_when>2005-09-14 14:30:58 +0000</bug_when>
    <thetext>Response from Henry:
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2002AprJun/0138.html

Resolution:
Resolved at the July 2003 f2f [1] to defer to 1.1, adding it as a requirement
[1] http://www.w3.org/XML/Group/2003/07/xml-schema-ftf-minutes.html#d0e513</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>