Updated schema

This commit is contained in:
sippeangelo
2015-11-25 18:04:11 +01:00
parent 55276c0bd2
commit ac05975fd5
6 changed files with 153 additions and 10 deletions
+3 -4
View File
@@ -1,18 +1,17 @@
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:t="types" xmlns:meta="../Schema.xsd">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:t="types">
<xs:import schemaLocation="../Types.xsd" namespace="types"/>
<xs:element name="Test">
<xs:annotation>
<xs:appinfo>
<meta:allocation>8</meta:allocation>
</xs:appinfo>
<xs:documentation>ECS Test Component</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:all>
<xs:element name="Integer" type="xs:integer" minOccurs="0"/>
<xs:element name="Float" type="xs:decimal" minOccurs="0"/>
<xs:element name="String" type="xs:string" minOccurs="0"/>
<xs:element name="Vector" type="t:Vector" minOccurs="0"/>
<xs:element name="Quaternion" type="t:Quaternion" minOccurs="0"/>
</xs:all>
+1 -4
View File
@@ -1,14 +1,11 @@
<?xml version="1.0"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:t="types" xmlns:meta="../Schema.xsd">
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:t="types">
<xs:import schemaLocation="../Types.xsd" namespace="types"/>
<xs:element name="Transform">
<xs:annotation>
<xs:documentation>It's a transform thingy!</xs:documentation>
<xs:appinfo>
<meta:allocation>8</meta:allocation>
</xs:appinfo>
</xs:annotation>
<xs:complexType>
<xs:all>