-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
95 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<grammar xmlns="http://relaxng.org/ns/structure/1.0" ns="" datatypeLibrary="http://www.w3.org/2001/XMLSchema-datatypes"> | ||
<start> | ||
<element name="results"> | ||
<attribute name="version"> | ||
<choice> | ||
<value type="string">2</value> | ||
</choice> | ||
</attribute> | ||
<element name="cppcheck"> | ||
<attribute name="version"> | ||
<data type="string"> | ||
<param name="pattern">[1-9]\.[0-9]+.*</param> | ||
</data> | ||
</attribute> | ||
</element> | ||
<element name="errors"> | ||
<zeroOrMore> | ||
<element name="error"> | ||
<attribute name="id"> | ||
<data type="NCName"/> | ||
</attribute> | ||
<optional> | ||
<attribute name="inconclusive"> | ||
<data type="boolean"/> | ||
</attribute> | ||
</optional> | ||
<attribute name="msg"> | ||
<data type="string"/> | ||
</attribute> | ||
<attribute name="severity"> | ||
<choice> | ||
<value type="string">error</value> | ||
<value type="string">information</value> | ||
<value type="string">performance</value> | ||
<value type="string">portability</value> | ||
<value type="string">style</value> | ||
<value type="string">warning</value> | ||
</choice> | ||
</attribute> | ||
<attribute name="verbose"> | ||
<data type="string"/> | ||
</attribute> | ||
<optional> | ||
<attribute name="file0"> | ||
<data type="string"/> | ||
</attribute> | ||
</optional> | ||
<optional> | ||
<attribute name="cwe"> | ||
<data type="integer"> | ||
<param name="minExclusive">0</param> | ||
</data> | ||
</attribute> | ||
</optional> | ||
<optional> | ||
<attribute name="hash"> | ||
<data type="integer"> | ||
<param name="minExclusive">1</param> | ||
</data> | ||
</attribute> | ||
</optional> | ||
<zeroOrMore> | ||
<element name="location"> | ||
<attribute name="file"> | ||
<data type="string"/> | ||
</attribute> | ||
<attribute name="line"> | ||
<data type="integer"> | ||
<param name="minInclusive">0</param> | ||
</data> | ||
</attribute> | ||
<attribute name="column"> | ||
<data type="integer"> | ||
<param name="minInclusive">0</param> | ||
</data> | ||
</attribute> | ||
<optional> | ||
<attribute name="info"> | ||
<data type="string"/> | ||
</attribute> | ||
</optional> | ||
</element> | ||
</zeroOrMore> | ||
<zeroOrMore> | ||
<element name="symbol"> | ||
<data type="string"/> | ||
</element> | ||
</zeroOrMore> | ||
</element> | ||
</zeroOrMore> | ||
</element> | ||
</element> | ||
</start> | ||
</grammar> |