| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!-- A sample schema for testing model validation --> |
| 3 |
<xs:schema xmlns="ns" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="ns" > |
| 4 |
|
| 5 |
<xs:anyattribute notNamespace="#all"> <!-- Illegal declaration --> |
| 6 |
</xs:anyattribute> |
| 7 |
|
| 8 |
<!-- Unexpected attribute declarations (should be inside extension tag) --> |
| 9 |
<xs:complexType name="A" mixed="true"> |
| 10 |
<xs:simpleContent> |
| 11 |
<xs:extension base="xs:string"/> |
| 12 |
</xs:simpleContent> |
| 13 |
<xs:attribute name="a1" type="xs:short"/> |
| 14 |
<xs:attribute name="a2" type="xs:negativeInteger"/> |
| 15 |
</xs:complexType> |
| 16 |
|
| 17 |
</xs:schema> |