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
11793741
Commit
11793741
authored
Apr 24, 2019
by
ankraft
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed type ID to Name
parent
242cac83
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
domain.rnc
SDT/schema4.0/etc/domain.rnc
+2
-2
domain.rng
SDT/schema4.0/src/domain.rng
+2
-2
domain.xsd
SDT/schema4.0/src/domain.xsd
+2
-2
No files found.
SDT/schema4.0/etc/domain.rnc
View file @
11793741
...
...
@@ -11,7 +11,7 @@ start = Domain
Domain =
element Domain {
attribute xml:base { xsd:anyURI }?,
attribute id { xsd:
ID
},
attribute id { xsd:
Name
},
DocDef,
element Imports { Domain+ }?,
element DataTypes { DataTypeDef+ }?,
...
...
@@ -159,7 +159,7 @@ ExtendsDef =
# TODO: singular
element extends {
# TODO: Uppercase , singular
attribute domain { xsd:
IDREF
},
attribute domain { xsd:
Name
},
attribute class { text },
element excludes {
# TODO: Uppercase + "...s" -> Excludes
...
...
SDT/schema4.0/src/domain.rng
View file @
11793741
...
...
@@ -26,7 +26,7 @@
</attribute>
</optional>
<attribute name="id">
<data type="
ID
"/>
<data type="
Name
"/>
</attribute>
<ref name="DocDef"/>
<optional>
...
...
@@ -407,7 +407,7 @@
<optional>
<element name="extends"> <!-- TODO: Uppercase , singular-->
<attribute name="domain">
<data type="
IDREF
"/>
<data type="
Name
"/>
</attribute>
<attribute name="class"/>
<optional>
...
...
SDT/schema4.0/src/domain.xsd
View file @
11793741
...
...
@@ -26,7 +26,7 @@
<xs:element
minOccurs=
"0"
ref=
"DeviceClasses"
/>
</xs:sequence>
<xs:attribute
ref=
"xml:base"
/>
<xs:attribute
name=
"id"
use=
"required"
type=
"xs:
ID
"
/>
<xs:attribute
name=
"id"
use=
"required"
type=
"xs:
Name
"
/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
...
...
@@ -360,7 +360,7 @@
<xs:sequence>
<xs:element
minOccurs=
"0"
ref=
"excludes"
/>
</xs:sequence>
<xs:attribute
name=
"domain"
use=
"required"
type=
"xs:
IDREF
"
/>
<xs:attribute
name=
"domain"
use=
"required"
type=
"xs:
Name
"
/>
<xs:attribute
name=
"class"
use=
"required"
/>
</xs:complexType>
</xs:element>
...
...
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