aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--samples/m0.xsd11
-rw-r--r--samples/mutator0-report-schema.xsd44
2 files changed, 29 insertions, 26 deletions
diff --git a/samples/m0.xsd b/samples/m0.xsd
index 8a44b3a..abbafe1 100644
--- a/samples/m0.xsd
+++ b/samples/m0.xsd
@@ -4,10 +4,10 @@
<mutagen:schema xmlns:mutagen="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2001/XMLSchema">
- <mutagen:element name="Report">
+ <mutagen:element name="DoomedStrain">
<mutagen:complexType>
<mutagen:sequence>
- <mutagen:element name="DoomedStrains" maxOccurs="1"/>
+ <mutagen:element name="Strain" maxOccurs="unbounded"/>
</mutagen:sequence>
</mutagen:complexType>
</mutagen:element>
@@ -20,10 +20,13 @@
</mutagen:complexType>
</mutagen:element>
- <mutagen:element name="DoomedStrain">
+ <mutagen:element name="WeakStrains"/>
+
+ <mutagen:element name="Report">
<mutagen:complexType>
<mutagen:sequence>
- <mutagen:element name="Strain" maxOccurs="unbounded"/>
+ <mutagen:element name="DoomedStrains" maxOccurs="unbounded"/>
+ <mutagen:element name="WeakStrains" maxOccurs="unbounded"/>
</mutagen:sequence>
</mutagen:complexType>
</mutagen:element>
diff --git a/samples/mutator0-report-schema.xsd b/samples/mutator0-report-schema.xsd
index 7edf2c3..94644c9 100644
--- a/samples/mutator0-report-schema.xsd
+++ b/samples/mutator0-report-schema.xsd
@@ -4,29 +4,29 @@
<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: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="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:element name="Report">
+ <mutator:complexType>
+ <mutator:sequence>
+ <mutator:element name="MisraDiag" maxOccurs="unbounded"/>
+ </mutator:sequence>
+ </mutator:complexType>
+ </mutator:element>
</mutator:schema>