aboutsummaryrefslogblamecommitdiffstats
path: root/samples/mutator0-report-schema.xsd
blob: 94644c944971cf2e5f0c59646a02cd801b790cb4 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

                                                                                           
                                                      
 
                                                                                                                                                             
 





                                                                                      
 








                                                      
 






                                                                 

                 
<?xml version="1.0" encoding="UTF-8"?>
<!--this schema is used to validate the report generated and is only meant as a dev test-->
<!--this is meant to test mutator-lvl0 not tinyxml2-->

<mutator:schema xmlns:mutator="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema">

  <mutator:attributeGroup name="MisraCReport">
    <mutator:attribute name="Misra-C-2004Rule" use="required"></mutator:attribute>
    <mutator:attribute name="FileName" use="required"></mutator:attribute>
    <mutator:attribute name="SpellingLineNumber" use="optional"></mutator:attribute>
    <mutator:attribute name="SpellingColumnNumber" use="optional"></mutator:attribute>
  </mutator:attributeGroup>

  <mutator:element name="MisraDiag">
    <mutator:complexType>
      <mutator:simpleContent>
        <mutator:extension base="mutator:string">
          <mutator:attributeGroup ref="MisraCReport"/>
        </mutator:extension>
      </mutator:simpleContent>
    </mutator:complexType>
  </mutator:element>

  <mutator:element name="Report">
    <mutator:complexType>
      <mutator:sequence>
        <mutator:element name="MisraDiag" maxOccurs="unbounded"/>
      </mutator:sequence>
    </mutator:complexType>
  </mutator:element>

</mutator:schema>