This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 20516 - minor editorial suggestions. Representation of Attribute Declaration Schema Components.
Summary: minor editorial suggestions. Representation of Attribute Declaration Schema C...
Status: NEW
Alias: None
Product: XML Schema
Classification: Unclassified
Component: Structures: XSD Part 1 (show other bugs)
Version: 1.1 only
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: David Ezell
QA Contact: XML Schema comments list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-26 04:32 UTC by Mukul Gandhi
Modified: 2016-06-23 03:55 UTC (History)
2 users (show)

See Also:


Attachments

Description Mukul Gandhi 2012-12-26 04:32:26 UTC
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