Daniel Veillard | 50355f0 | 2004-06-08 17:52:16 +0000 | [diff] [blame] | 1 | <?xml version="1.0" encoding="ISO-8859-1" ?> |
| 2 | <!-- |
| 3 | --> |
| 4 | <schema xmlns="http://www.w3.org/2001/XMLSchema" |
| 5 | targetNamespace="http://FOO" |
| 6 | xmlns:foo="http://FOO" elementFormDefault="qualified" attributeFormDefault="qualified"> |
| 7 | |
| 8 | <element name="foo"> |
| 9 | <complexType> |
| 10 | <complexContent> |
| 11 | <extension base="foo:type.A"> |
| 12 | <anyAttribute namespace="http://DOO" processContents="skip"/> |
| 13 | </extension> |
| 14 | </complexContent> |
| 15 | </complexType> |
| 16 | </element> |
| 17 | |
| 18 | <complexType name="type.A"> |
| 19 | <attributeGroup ref="foo:attrGr.A_1"/> |
| 20 | <attributeGroup ref="foo:attrGr.A_2"/> |
| 21 | <anyAttribute namespace="http://FOO" processContents="skip"/> |
| 22 | </complexType> |
| 23 | |
| 24 | <attributeGroup name="attrGr.A_1"> |
| 25 | <anyAttribute namespace="http://FOO http://BOO" processContents="skip"/> |
| 26 | </attributeGroup> |
| 27 | |
| 28 | <attributeGroup name="attrGr.A_2"> |
| 29 | <anyAttribute namespace="http://BAR http://DOO http://FOO" processContents="skip"/> |
| 30 | </attributeGroup> |
| 31 | |
| 32 | |
| 33 | </schema> |