From: Norman Walsh Date: Fri, 21 Jul 2006 17:21:17 +0000 (+0000) Subject: Explicitly make db.set.components not allowed X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=087ef792300332b81e14ea0822513c6c386f0a8b;p=docbook-dsssl Explicitly make db.set.components not allowed --- diff --git a/docbook/relaxng/simple/sdocbook/sdocbook.rnc b/docbook/relaxng/simple/sdocbook/sdocbook.rnc index 0478a5b10..2efcbdd20 100644 --- a/docbook/relaxng/simple/sdocbook/sdocbook.rnc +++ b/docbook/relaxng/simple/sdocbook/sdocbook.rnc @@ -17,6 +17,9 @@ default namespace = "http://docbook.org/ns/docbook" start = db.article include "../../docbook/src/hier.rnc" { + # Set is recursive so we have to do this so that its definition will be pruned + db.set.components = notAllowed + db.toplevel.sections = db.section+ db.recursive.sections = db.section+