1<?xml version="1.0" encoding="ISO-8859-1" ?>
2<!-- 3.2.3 : 3.1
3    One of ref or name must be present, but not both
4-->
5<schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo">
6	
7  <element name="foo">
8  	  <complexType>
9  	  	<attribute name="bar" ref="foo:bar" />
10  	  </complexType>    
11  </element>  
12  
13  <attribute name="bar" type="string" />
14
15</schema>
16