From 1ed4fc6cb74053d8fc57492b01a18c32fb2a2b81 Mon Sep 17 00:00:00 2001 From: Gabor Kovesdan Date: Thu, 4 Apr 2013 12:11:43 +0000 Subject: [PATCH] - Backport some constraints from DocBook 5.0; this will help keeping things consistent and facilitate a future technology upgrade --- share/xml/freebsd.sch | 169 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 169 insertions(+) diff --git a/share/xml/freebsd.sch b/share/xml/freebsd.sch index b7978bf8fe..5c5cd0075a 100644 --- a/share/xml/freebsd.sch +++ b/share/xml/freebsd.sch @@ -38,4 +38,173 @@ Invalid os value (); must be either 'freebsd8', 'freebsd9' or 'freebsd10'. + + + + + + @linkend on firstterm must point to a glossentry. + + + + + + @linkend on footnoteref must point to a footnote. + + + + + + @linkend on glossterm must point to a glossentry. + + + + + + @linkend on synopfragmentref must point to a synopfragment. + + + + + + @otherterm on glosssee must point to a glossentry. + + + + + + @otherterm on glossseealso must point to a glossentry. + + + + + + A termdef must contain exactly one firstterm + + + + + + The number of seg elements must be the same as the number of segtitle elements in the parent segmentedlist + + + + + + annotation must not occur in the descendants of annotation + + + caution must not occur in the descendants of caution + important must not occur in the descendants of caution + note must not occur in the descendants of caution + tip must not occur in the descendants of caution + warning must not occur in the descendants of caution + + + caution must not occur in the descendants of important + important must not occur in the descendants of important + note must not occur in the descendants of important + tip must not occur in the descendants of important + warning must not occur in the descendants of important + + + caution must not occur in the descendants of note + important must not occur in the descendants of note + note must not occur in the descendants of note + tip must not occur in the descendants of note + warning must not occur in the descendants of note + + + caution must not occur in the descendants of tip + important must not occur in the descendants of tip + note must not occur in the descendants of tip + tip must not occur in the descendants of tip + warning must not occur in the descendants of tip + + + caution must not occur in the descendants of warning + important must not occur in the descendants of warning + note must not occur in the descendants of warning + tip must not occur in the descendants of warning + warning must not occur in the descendants of warning + + + caution must not occur in the descendants of caption + equation must not occur in the descendants of caption + example must not occur in the descendants of caption + figure must not occur in the descendants of caption + important must not occur in the descendants of caption + note must not occur in the descendants of caption + sidebar must not occur in the descendants of caption + table must not occur in the descendants of caption + task must not occur in the descendants of caption + tip must not occur in the descendants of caption + warning must not occur in the descendants of caption + + + caution must not occur in the descendants of equation + equation must not occur in the descendants of equation + example must not occur in the descendants of equation + figure must not occur in the descendants of equation + important must not occur in the descendants of equation + note must not occur in the descendants of equation + table must not occur in the descendants of equation + tip must not occur in the descendants of equation + warning must not occur in the descendants of equation + + + caution must not occur in the descendants of example + equation must not occur in the descendants of example + example must not occur in the descendants of example + figure must not occur in the descendants of example + important must not occur in the descendants of example + note must not occur in the descendants of example + table must not occur in the descendants of example + tip must not occur in the descendants of example + warning must not occur in the descendants of example + + + caution must not occur in the descendants of figure + equation must not occur in the descendants of figure + example must not occur in the descendants of figure + figure must not occur in the descendants of figure + important must not occur in the descendants of figure + note must not occur in the descendants of figure + table must not occur in the descendants of figure + tip must not occur in the descendants of figure + warning must not occur in the descendants of figure + + + caution must not occur in the descendants of table + equation must not occur in the descendants of table + example must not occur in the descendants of table + figure must not occur in the descendants of table + important must not occur in the descendants of table + informaltable must not occur in the descendants of table + note must not occur in the descendants of table + tip must not occur in the descendants of table + warning must not occur in the descendants of table + + + caution must not occur in the descendants of footnote + epigraph must not occur in the descendants of footnote + equation must not occur in the descendants of footnote + example must not occur in the descendants of footnote + figure must not occur in the descendants of footnote + footnote must not occur in the descendants of footnote + important must not occur in the descendants of footnote + indexterm must not occur in the descendants of footnote + note must not occur in the descendants of footnote + sidebar must not occur in the descendants of footnote + table must not occur in the descendants of footnote + task must not occur in the descendants of footnote + tip must not occur in the descendants of footnote + warning must not occur in the descendants of footnote + + + sidebar must not occur in the descendants of sidebar + +