[Bug 20516] New: minor editorial suggestions. Representation of Attribute Declaration Schema Components.

https://www.w3.org/Bugs/Public/show_bug.cgi?id=20516

            Bug ID: 20516
           Summary: minor editorial suggestions. Representation of
                    Attribute Declaration Schema Components.
    Classification: Unclassified
           Product: XML Schema
           Version: 1.1 only
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Structures: XSD Part 1
          Assignee: David_E3@VERIFONE.com
          Reporter: gandhi.mukul@gmail.com
        QA Contact: www-xml-schema-comments@w3.org
                CC: cmsmcq@blackmesatech.com

In the section:

3.2.2 XML Representation of Attribute Declaration Schema Components

its written,

<attribute>s within <attributeGroup> or <complexType> produce either attribute
uses which contain global attribute declarations (if there'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:

<attribute>s within <attributeGroup> or <complexType> produce an Attribute
Declaration along with a Attribute Use component (which contains global
attribute declarations if there'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 <attribute> element information item has <complexType> or
<attributeGroup> as an ancestor, and the ref [attribute] is absent, and the use
[attribute] is not "prohibited", then it maps both to an Attribute Declaration
and to an Attribute Use component

If the <attribute> element information item has <complexType> or
<attributeGroup> as an ancestor, and the ref [attribute] is ·present·, and the
use [attribute] is not "prohibited", then it maps to an Attribute Use component

provided just before the section "3.2.2.1 Mapping Rules for Global Attribute
Declarations"


Thanks

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Wednesday, 26 December 2012 04:32:27 UTC