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
2b0bb719
Commit
2b0bb719
authored
6 years ago
by
ankraft
Browse files
Options
Downloads
Patches
Plain Diff
Removed BasicType "enum". Added BasicType "void". Added test case.
parent
901b45c3
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/schema4.0/src/domain.rng
+1
-1
1 addition, 1 deletion
SDT/schema4.0/src/domain.rng
SDT/schema4.0/src/domain.xsd
+3
-3
3 additions, 3 deletions
SDT/schema4.0/src/domain.xsd
SDT/schema4.0/test/void-test.xml
+23
-0
23 additions, 0 deletions
SDT/schema4.0/test/void-test.xml
with
27 additions
and
4 deletions
SDT/schema4.0/src/domain.rng
+
1
−
1
View file @
2b0bb719
...
...
@@ -168,12 +168,12 @@
<value>byte</value>
<value>float</value>
<value>array</value>
<value>enum</value>
<value>date</value>
<value>time</value>
<value>datetime</value>
<value>blob</value>
<value>uri</value>
<value>void</value>
</choice>
</define>
...
...
This diff is collapsed.
Click to expand it.
SDT/schema4.0/src/domain.xsd
+
3
−
3
View file @
2b0bb719
...
...
@@ -9,8 +9,8 @@
- See the license text at [https://opensource.org/licenses/BSD-3-Clause for
- full details.
-->
<xs:schema
targetNamespace=
"http://homegatewayinitiative.org/xml/dal/
3
.0"
xmlns=
"http://homegatewayinitiative.org/xml/dal/
3
.0"
<xs:schema
targetNamespace=
"http://homegatewayinitiative.org/xml/dal/
4
.0"
xmlns=
"http://homegatewayinitiative.org/xml/dal/
4
.0"
xmlns:xs=
"http://www.w3.org/2001/XMLSchema"
elementFormDefault=
"qualified"
>
...
...
@@ -136,12 +136,12 @@
<xs:enumeration
value=
"byte"
/>
<xs:enumeration
value=
"float"
/>
<xs:enumeration
value=
"array"
/>
<xs:enumeration
value=
"enum"
/>
<xs:enumeration
value=
"date"
/>
<xs:enumeration
value=
"time"
/>
<xs:enumeration
value=
"datetime"
/>
<xs:enumeration
value=
"blob"
/>
<xs:enumeration
value=
"uri"
/>
<xs:enumeration
value=
"void"
/>
</xs:restriction>
</xs:simpleType>
<xs:element
name=
"Constraints"
>
...
...
This diff is collapsed.
Click to expand it.
SDT/schema4.0/test/void-test.xml
0 → 100644
+
23
−
0
View file @
2b0bb719
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- Test the void BasicType -->
<Domain
id=
"example2.SDT"
xmlns=
"http://homegatewayinitiative.org/xml/dal/4.0"
xmlns:xi=
"http://www.w3.org/2001/XInclude"
>
<Modules>
<ModuleClass
name=
"TestVoid"
>
<Actions>
<Action
name=
"TestVoidAction"
>
<DataType>
<SimpleType
type=
"void"
/>
</DataType>
</Action>
</Actions>
<Data>
<DataPoint
name=
"TestVoidDataPoint"
writable=
"true"
>
<DataType>
<SimpleType
type=
"void"
/>
</DataType>
</DataPoint>
</Data>
</ModuleClass>
</Modules>
</Domain>
\ No newline at end of file
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