ISSUE-59

attributeGroup pattern

State:
CLOSED
Product:
Advanced
Raised by:
George Cowe
Opened on:
2006-05-23
Description:
We use attributeGroups in our schemas:

<xs:attributeGroup name="myAttributeGroup">
   <xs:attribute name="id" type="xs:ID"/>
   <xs:attribute name="name" type="xs:string"/>
</xs:attributeGroup>


used as follows:
<xs:simpleContent>
  <xs:extension base="..">
    <xs:attributeGroup ref="tns:myAttributeGroup/>
  </xs:extension>
</xs:simpleContent>

and in place of an attribute in a collection:
<xs:complexType>
  <xs:sequence>
     ...
  </xs:sequence>
  <xs:attrinute name="foo" type="xs:string"/>
  <xs:attributeGroup ref="tns:myAttributeGroup/>
</xs:complexType>
Related emails:
  1. ISSUE-59: attributeGroup pattern (from dean+cgi@w3.org on 2006-05-23)
  2. Minutes from XML Schema Patterns for Databinding F2F 22-23 May 2006 (from paul.downey@bt.com on 2006-06-02)
  3. Minutes: XML Schema Patterns for Databinding F2F 5th-6th October 2006 (from paul.downey@bt.com on 2006-10-07)
  4. RE: Whither xs:group (and xs:attributeGroup)? (from gcowe@origoservices.com on 2006-11-28)
  5. Agenda: XML Schema Patterns for Databinding telcon 12 December 2006 (from paul.downey@bt.com on 2006-12-11)

Related notes:

2006-10-05: accepted as an Advanced pattern, needs example