mirror of
https://github.com/moparisthebest/xeps
synced 2024-11-21 08:45:04 -05:00
DTD, XSD: Add tags element in header
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
40e954b499
commit
e4fdc477b7
@ -22,6 +22,9 @@
|
||||
<supersedes/>
|
||||
<supersededby/>
|
||||
<shortname>NOT_YET_ASSIGNED</shortname>
|
||||
<tags>
|
||||
<tag>template</tag>
|
||||
</tags>
|
||||
<author>
|
||||
<firstname>Peter</firstname>
|
||||
<surname>Saint-Andre</surname>
|
||||
|
4
xep.dtd
4
xep.dtd
@ -27,7 +27,7 @@ THE SOFTWARE.
|
||||
<!ELEMENT xep ( header, section1* ) >
|
||||
<!ATTLIST xep
|
||||
xmlns CDATA '' >
|
||||
<!ELEMENT header ( title, abstract, legal, number, status, lastcall*, interim*, type, sig, approver*, dependencies, supersedes, supersededby, shortname, schemaloc*, registry?, discuss?, expires?, author+, revision+, councilnote? ) >
|
||||
<!ELEMENT header ( title, abstract, legal, number, status, lastcall*, interim*, type, sig, approver*, dependencies, supersedes, supersededby, shortname, tags?, schemaloc*, registry?, discuss?, expires?, author+, revision+, councilnote?) >
|
||||
<!ELEMENT title (#PCDATA)* >
|
||||
<!ELEMENT abstract (#PCDATA)* >
|
||||
<!ELEMENT legal ( copyright, permissions, warranty, liability, conformance ) >
|
||||
@ -68,6 +68,8 @@ THE SOFTWARE.
|
||||
<!ELEMENT initials (#PCDATA)* >
|
||||
<!ELEMENT remark (#PCDATA | p | ul)* >
|
||||
<!ELEMENT councilnote (#PCDATA)* >
|
||||
<!ELEMENT tags ( tag* ) >
|
||||
<!ELEMENT tag (#PCDATA)* >
|
||||
<!ELEMENT section1 ( div | p | section2 | example | code | cve | ul | ol | dl | table )* >
|
||||
<!ATTLIST section1
|
||||
topic CDATA ''
|
||||
|
9
xep.xsd
9
xep.xsd
@ -70,6 +70,7 @@ THE SOFTWARE.
|
||||
<xs:element ref='supersedes'/>
|
||||
<xs:element ref='supersededby'/>
|
||||
<xs:element name='shortname' type='xs:NCName'/>
|
||||
<xs:element ref='tags' minOccurs='0'/>
|
||||
<xs:element ref='schemaloc' minOccurs='0' maxOccurs='unbounded'/>
|
||||
<xs:element name='registry' minOccurs='0' type='empty'/>
|
||||
<xs:element name='discuss' minOccurs='0' type='xs:string'/>
|
||||
@ -196,6 +197,14 @@ THE SOFTWARE.
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name='tags'>
|
||||
<xs:complexType>
|
||||
<xs:sequence minOccurs='1' maxOccurs='unbounded'>
|
||||
<xs:element name='tag' type='xs:string'/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
<xs:element name='remark'>
|
||||
<xs:complexType>
|
||||
<xs:choice>
|
||||
|
Loading…
Reference in New Issue
Block a user