Daniel Veillard | 01fa615 | 2004-06-29 17:04:39 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?> |
| 2 | <schema xmlns="http://www.w3.org/2001/XMLSchema" |
| 3 | targetNamespace="http://FOO" xmlns:foo="http://FOO"> |
| 4 | |
| 5 | <element name="foo" type="foo:type.A"/> |
| 6 | |
| 7 | <simpleType name="type.A"> |
| 8 | <restriction> |
| 9 | <simpleType> |
| 10 | <list itemType="integer"/> |
| 11 | </simpleType> |
| 12 | <length value="3"/> |
| 13 | </restriction> |
| 14 | </simpleType> |
| 15 | |
| 16 | <!--restriction base="foo:type.base.A"> |
| 17 | |
| 18 | </restriction--> |
| 19 | |
| 20 | <simpleType name="type.base.A"> |
| 21 | <restriction> |
| 22 | <simpleType> |
| 23 | <list itemType="integer"/> |
| 24 | </simpleType> |
| 25 | </restriction> |
| 26 | </simpleType> |
| 27 | |
| 28 | |
| 29 | |
| 30 | </schema> |