William M. Brack | 2f2a663 | 2004-08-20 23:09:47 +0000 | [diff] [blame] | 1 | <?xml version="1.0"?> |
| 2 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
| 3 | targetNamespace="http://FOO" |
| 4 | xmlns:foo="http://FOO"> |
| 5 | |
| 6 | <xsd:complexType name="base"> |
| 7 | <xsd:simpleContent> |
| 8 | <xsd:extension base="xsd:string"/> |
| 9 | </xsd:simpleContent> |
| 10 | </xsd:complexType> |
| 11 | |
| 12 | <xsd:element name="foo"> |
| 13 | <xsd:complexType> |
| 14 | <xsd:simpleContent> |
| 15 | <xsd:restriction base="foo:base"> |
| 16 | <xsd:simpleType> |
| 17 | <xsd:restriction base="xsd:string"/> |
| 18 | </xsd:simpleType> |
| 19 | </xsd:restriction> |
| 20 | </xsd:simpleContent> |
| 21 | </xsd:complexType> |
| 22 | </xsd:element> |
| 23 | |
| 24 | </xsd:schema> |