<?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>20516</bug_id>
          
          <creation_ts>2012-12-26 04:32:26 +0000</creation_ts>
          <short_desc>minor editorial suggestions. Representation of Attribute Declaration Schema Components.</short_desc>
          <delta_ts>2016-06-23 03:55:15 +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>NEW</bug_status>
          <resolution></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="Mukul Gandhi">gandhi.mukul</reporter>
          <assigned_to name="David Ezell">David_E3</assigned_to>
          <cc>cmsmcq</cc>
    
    <cc>mostafa.shahdadi</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>80585</commentid>
    <comment_count>0</comment_count>
    <who name="Mukul Gandhi">gandhi.mukul</who>
    <bug_when>2012-12-26 04:32:26 +0000</bug_when>
    <thetext>In the section:

3.2.2 XML Representation of Attribute Declaration Schema Components

its written,

&lt;attribute&gt;s within &lt;attributeGroup&gt; or &lt;complexType&gt; produce either attribute uses which contain global attribute declarations (if there&apos;s a ref attribute) or local declarations (otherwise).

These wordings look slightly confusing to me, due to the way it is written.

Would it be better, if above phrases were written something like following:

&lt;attribute&gt;s within &lt;attributeGroup&gt; or &lt;complexType&gt; produce an Attribute Declaration along with a Attribute Use component (which contains global attribute declarations if there&apos;s a ref attribute, otherwise contains local declarations) or only an Attribute Use component.  


Then this would align correctly with the following definitions (part of the four bullet points):

If the &lt;attribute&gt; element information item has &lt;complexType&gt; or &lt;attributeGroup&gt; as an ancestor, and the ref [attribute] is absent, and the use [attribute] is not &quot;prohibited&quot;, then it maps both to an Attribute Declaration and to an Attribute Use component

If the &lt;attribute&gt; element information item has &lt;complexType&gt; or &lt;attributeGroup&gt; as an ancestor, and the ref [attribute] is ·present·, and the use [attribute] is not &quot;prohibited&quot;, then it maps to an Attribute Use component

provided just before the section &quot;3.2.2.1 Mapping Rules for Global Attribute Declarations&quot;


Thanks</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>