Commit 11793741 authored by ankraft's avatar ankraft
Browse files

Changed type ID to Name

parent 242cac83
...@@ -11,7 +11,7 @@ start = Domain ...@@ -11,7 +11,7 @@ start = Domain
Domain = Domain =
element Domain { element Domain {
attribute xml:base { xsd:anyURI }?, attribute xml:base { xsd:anyURI }?,
attribute id { xsd:ID }, attribute id { xsd:Name },
DocDef, DocDef,
element Imports { Domain+ }?, element Imports { Domain+ }?,
element DataTypes { DataTypeDef+ }?, element DataTypes { DataTypeDef+ }?,
...@@ -159,7 +159,7 @@ ExtendsDef = ...@@ -159,7 +159,7 @@ ExtendsDef =
# TODO: singular # TODO: singular
element extends { element extends {
# TODO: Uppercase , singular # TODO: Uppercase , singular
attribute domain { xsd:IDREF }, attribute domain { xsd:Name },
attribute class { text }, attribute class { text },
element excludes { element excludes {
# TODO: Uppercase + "...s" -> Excludes # TODO: Uppercase + "...s" -> Excludes
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</attribute> </attribute>
</optional> </optional>
<attribute name="id"> <attribute name="id">
<data type="ID"/> <data type="Name"/>
</attribute> </attribute>
<ref name="DocDef"/> <ref name="DocDef"/>
<optional> <optional>
...@@ -407,7 +407,7 @@ ...@@ -407,7 +407,7 @@
<optional> <optional>
<element name="extends"> <!-- TODO: Uppercase , singular--> <element name="extends"> <!-- TODO: Uppercase , singular-->
<attribute name="domain"> <attribute name="domain">
<data type="IDREF"/> <data type="Name"/>
</attribute> </attribute>
<attribute name="class"/> <attribute name="class"/>
<optional> <optional>
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
<xs:element minOccurs="0" ref="DeviceClasses"/> <xs:element minOccurs="0" ref="DeviceClasses"/>
</xs:sequence> </xs:sequence>
<xs:attribute ref="xml:base"/> <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:extension>
</xs:complexContent> </xs:complexContent>
</xs:complexType> </xs:complexType>
...@@ -360,7 +360,7 @@ ...@@ -360,7 +360,7 @@
<xs:sequence> <xs:sequence>
<xs:element minOccurs="0" ref="excludes"/> <xs:element minOccurs="0" ref="excludes"/>
</xs:sequence> </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:attribute name="class" use="required"/>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment