<xs:attribute name="valid" default="true">
<xs:annotation>
<xs:documentation>indicates the intended validity of the example with respect to a schema.</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:token">
<xs:enumeration value="true">
<xs:annotation>
<xs:documentation>the example is intended to be fully valid, assuming that its root element, or a provided root element, could have been used as a possible root element in the schema concerned.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="feasible">
<xs:annotation>
<xs:documentation>the example could be transformed into a valid document by inserting any number of valid attributes and child elements anywhere within it; or it is valid against a version of the schema concerned in which the provision of character data, list, element, or attribute values has been made optional.</xs:documentation>
</xs:annotation>
</xs:enumeration>
<xs:enumeration value="false">
<xs:annotation>
<xs:documentation>the example is not intended to be valid, and contains deliberate errors.</xs:documentation>
</xs:annotation>
</xs:enumeration>
</xs:restriction>
</xs:simpleType>
</xs:attribute> |