summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2011-01-04 16:41:59 +0000
committerIan C <ianc@noddybox.co.uk>2011-01-04 16:41:59 +0000
commit695a0d97c22e37fff8f742c03423eb93981e0f99 (patch)
tree786a85cf9a15c81a7cde8f2618d6b21ef866c5b6 /config
parentdd23611f9af395e52e5a032f2a68c7c5a4f378d2 (diff)
Removed config schema
Diffstat (limited to 'config')
-rw-r--r--config/config.xsd57
1 files changed, 0 insertions, 57 deletions
diff --git a/config/config.xsd b/config/config.xsd
deleted file mode 100644
index d0bcbaf..0000000
--- a/config/config.xsd
+++ /dev/null
@@ -1,57 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<xs:schema id="XMLSchema1" targetNamespace="http://noddybox.co.uk/schema/sdlgrav/v1/config.xsd" elementFormDefault="qualified" xmlns="http://noddybox.co.uk/schema/sdlgrav/v1/config.xsd" xmlns:mstns="http://noddybox.co.uk/schema/sdlgrav/v1/config.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema">
- <xs:simpleType name="GravValueType">
- <xs:restriction base="xs:string">
- <xs:minLength value="1" />
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="GravPositionType">
- <xs:sequence>
- </xs:sequence>
- <xs:attribute name="x" type="GravValueType" />
- <xs:attribute name="y" type="GravValueType" />
- <xs:attribute name="z" type="GravValueType" />
- </xs:complexType>
- <xs:complexType name="GravVectorType">
- <xs:sequence />
- <xs:attribute name="dx" type="GravValueType" />
- <xs:attribute name="dy" type="GravValueType" />
- <xs:attribute name="dz" type="GravValueType" />
- </xs:complexType>
- <xs:complexType name="GravColourType">
- <xs:sequence>
- </xs:sequence>
- <xs:attribute name="r" type="GravColourIntensityType" />
- <xs:attribute name="g" type="GravColourIntensityType" />
- <xs:attribute name="b" type="GravColourIntensityType" />
- </xs:complexType>
- <xs:simpleType name="GravColourIntensityType">
- <xs:restriction base="xs:nonNegativeInteger">
- <xs:minInclusive value="0" />
- <xs:maxInclusive value="255" />
- </xs:restriction>
- </xs:simpleType>
- <xs:complexType name="GravConstantsType">
- <xs:sequence />
- <xs:attribute name="G" type="GravValueType" />
- </xs:complexType>
- <xs:element name="GravConfig">
- <xs:complexType>
- <xs:sequence>
- <xs:sequence>
- <xs:element name="Universe" type="GravConstantsType" />
- <xs:element name="Mass" type="GravMassType" minOccurs="1" maxOccurs="1" />
- </xs:sequence>
- </xs:sequence>
- </xs:complexType>
- </xs:element>
- <xs:complexType name="GravMassType">
- <xs:sequence>
- <xs:element name="Position" type="GravPositionType" />
- <xs:element name="Vector" type="GravVectorType" />
- <xs:element name="Colour" type="GravColourType" />
- </xs:sequence>
- <xs:attribute name="mass" type="GravValueType" />
- <xs:attribute name="density" type="xs:positiveInteger" />
- </xs:complexType>
-</xs:schema>