| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<xs:schema targetNamespace="http://xmlschema.test/ns" |
| 3 |
xmlns:tst="http://xmlschema.test/ns" |
| 4 |
xmlns:xs="http://www.w3.org/2001/XMLSchema"> |
| 5 |
<xs:element name="e1" type="tst:t1"/> |
| 6 |
<xs:complexType name="t1"> |
| 7 |
<xs:complexContent mixed="true"> |
| 8 |
<xs:restriction base="xs:anyType"> |
| 9 |
<xs:choice minOccurs="0" maxOccurs="unbounded"> |
| 10 |
<xs:element name="e2" type="xs:string"/> |
| 11 |
</xs:choice> |
| 12 |
<xs:attribute type="xs:string" name="a1"/> |
| 13 |
</xs:restriction> |
| 14 |
</xs:complexContent> |
| 15 |
</xs:complexType> |
| 16 |
</xs:schema> |