xref: /aosp_15_r20/external/libxml2/test/schemas/src-element2-1_0.xsd (revision 7c5688314b92172186c154356a6374bf7684c3ca)
1<?xml version="1.0" encoding="ISO-8859-1" ?>
2<!-- 3.2.3 : 2.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="bar" type="string"/>
8
9  <element name="foo">
10  	  <complexType>
11  	  	<sequence>
12  	  		<element name="bar" ref="foo:bar"/>
13  	  	</sequence>
14  	  </complexType>
15  </element>
16
17</schema>
18