Commit 32bec006 authored by Fred Drake's avatar Fred Drake

- update names to reflect changes in the schema language

- re-organize for easier reading
parent 67e662b9
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<!ELEMENT schema (description?, metadefault?, example?, <!ELEMENT schema (description?, metadefault?, example?,
import*, import*,
(sectiontype | sectiongroup)*, (sectiontype | abstracttype)*,
(section | key | multisection | multikey)*)> (section | key | multisection | multikey)*)>
<!ATTLIST schema <!ATTLIST schema
prefix NMTOKEN #IMPLIED prefix NMTOKEN #IMPLIED
...@@ -10,22 +10,37 @@ ...@@ -10,22 +10,37 @@
keytype NMTOKEN #IMPLIED keytype NMTOKEN #IMPLIED
datatype NMTOKEN #IMPLIED> datatype NMTOKEN #IMPLIED>
<!ELEMENT component (description?, (sectiontype | sectiongroup)*)> <!ELEMENT component (description?, (sectiontype | abstracttype)*)>
<!ATTLIST component <!ATTLIST component
prefix NMTOKEN #IMPLIED> prefix NMTOKEN #IMPLIED>
<!ELEMENT extension (description?, (sectiontype | sectiongroup)*)> <!ELEMENT extension (description?, (sectiontype | abstracttype)*)>
<!ATTLIST extension <!ATTLIST extension
prefix NMTOKEN #IMPLIED> prefix NMTOKEN #IMPLIED>
<!ELEMENT import EMPTY> <!ELEMENT import EMPTY>
<!ATTLIST import <!ATTLIST import
src CDATA #REQUIRED> package NMTOKEN #IMPLIED
src CDATA #IMPLIED>
<!ELEMENT description (#PCDATA)*> <!ELEMENT description (#PCDATA)*>
<!ELEMENT metadefault (#PCDATA)*> <!ELEMENT metadefault (#PCDATA)*>
<!ELEMENT example (#PCDATA)*> <!ELEMENT example (#PCDATA)*>
<!ELEMENT sectiontype (description?, (section | key)*)>
<!ATTLIST sectiontype
name NMTOKEN #REQUIRED
prefix NMTOKEN #IMPLIED
keytype NMTOKEN #IMPLIED
datatype NMTOKEN #IMPLIED
implements NMTOKEN #IMPLIED
extends NMTOKEN #IMPLIED>
<!ELEMENT abstracttype (description?)>
<!ATTLIST abstracttype
name NMTOKEN #REQUIRED
prefix NMTOKEN #IMPLIED>
<!ELEMENT key (description?, metadefault?, example?)> <!ELEMENT key (description?, metadefault?, example?)>
<!ATTLIST key <!ATTLIST key
name NMTOKEN #REQUIRED name NMTOKEN #REQUIRED
...@@ -43,20 +58,6 @@ ...@@ -43,20 +58,6 @@
handler NMTOKEN #IMPLIED handler NMTOKEN #IMPLIED
required (yes|no) "no"> required (yes|no) "no">
<!ELEMENT sectiontype (description?, (section | key)*)>
<!ATTLIST sectiontype
type NMTOKEN #REQUIRED
prefix NMTOKEN #IMPLIED
keytype NMTOKEN #IMPLIED
datatype NMTOKEN #IMPLIED
group NMTOKEN #IMPLIED
extends NMTOKEN #IMPLIED>
<!ELEMENT sectiongroup (description?, sectiontype+)>
<!ATTLIST sectiongroup
type NMTOKEN #REQUIRED
prefix NMTOKEN #IMPLIED>
<!ELEMENT section (description?)> <!ELEMENT section (description?)>
<!ATTLIST section <!ATTLIST section
name NMTOKEN #REQUIRED name NMTOKEN #REQUIRED
......
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