Daniel Veillard | 8839938 | 2004-06-04 09:29:37 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1" ?> |
2 | <!-- 3.2.3 : 3.2 | ||||
3 | type and <simpleType> must not both be present | ||||
4 | --> | ||||
5 | <schema xmlns="http://www.w3.org/2001/XMLSchema" targetNamespace="http://foo" xmlns:foo="http://foo"> | ||||
6 | |||||
7 | <attribute name="bar" type="string"> | ||||
8 | <simpleType> | ||||
9 | <restriction base="string"> | ||||
10 | <maxLength value="20"/> | ||||
11 | </restriction> | ||||
12 | </simpleType> | ||||
13 | </attribute> | ||||
14 | |||||
15 | <element name="foo"/> | ||||
16 | |||||
17 | </schema> |