]> granicus.if.org Git - docbook-dsssl/commitdiff
Fix content model for toplevel sections and article components
authorNorman Walsh <ndw@nwalsh.com>
Wed, 6 Jul 2005 19:10:38 +0000 (19:10 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Wed, 6 Jul 2005 19:10:38 +0000 (19:10 +0000)
docbook/relaxng/docbook/src/sect1.rnc

index 9f40a15773ec634d3b7103e3a4788213a91d899c..66c3bf10939770f1a644bf001527126ec6c4111b 100644 (file)
@@ -16,11 +16,11 @@ namespace s = "http://www.ascc.net/xml/schematron"
 namespace db = "http://docbook.org/ns/docbook"
 default namespace = "http://docbook.org/ns/docbook"
 
-db.toplevel.optional.sections |= db.sect1*
-db.toplevel.required.sections |= db.sect1+
+db.toplevel.optional.sections |= (db.sect1*, db.simplesect*)
+db.toplevel.required.sections |= (db.sect1+, db.simplesect*) | db.simplesect+
 
-db.article.optional.components |= db.sect1*
-db.article.required.components |= db.sect1+
+db.article.optional.components |= (db.sect1*, db.simplesect*)
+db.article.required.components |= (db.sect1+, db.simplesect*) | db.simplesect+
 
 # ======================================================================