From 117937410378908d79217a2aa911e47f363a7779 Mon Sep 17 00:00:00 2001
From: ankraft <an.kraft@googlemail.com>
Date: Wed, 24 Apr 2019 15:32:07 +0200
Subject: [PATCH] Changed type ID to Name

---
 SDT/schema4.0/etc/domain.rnc | 4 ++--
 SDT/schema4.0/src/domain.rng | 4 ++--
 SDT/schema4.0/src/domain.xsd | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/SDT/schema4.0/etc/domain.rnc b/SDT/schema4.0/etc/domain.rnc
index 9eeaa53..7224166 100644
--- a/SDT/schema4.0/etc/domain.rnc
+++ b/SDT/schema4.0/etc/domain.rnc
@@ -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
diff --git a/SDT/schema4.0/src/domain.rng b/SDT/schema4.0/src/domain.rng
index 7527cab..715c324 100644
--- a/SDT/schema4.0/src/domain.rng
+++ b/SDT/schema4.0/src/domain.rng
@@ -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>
diff --git a/SDT/schema4.0/src/domain.xsd b/SDT/schema4.0/src/domain.xsd
index 5375d8a..3b8bbeb 100644
--- a/SDT/schema4.0/src/domain.xsd
+++ b/SDT/schema4.0/src/domain.xsd
@@ -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>
-- 
GitLab