Commit da830416 authored by Fred Drake's avatar Fred Drake

- update names to reflect changes in the schema language

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