Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
MAS
SDT
Commits
b6ec8466
Commit
b6ec8466
authored
Dec 10, 2014
by
AS
Browse files
Added data points as decided at HGI Q4 2014 meeting.
parent
3cbc93e3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
42 additions
and
0 deletions
+42
-0
src/domain.rng
src/domain.rng
+26
-0
src/domain.xsd
src/domain.xsd
+16
-0
No files found.
src/domain.rng
View file @
b6ec8466
...
...
@@ -140,6 +140,9 @@
<optional>
<ref name="Actions"/>
</optional>
<optional>
<ref name="Data"/>
</optional>
<optional>
<ref name="Events"/>
</optional>
...
...
@@ -182,6 +185,29 @@
</element>
</define>
<define name="Data">
<element name="Data">
<zeroOrMore>
<element name="DataPoint">
<attribute name="name">
<text/>
</attribute>
<optional>
<attribute name="type">
<ref name="DataType"/>
</attribute>
</optional>
<optional>
<attribute name="writable">
<data type="boolean"/>
</attribute>
</optional>
<ref name="Doc"/>
</element>
</zeroOrMore>
</element>
</define>
<define name="Events">
<element name="Events">
<zeroOrMore>
...
...
src/domain.xsd
View file @
b6ec8466
...
...
@@ -115,6 +115,7 @@
<xs:element
minOccurs=
"0"
ref=
"extends"
/>
<xs:group
ref=
"Doc"
/>
<xs:element
minOccurs=
"0"
ref=
"Actions"
/>
<xs:element
minOccurs=
"0"
ref=
"Data"
/>
<xs:element
minOccurs=
"0"
ref=
"Events"
/>
</xs:sequence>
<xs:attribute
name=
"name"
use=
"required"
/>
...
...
@@ -157,6 +158,21 @@
<xs:attribute
name=
"type"
use=
"required"
type=
"DataType"
/>
</xs:complexType>
</xs:element>
<xs:element
name=
"Data"
>
<xs:complexType>
<xs:sequence>
<xs:element
minOccurs=
"0"
maxOccurs=
"unbounded"
ref=
"DataPoint"
/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element
name=
"DataPoint"
>
<xs:complexType>
<xs:group
ref=
"Doc"
/>
<xs:attribute
name=
"name"
use=
"required"
/>
<xs:attribute
name=
"type"
type=
"DataType"
/>
<xs:attribute
name=
"writable"
type=
"xs:boolean"
/>
</xs:complexType>
</xs:element>
<xs:element
name=
"Events"
>
<xs:complexType>
<xs:sequence>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment