Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SDT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MAS
SDT
Commits
50d65407
Commit
50d65407
authored
9 years ago
by
ankraft
Browse files
Options
Downloads
Patches
Plain Diff
<data> element in event is now optional
parent
c2394d92
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
SDT/schema3.0/etc/domain.rnc
+1
-10
1 addition, 10 deletions
SDT/schema3.0/etc/domain.rnc
SDT/schema3.0/src/domain.rng
+3
-1
3 additions, 1 deletion
SDT/schema3.0/src/domain.rng
SDT/schema3.0/src/domain.xsd
+1
-19
1 addition, 19 deletions
SDT/schema3.0/src/domain.xsd
with
5 additions
and
30 deletions
SDT/schema3.0/etc/domain.rnc
+
1
−
10
View file @
50d65407
...
...
@@ -35,15 +35,6 @@ Domain =
}*
}?
}
DeviceInfos =
element DeviceInfos {
element DeviceInfo {
attribute name { text },
attribute optional { xsd:boolean }?,
DocDef,
DataTypeDef
}*
}
Characteristics =
element Characteristics {
element Characteristic {
...
...
@@ -155,6 +146,6 @@ Events =
attribute name { text },
attribute optional { xsd:boolean }?,
DocDef,
Data
Data
?
}*
}
This diff is collapsed.
Click to expand it.
SDT/schema3.0/src/domain.rng
+
3
−
1
View file @
50d65407
...
...
@@ -357,7 +357,9 @@
</attribute>
</optional>
<ref name="DocDef"/>
<ref name="Data" />
<optional>
<ref name="Data" />
</optional>
</element>
</zeroOrMore>
</element>
...
...
This diff is collapsed.
Click to expand it.
SDT/schema3.0/src/domain.xsd
+
1
−
19
View file @
50d65407
...
...
@@ -66,24 +66,6 @@
<xs:attribute
name=
"id"
use=
"required"
type=
"xs:Name"
/>
</xs:complexType>
</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:complexType>
<xs:sequence>
...
...
@@ -283,7 +265,7 @@
<xs:complexType>
<xs:sequence>
<xs:group
ref=
"DocDef"
/>
<xs:element
ref=
"Data"
/>
<xs:element
minOccurs=
"0"
ref=
"Data"
/>
</xs:sequence>
<xs:attribute
name=
"name"
use=
"required"
/>
<xs:attribute
name=
"optional"
type=
"xs:boolean"
/>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment