1 <?xml version="1.0" encoding="ISO-8859-1" ?>
3 type and either <simpleType> or <complexType> are mutually exclusive
5 <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo">
7 <element name="foo" type="foo:someType">
10 <element name="bar" type="string"/>
15 <element name="bar" type="foo:someType">
17 <restriction base="string">
18 <maxLength value="20"/>
23 <complexType name="someType">
25 <element name="bar" type="string"/>