forked from PHP-CS-Fixer/PHP-CS-Fixer
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcheckstyle.xsd
More file actions
42 lines (36 loc) · 1.69 KB
/
checkstyle.xsd
File metadata and controls
42 lines (36 loc) · 1.69 KB
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
<?xml version="1.0" encoding="UTF-8"?>
<!-- source: https://github.com/checkstyle/checkstyle/blob/master/config/checkstyle-report-1.0.0.xsd -->
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="checkstyle" type="checkstyleType"/>
<xs:complexType name="checkstyleType">
<xs:sequence>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element minOccurs="0" maxOccurs="unbounded" name="file" type="fileType"/>
<xs:element minOccurs="0" maxOccurs="unbounded" name="exception" type="xs:string"/>
<xs:element minOccurs="0" maxOccurs="unbounded" name="error" type="errorType"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="version" type="xs:string"/>
</xs:complexType>
<xs:complexType name="fileType">
<xs:sequence minOccurs="0" maxOccurs="unbounded">
<xs:element minOccurs="0" maxOccurs="unbounded" name="error" type="errorType"/>
<xs:element minOccurs="0" maxOccurs="unbounded" name="exception" type="xs:string"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
<xs:complexType name="errorType">
<xs:attribute name="column" type="xs:positiveInteger"/>
<xs:attribute name="line" type="xs:positiveInteger"/>
<xs:attribute name="message" type="xs:string"/>
<xs:attribute name="severity" type="severityType"/>
<xs:attribute name="source" type="xs:string"/>
</xs:complexType>
<xs:simpleType name="severityType">
<xs:restriction base="xs:string">
<xs:enumeration value="error"/>
<xs:enumeration value="warning"/>
<xs:enumeration value="info"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>