aboutsummaryrefslogblamecommitdiffstats
path: root/samples/mutator0-report-schema.xsd
blob: 7edf2c3c7f1376fc8bee90170fee8c9eabf26d6f (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>