aboutsummaryrefslogtreecommitdiffstats
path: root/samples
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2017-06-28 23:19:30 +0000
committerbloodstalker <thabogre@gmail.com>2017-06-28 23:19:30 +0000
commit76cc3633740e1a40997fe44b6b0ebd871f910041 (patch)
tree2a1e9d873497b962bacaaf2bedffb8d5a11c558d /samples
parentan updated version of the reports (diff)
downloadmutator-76cc3633740e1a40997fe44b6b0ebd871f910041.tar.gz
mutator-76cc3633740e1a40997fe44b6b0ebd871f910041.zip
xml schema to check the mutagen report
Diffstat (limited to 'samples')
-rw-r--r--samples/m0.xsd31
1 files changed, 31 insertions, 0 deletions
diff --git a/samples/m0.xsd b/samples/m0.xsd
new file mode 100644
index 0000000..8a44b3a
--- /dev/null
+++ b/samples/m0.xsd
@@ -0,0 +1,31 @@
+<?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-->
+
+<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:complexType>
+ <mutagen:sequence>
+ <mutagen:element name="DoomedStrains" maxOccurs="1"/>
+ </mutagen:sequence>
+ </mutagen:complexType>
+ </mutagen:element>
+
+ <mutagen:element name="DoomedStrains">
+ <mutagen:complexType>
+ <mutagen:sequence>
+ <mutagen:element name="DoomedStrain" maxOccurs="unbounded"/>
+ </mutagen:sequence>
+ </mutagen:complexType>
+ </mutagen:element>
+
+ <mutagen:element name="DoomedStrain">
+ <mutagen:complexType>
+ <mutagen:sequence>
+ <mutagen:element name="Strain" maxOccurs="unbounded"/>
+ </mutagen:sequence>
+ </mutagen:complexType>
+ </mutagen:element>
+
+</mutagen:schema>