Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SDT
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
16
Issues
16
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MAS
SDT
Commits
84fbbaa1
Commit
84fbbaa1
authored
Apr 25, 2019
by
ankraft
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed all ID types to Name. Corrected EchonetLiteExample test
parent
2d82a80a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
28 deletions
+30
-28
domain.rnc
SDT/schema4.0/etc/domain.rnc
+9
-9
domain.rng
SDT/schema4.0/src/domain.rng
+11
-9
domain.xsd
SDT/schema4.0/src/domain.xsd
+9
-9
EchonetLiteExamples.xml
SDT/schema4.0/test/EchonetLiteExamples.xml
+1
-1
No files found.
SDT/schema4.0/etc/domain.rnc
View file @
84fbbaa1
...
...
@@ -39,7 +39,7 @@ Domain =
PropertiesDef =
element Properties {
element Property {
attribute name {
text
},
attribute name {
xsd:Name
},
attribute optional { xsd:boolean }?,
attribute value { text }?,
attribute semanticURI { xsd:anyURI }?,
...
...
@@ -49,7 +49,7 @@ PropertiesDef =
}
DataTypeDef =
element DataType {
attribute name {
text
}?,
attribute name {
xsd:Name
}?,
attribute unitOfMeasure { text }?,
attribute semanticURI { xsd:anyURI }?,
DocDef,
...
...
@@ -78,7 +78,7 @@ BasicType =
| "void"
EnumValueDef =
element EnumValue {
attribute name {
text
},
attribute name {
xsd:Name
},
attribute value { text },
attribute type { BasicType }?,
attribute semanticURI { xsd:anyURI }?,
...
...
@@ -87,7 +87,7 @@ EnumValueDef =
ConstraintsDef =
element Constraints {
element Constraint {
attribute name {
text
},
attribute name {
xsd:Name
},
attribute type { BasicType }?,
attribute value { text }?,
attribute semanticURI { xsd:anyURI }?,
...
...
@@ -112,7 +112,7 @@ DocDef =
ModuleClasses =
element ModuleClasses {
element ModuleClass {
attribute name {
text
},
attribute name {
xsd:Name
},
attribute optional { xsd:boolean }?,
attribute semanticURI { xsd:anyURI }?,
DocDef,
...
...
@@ -127,7 +127,7 @@ ModuleClasses =
Actions =
element Actions {
element Action {
attribute name {
text
},
attribute name {
xsd:Name
},
attribute optional { xsd:boolean }?,
attribute semanticURI { xsd:anyURI }?,
DocDef,
...
...
@@ -138,7 +138,7 @@ Actions =
ArgDef =
element Args {
element Arg {
attribute name {
text
},
attribute name {
xsd:Name
},
attribute semanticURI { xsd:anyURI }?,
DocDef,
DataTypeDef
...
...
@@ -147,7 +147,7 @@ ArgDef =
Data =
element Data {
element DataPoint {
attribute name {
text
},
attribute name {
xsd:Name
},
attribute optional { xsd:boolean }?,
attribute writable { xsd:boolean }?,
attribute readable { xsd:boolean }?,
...
...
@@ -160,7 +160,7 @@ Data =
Events =
element Events {
element Event {
attribute name {
text
},
attribute name {
xsd:Name
},
attribute optional { xsd:boolean }?,
attribute semanticURI { xsd:anyURI }?,
DocDef,
...
...
SDT/schema4.0/src/domain.rng
View file @
84fbbaa1
...
...
@@ -106,7 +106,7 @@
<oneOrMore>
<element name="Property">
<attribute name="name">
<
text
/>
<
data type="Name"
/>
</attribute>
<optional>
<attribute name="optional">
...
...
@@ -135,7 +135,7 @@
<element name="DataType">
<optional>
<attribute name="name">
<
text
/>
<
data type="Name"
/>
</attribute>
</optional>
<optional>
...
...
@@ -220,7 +220,7 @@
<define name="EnumValueDef">
<element name="EnumValue">
<attribute name="name">
<
text
/>
<
data type="Name"
/>
</attribute>
<attribute name="value">
<text/>
...
...
@@ -245,7 +245,7 @@
<oneOrMore>
<element name="Constraint">
<attribute name="name">
<
text
/>
<
data type="Name"
/>
</attribute>
<optional>
<attribute name="type">
...
...
@@ -317,7 +317,7 @@
<oneOrMore>
<element name="ModuleClass">
<attribute name="name">
<
text
/>
<
data type="Name"
/>
</attribute>
<optional>
<attribute name="optional">
...
...
@@ -354,7 +354,7 @@
<oneOrMore>
<element name="Action">
<attribute name="name">
<
text
/>
<
data type="Name"
/>
</attribute>
<optional>
<attribute name="optional">
...
...
@@ -383,7 +383,9 @@
<element name="Args">
<oneOrMore>
<element name="Arg">
<attribute name="name"/>
<attribute name="name">
<data type="Name"/>
</attribute>
<optional>
<attribute name="semanticURI">
<data type="anyURI"/>
...
...
@@ -402,7 +404,7 @@
<oneOrMore>
<element name="DataPoint">
<attribute name="name">
<
text
/>
<
data type="Name"
/>
</attribute>
<optional>
<attribute name="optional">
...
...
@@ -442,7 +444,7 @@
<oneOrMore>
<element name="Event">
<attribute name="name">
<
text
/>
<
data type="Name"
/>
</attribute>
<optional>
<attribute name="optional">
...
...
SDT/schema4.0/src/domain.xsd
View file @
84fbbaa1
...
...
@@ -103,7 +103,7 @@
<xs:sequence>
<xs:element
ref=
"SimpleType"
/>
</xs:sequence>
<xs:attribute
name=
"name"
use=
"required"
/>
<xs:attribute
name=
"name"
use=
"required"
type=
"xs:Name"
/>
<xs:attribute
name=
"optional"
type=
"xs:boolean"
/>
<xs:attribute
name=
"value"
/>
<xs:attribute
name=
"semanticURI"
type=
"xs:anyURI"
/>
...
...
@@ -127,7 +127,7 @@
</xs:choice>
<xs:element
minOccurs=
"0"
ref=
"Constraints"
/>
</xs:sequence>
<xs:attribute
name=
"name"
/>
<xs:attribute
name=
"name"
type=
"xs:Name"
/>
<xs:attribute
name=
"unitOfMeasure"
/>
<xs:attribute
name=
"semanticURI"
type=
"xs:anyURI"
/>
</xs:extension>
...
...
@@ -180,7 +180,7 @@
<xs:complexType>
<xs:complexContent>
<xs:extension
base=
"DocDef"
>
<xs:attribute
name=
"name"
use=
"required"
/>
<xs:attribute
name=
"name"
use=
"required"
type=
"xs:Name"
/>
<xs:attribute
name=
"value"
use=
"required"
/>
<xs:attribute
name=
"type"
type=
"BasicType"
/>
<xs:attribute
name=
"semanticURI"
type=
"xs:anyURI"
/>
...
...
@@ -199,7 +199,7 @@
<xs:complexType>
<xs:complexContent>
<xs:extension
base=
"DocDef"
>
<xs:attribute
name=
"name"
use=
"required"
/>
<xs:attribute
name=
"name"
use=
"required"
type=
"xs:Name"
/>
<xs:attribute
name=
"type"
type=
"BasicType"
/>
<xs:attribute
name=
"value"
/>
<xs:attribute
name=
"semanticURI"
type=
"xs:anyURI"
/>
...
...
@@ -268,7 +268,7 @@
<xs:element
minOccurs=
"0"
ref=
"Data"
/>
<xs:element
minOccurs=
"0"
ref=
"Events"
/>
</xs:sequence>
<xs:attribute
name=
"name"
use=
"required"
/>
<xs:attribute
name=
"name"
use=
"required"
type=
"xs:Name"
/>
<xs:attribute
name=
"optional"
type=
"xs:boolean"
/>
<xs:attribute
name=
"semanticURI"
type=
"xs:anyURI"
/>
</xs:extension>
...
...
@@ -290,7 +290,7 @@
<xs:element
minOccurs=
"0"
ref=
"DataType"
/>
<xs:element
minOccurs=
"0"
ref=
"Args"
/>
</xs:sequence>
<xs:attribute
name=
"name"
use=
"required"
/>
<xs:attribute
name=
"name"
use=
"required"
type=
"xs:Name"
/>
<xs:attribute
name=
"optional"
type=
"xs:boolean"
/>
<xs:attribute
name=
"semanticURI"
type=
"xs:anyURI"
/>
</xs:extension>
...
...
@@ -311,7 +311,7 @@
<xs:sequence>
<xs:element
ref=
"DataType"
/>
</xs:sequence>
<xs:attribute
name=
"name"
use=
"required"
/>
<xs:attribute
name=
"name"
use=
"required"
type=
"xs:Name"
/>
<xs:attribute
name=
"semanticURI"
type=
"xs:anyURI"
/>
</xs:extension>
</xs:complexContent>
...
...
@@ -331,7 +331,7 @@
<xs:sequence>
<xs:element
ref=
"DataType"
/>
</xs:sequence>
<xs:attribute
name=
"name"
use=
"required"
/>
<xs:attribute
name=
"name"
use=
"required"
type=
"xs:Name"
/>
<xs:attribute
name=
"optional"
type=
"xs:boolean"
/>
<xs:attribute
name=
"writable"
type=
"xs:boolean"
/>
<xs:attribute
name=
"readable"
type=
"xs:boolean"
/>
...
...
@@ -355,7 +355,7 @@
<xs:sequence>
<xs:element
minOccurs=
"0"
ref=
"Data"
/>
</xs:sequence>
<xs:attribute
name=
"name"
use=
"required"
/>
<xs:attribute
name=
"name"
use=
"required"
type=
"xs:Name"
/>
<xs:attribute
name=
"optional"
type=
"xs:boolean"
/>
<xs:attribute
name=
"semanticURI"
type=
"xs:anyURI"
/>
</xs:extension>
...
...
SDT/schema4.0/test/EchonetLiteExamples.xml
View file @
84fbbaa1
...
...
@@ -116,7 +116,7 @@
<ModuleClass
name=
"washingMachineDataPoints"
>
<Data>
<DataPoint
name=
"door
/CoverOpen/
CloseStatus"
readable=
"true"
writable=
"false"
>
<DataPoint
name=
"door
_CoverOpen_
CloseStatus"
readable=
"true"
writable=
"false"
>
<Doc>
This property indicates whether the door/cover is open or closed.
</Doc>
<DataType>
<!-- <SimpleType type="enum" /> -->
...
...
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