Skip to content

Commit 2c8c8a5

Browse files
committed
Readd cppcheck-errors.rng
1 parent 2d08564 commit 2c8c8a5

File tree

1 file changed

+95
-0
lines changed

1 file changed

+95
-0
lines changed

cppcheck-errors.rng

+95
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<grammar xmlns="http://relaxng.org/ns/structure/1.0" ns="" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes">
3+
<start>
4+
<element name="results">
5+
<attribute name="version">
6+
<choice>
7+
<value type="string">2</value>
8+
</choice>
9+
</attribute>
10+
<element name="cppcheck">
11+
<attribute name="version">
12+
<data type="string">
13+
<param name="pattern">[1-9]\.[0-9]+.*</param>
14+
</data>
15+
</attribute>
16+
</element>
17+
<element name="errors">
18+
<zeroOrMore>
19+
<element name="error">
20+
<attribute name="id">
21+
<data type="NCName"/>
22+
</attribute>
23+
<optional>
24+
<attribute name="inconclusive">
25+
<data type="boolean"/>
26+
</attribute>
27+
</optional>
28+
<attribute name="msg">
29+
<data type="string"/>
30+
</attribute>
31+
<attribute name="severity">
32+
<choice>
33+
<value type="string">error</value>
34+
<value type="string">information</value>
35+
<value type="string">performance</value>
36+
<value type="string">portability</value>
37+
<value type="string">style</value>
38+
<value type="string">warning</value>
39+
</choice>
40+
</attribute>
41+
<attribute name="verbose">
42+
<data type="string"/>
43+
</attribute>
44+
<optional>
45+
<attribute name="file0">
46+
<data type="string"/>
47+
</attribute>
48+
</optional>
49+
<optional>
50+
<attribute name="cwe">
51+
<data type="integer">
52+
<param name="minExclusive">0</param>
53+
</data>
54+
</attribute>
55+
</optional>
56+
<optional>
57+
<attribute name="hash">
58+
<data type="integer">
59+
<param name="minExclusive">1</param>
60+
</data>
61+
</attribute>
62+
</optional>
63+
<zeroOrMore>
64+
<element name="location">
65+
<attribute name="file">
66+
<data type="string"/>
67+
</attribute>
68+
<attribute name="line">
69+
<data type="integer">
70+
<param name="minInclusive">0</param>
71+
</data>
72+
</attribute>
73+
<attribute name="column">
74+
<data type="integer">
75+
<param name="minInclusive">0</param>
76+
</data>
77+
</attribute>
78+
<optional>
79+
<attribute name="info">
80+
<data type="string"/>
81+
</attribute>
82+
</optional>
83+
</element>
84+
</zeroOrMore>
85+
<zeroOrMore>
86+
<element name="symbol">
87+
<data type="string"/>
88+
</element>
89+
</zeroOrMore>
90+
</element>
91+
</zeroOrMore>
92+
</element>
93+
</element>
94+
</start>
95+
</grammar>

0 commit comments

Comments
 (0)