This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: [docbook-apps] weird onsgmls errors
- From: Peter Eisentraut <peter_e at gmx dot net>
- To: sds at gnu dot org,docbook-apps at lists dot oasis-open dot org
- Date: Mon, 25 Oct 2004 09:18:49 +0200
- Subject: Re: [docbook-apps] weird onsgmls errors
- References: <uekjnn9mk.fsf@gnu.org>
Sam Steingold wrote:
> onsgmls -s -e -g -c/usr/share/OpenSP/xml.soc impnotes.xml
> In entity i18n included from impnotes.xml:189:6
> onsgmls:../modules/i18n/i18n.xml:96:26:E: document type does not
> allow element "example" here; missing one of "glossary",
> "bibliography", "index" start-tag
> onsgmls:../modules/i18n/i18n.xml:96:26: open elements: book part[1]
> chapter[1] section[2] section[2] (section[1]) make: *** [check] Error
> 1
>
> I thought that example could be contained in a section!
Yes, but you cannot have regular section content after a subsection.
All regular content needs to be before the subsections.
> (xsltproc does not report any errors).
xsltproc does not validate.