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

index 6050f31bbf3380254952546af585258bad2b7a57..92fa03b75cfaf9dca233b0a2b0126ba14143abf8 100644 (file)
@@ -60,16 +60,16 @@ db.label.attribute = attribute label { text }
 
 # ======================================================================
 
-db.toplevel.optional.sections = db.section* | db.simplesect*
+db.toplevel.optional.sections = (db.section*, db.simplesect*)
 
-db.toplevel.required.sections = db.section+ | db.simplesect+
+db.toplevel.required.sections = (db.section+, db.simplesect*) | db.simplesect+
 
 db.toplevel.blocks.or.sections =
   (db.all.blocks+, db.toplevel.optional.sections) | db.toplevel.required.sections
 
-db.recursive.optional.sections = db.section* | db.simplesect*
+db.recursive.optional.sections = (db.section*, db.simplesect*)
 
-db.recursive.required.sections = db.section+ | db.simplesect+
+db.recursive.required.sections = (db.section+, db.simplesect*) | db.simplesect+
 
 db.recursive.blocks.or.sections =
   (db.all.blocks+, db.recursive.optional.sections) | db.recursive.required.sections