/ libxml2 / test / schemas / src-attribute3-2-form_0.xsd
src-attribute3-2-form_0.xsd
 1  <?xml version="1.0" encoding="ISO-8859-1" ?>
 2  <!-- 3.2.3 : 3.2
 3      If ref is present, then all of <simpleType>, form and type must be absent
 4      This one tests "form"
 5  -->
 6  <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo">
 7  	
 8    <element name="foo">
 9    	  <complexType>
10    	  	<attribute ref="foo:bar" form="qualified"/> 	  		
11    	  </complexType>    
12    </element>  
13    
14    <attribute name="bar" type="string"/>
15  
16  </schema>