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 | If ref is present, then all of <simpleType>, form and type must be absent | ||||
4 | This one tests "type" | ||||
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" type="string"/> | ||||
11 | </complexType> | ||||
12 | </element> | ||||
13 | |||||
14 | <attribute name="bar" type="string"/> | ||||
15 | |||||
16 | </schema> |