summaryrefslogtreecommitdiff
path: root/status/explicit-failures.xsd
blob: 6c777507200f627859b07c7cb381834cda4fc884 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

    <xs:element name="explicit-failures-markup">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="mark-toolset" maxOccurs="unbounded"/>
                <xs:element ref="library" maxOccurs="unbounded"/>
                <xs:element ref="note" maxOccurs="unbounded"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

    <xs:element name="mark-toolset">
        <xs:complexType>
            <xs:sequence>
                <xs:element name="title" type="xs:string" minOccurs="0"/>
                <xs:element name="description" type="xs:string" minOccurs="0"/>
            </xs:sequence>
            <xs:attribute name="name" type="xs:string" use="required"/>
            <xs:attribute name="status" type="xs:string" use="required"/>
        </xs:complexType>
    </xs:element>

    <xs:element name="library">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="mark-unusable" minOccurs="0" maxOccurs="unbounded"/>
                <xs:sequence>
                    <xs:choice minOccurs="0" maxOccurs="unbounded">
                        <xs:element ref="test"/>
                        <xs:element ref="mark-expected-failures"/>
                    </xs:choice>
                </xs:sequence>
            </xs:sequence>
            <xs:attribute name="name" type="xs:string" use="required"/>
        </xs:complexType>
    </xs:element>

    <xs:element name="mark-unusable">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="toolset" maxOccurs="unbounded"/>
                <xs:element ref="note" minOccurs="0" maxOccurs="unbounded"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

    <xs:element name="test">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="mark-failure" minOccurs="0" maxOccurs="unbounded"/>
                <xs:element ref="toolset" minOccurs="0"/>
                <xs:element ref="note" minOccurs="0"/>
            </xs:sequence>
            <xs:attribute name="name" type="xs:string" use="required"/>
            <xs:attribute name="category" type="xs:string"/>
        </xs:complexType>
    </xs:element>

    <xs:element name="mark-expected-failures">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="test" maxOccurs="unbounded"/>
                <xs:element ref="toolset" maxOccurs="unbounded"/>
                <xs:element ref="note"/>
            </xs:sequence>
            <xs:attribute name="reason" type="xs:string"/>
        </xs:complexType>
    </xs:element>

    <xs:element name="mark-failure">
        <xs:complexType>
            <xs:sequence>
                <xs:element ref="toolset" maxOccurs="unbounded"/>
                <xs:element ref="note" minOccurs="0" maxOccurs="unbounded"/>
            </xs:sequence>
        </xs:complexType>
    </xs:element>

    <xs:element name="note">
        <xs:complexType mixed="true">
            <xs:sequence>
                <xs:any processContents="skip" minOccurs="0" maxOccurs="unbounded"/>
            </xs:sequence>
            <xs:attribute name="refid" type="xs:string"/>
            <xs:attribute name="author" type="xs:string"/>
            <xs:attribute name="date" type="xs:string"/>
            <xs:attribute name="id" type="xs:string"/>
        </xs:complexType>
    </xs:element>

    <xs:element name="toolset">
        <xs:complexType>
            <xs:attribute name="name" type="xs:string" use="required"/>
        </xs:complexType>
    </xs:element>

</xs:schema>