This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] weird onsgmls errors


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]