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
50d65407
Commit
50d65407
authored
Oct 06, 2015
by
ankraft
Browse files
<data> element in event is now optional
parent
c2394d92
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
30 deletions
+5
-30
SDT/schema3.0/etc/domain.rnc
SDT/schema3.0/etc/domain.rnc
+1
-10
SDT/schema3.0/src/domain.rng
SDT/schema3.0/src/domain.rng
+3
-1
SDT/schema3.0/src/domain.xsd
SDT/schema3.0/src/domain.xsd
+1
-19
No files found.
SDT/schema3.0/etc/domain.rnc
View file @
50d65407
...
@@ -35,15 +35,6 @@ Domain =
...
@@ -35,15 +35,6 @@ Domain =
}*
}*
}?
}?
}
}
DeviceInfos =
element DeviceInfos {
element DeviceInfo {
attribute name { text },
attribute optional { xsd:boolean }?,
DocDef,
DataTypeDef
}*
}
Characteristics =
Characteristics =
element Characteristics {
element Characteristics {
element Characteristic {
element Characteristic {
...
@@ -155,6 +146,6 @@ Events =
...
@@ -155,6 +146,6 @@ Events =
attribute name { text },
attribute name { text },
attribute optional { xsd:boolean }?,
attribute optional { xsd:boolean }?,
DocDef,
DocDef,
Data
Data
?
}*
}*
}
}
SDT/schema3.0/src/domain.rng
View file @
50d65407
...
@@ -357,7 +357,9 @@
...
@@ -357,7 +357,9 @@
</attribute>
</attribute>
</optional>
</optional>
<ref name="DocDef"/>
<ref name="DocDef"/>
<optional>
<ref name="Data" />
<ref name="Data" />
</optional>
</element>
</element>
</zeroOrMore>
</zeroOrMore>
</element>
</element>
...
...
SDT/schema3.0/src/domain.xsd
View file @
50d65407
...
@@ -66,24 +66,6 @@
...
@@ -66,24 +66,6 @@
<xs:attribute
name=
"id"
use=
"required"
type=
"xs:Name"
/>
<xs:attribute
name=
"id"
use=
"required"
type=
"xs:Name"
/>
</xs:complexType>
</xs:complexType>
</xs:element>
</xs:element>
<xs:element
name=
"DeviceInfos"
>
<xs:complexType>
<xs:sequence>
<xs:element
minOccurs=
"0"
maxOccurs=
"unbounded"
ref=
"DeviceInfo"
/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element
name=
"DeviceInfo"
>
<xs:complexType>
<xs:sequence>
<xs:group
ref=
"DocDef"
/>
<xs:element
ref=
"DataTypeDef"
/>
</xs:sequence>
<xs:attribute
name=
"name"
use=
"required"
/>
<xs:attribute
name=
"optional"
type=
"xs:boolean"
/>
<xs:attributeGroup
ref=
"DataTypeDef"
/>
</xs:complexType>
</xs:element>
<xs:element
name=
"Characteristics"
>
<xs:element
name=
"Characteristics"
>
<xs:complexType>
<xs:complexType>
<xs:sequence>
<xs:sequence>
...
@@ -283,7 +265,7 @@
...
@@ -283,7 +265,7 @@
<xs:complexType>
<xs:complexType>
<xs:sequence>
<xs:sequence>
<xs:group
ref=
"DocDef"
/>
<xs:group
ref=
"DocDef"
/>
<xs:element
ref=
"Data"
/>
<xs:element
minOccurs=
"0"
ref=
"Data"
/>
</xs:sequence>
</xs:sequence>
<xs:attribute
name=
"name"
use=
"required"
/>
<xs:attribute
name=
"name"
use=
"required"
/>
<xs:attribute
name=
"optional"
type=
"xs:boolean"
/>
<xs:attribute
name=
"optional"
type=
"xs:boolean"
/>
...
...
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