From 8ef50a75611cfd6fa2eebf0415f4b984d6f98192 Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Wed, 6 Jul 2005 19:06:18 +0000 Subject: [PATCH] Fix content model for toplevel and recursive sections --- docbook/relaxng/docbook/src/hier.rnc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docbook/relaxng/docbook/src/hier.rnc b/docbook/relaxng/docbook/src/hier.rnc index 6050f31bb..92fa03b75 100644 --- a/docbook/relaxng/docbook/src/hier.rnc +++ b/docbook/relaxng/docbook/src/hier.rnc @@ -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 -- 2.40.0