Skip to content

Commit 594281c

Browse files
committed
Improve specification of version attributes
1 parent 6c9681f commit 594281c

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

cppcheck-errors.rng

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,15 @@
33
<start>
44
<element name="results">
55
<attribute name="version">
6-
<data type="integer"/>
6+
<choice>
7+
<value type="string">2</value>
8+
</choice>
79
</attribute>
810
<element name="cppcheck">
911
<attribute name="version">
10-
<data type="string"/>
12+
<data type="string">
13+
<param name="pattern">[1-9]\.[0-9]+</param>
14+
</data>
1115
</attribute>
1216
</element>
1317
<element name="errors">

0 commit comments

Comments
 (0)