diff dtd/module.dtd @ 171:6eeaa9e1f3b5

Made "appeared-in" an element, and added support for multiple "appeared-in" specifications.
author Ruslan Ermilov <ru@nginx.com>
date Thu, 03 Nov 2011 21:40:27 +0000
parents 682163f2b298
children 4c6d2c614d2c
line wrap: on
line diff
--- a/dtd/module.dtd
+++ b/dtd/module.dtd
@@ -12,10 +12,9 @@
             name        CDATA #IMPLIED
 >
 
-<!ELEMENT   directive   (syntax+, default+, context*, para+) >
+<!ELEMENT   directive   (syntax+, default+, context*, appeared-in*, para+) >
 <!ATTLIST   directive
             name        ID #REQUIRED
-            appeared-in CDATA #IMPLIED
 >
 
 <!ELEMENT   syntax      (#PCDATA | argument | code | parameter | value)* >
@@ -27,6 +26,8 @@
 
 <!ELEMENT   context     (#PCDATA)* >
 
+<!ELEMENT   appeared-in (#PCDATA)* >
+
 <!ELEMENT   para        (#PCDATA | argument | c-def | c-func | code | command |
                          emphasis | example | header | http-status | link |
                          list | note | parameter | path | value | var)* >