\r
<element name="database" type="rng:databaseType" />\r
<element name="import" type="rng:importType" />\r
+ <element name="copyright" type="rng:copyrightType" />\r
<element name="domain" type="rng:domainType" />\r
<element name="group" type="rng:groupType" />\r
<element name="use-group" type="rng:refType" />\r
<element name="bitfield" type="rng:bitfieldType" />\r
<element name="enum" type="rng:enumType" />\r
<element name="value" type="rng:valueType" />\r
- \r
+\r
+ <!-- Copyright elements -->\r
+ <element name="author" type="rng:authorType" />\r
+ <element name="nick" type="rng:nickType" />\r
+ <element name="license" type="rng:docType" />\r
+\r
<!-- Documentation elements -->\r
\r
<!-- FIXME: allowed only one per parent element -->\r
<element name="ol" type="rng:listType" />\r
<element name="li" type="rng:listitemType" />\r
\r
+ <!-- Copyright element types -->\r
+\r
+ <complexType name="authorType" mixed="true">\r
+ <annotation>\r
+ <documentation>\r
+ register database author\r
+ </documentation>\r
+ </annotation>\r
+ <choice minOccurs="0" maxOccurs="unbounded">\r
+ <element ref="rng:nick" />\r
+ </choice>\r
+ <attribute name="name" type="string" use="required" />\r
+ <attribute name="email" type="string" use="required" />\r
+ </complexType>\r
\r
+ <complexType name="nickType">\r
+ <annotation>\r
+ <documentation>nickType</documentation>\r
+ </annotation>\r
+ <attribute name="name" type="string" use="required" />\r
+ </complexType>\r
\r
<!-- Database element types -->\r
\r
<attribute name="file" type="string" use="required" />\r
</complexType>\r
\r
+ <complexType name="copyrightType">\r
+ <annotation>\r
+ <documentation>copyrightType</documentation>\r
+ </annotation>\r
+ <choice minOccurs="0" maxOccurs="unbounded">\r
+ <group ref="rng:docGroup" />\r
+ <group ref="rng:topGroup" />\r
+ <element ref="rng:author" />\r
+ <element ref="rng:license" />\r
+ </choice>\r
+ <attribute name="year" type="nonNegativeInteger" use="optional" />\r
+ </complexType>\r
+\r
<complexType name="domainType">\r
<annotation>\r
<documentation>domainType</documentation>\r
\r
<group name="topGroup">\r
<choice>\r
+ <element ref="rng:copyright" />\r
<element ref="rng:domain" />\r
<element ref="rng:enum" />\r
<element ref="rng:group" />\r