<?xml version="1.0"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
>

<!-- 
Test attributeGroup declaration: can only reference global attributeGroup 
parent is attributeGroup,  
ref='name of global attribute group declared at the end of xsd'
-->

<xsd:attributeGroup name="foo">
	<xsd:attributeGroup ref="abc"/>
    <xsd:attribute name="att2" type="xsd:int" />
</xsd:attributeGroup>


<xsd:attributeGroup name="abc">
   <xsd:attribute name="att1" type="xsd:int" />
</xsd:attributeGroup>

</xsd:schema>
