Commit 11793741 authored by ankraft's avatar ankraft

Changed type ID to Name

parent 242cac83
......@@ -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
......
......@@ -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>
......
......@@ -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>
......
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