Commit 215d20c6 authored by Andreas Kraft's avatar Andreas Kraft

Made type of DataPoints required

parent 92eab929
This diff is collapsed.
...@@ -99,7 +99,7 @@ Data = ...@@ -99,7 +99,7 @@ Data =
element Data { element Data {
element DataPoint { element DataPoint {
attribute name { text }, attribute name { text },
attribute type { DataType }?, attribute type { DataType },
attribute writable { xsd:boolean }?, attribute writable { xsd:boolean }?,
attribute readable { xsd:boolean }?, attribute readable { xsd:boolean }?,
attribute eventable { xsd:boolean }?, attribute eventable { xsd:boolean }?,
......
...@@ -246,11 +246,9 @@ ...@@ -246,11 +246,9 @@
<attribute name="name"> <attribute name="name">
<text/> <text/>
</attribute> </attribute>
<optional> <attribute name="type">
<attribute name="type"> <ref name="DataType"/>
<ref name="DataType"/> </attribute>
</attribute>
</optional>
<optional> <optional>
<attribute name="writable"> <attribute name="writable">
<data type="boolean"/> <data type="boolean"/>
......
...@@ -201,7 +201,7 @@ ...@@ -201,7 +201,7 @@
<xs:complexType> <xs:complexType>
<xs:group ref="Doc"/> <xs:group ref="Doc"/>
<xs:attribute name="name" use="required"/> <xs:attribute name="name" use="required"/>
<xs:attribute name="type" type="DataType"/> <xs:attribute name="type" use="required" type="DataType"/>
<xs:attribute name="writable" type="xs:boolean"/> <xs:attribute name="writable" type="xs:boolean"/>
<xs:attribute name="readable" type="xs:boolean"/> <xs:attribute name="readable" type="xs:boolean"/>
<xs:attribute name="eventable" type="xs:boolean"/> <xs:attribute name="eventable" type="xs:boolean"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment