This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
RE: errors ... but where
- From: "Grobe, Gary" <Gary_Grobe at bmc dot com>
- To: "'docbook at lists dot oasis-open dot org'" <docbook at lists dot oasis-open dot org>
- Date: Wed, 07 Aug 2002 10:16:38 -0500
- Subject: RE: DOCBOOK: errors ... but where
Ok, just a bit confused on the way I'm reading the DocBook Element
References now. The ref page for <sect1> says it takes <bridgehead> as a
child. Doesn't that mean that I can nest <bridgehead> inside a <sect1> tag
... as follows?
<sect1>
<bridgehead>Test</bridgehead>
<para>test</para>
</sect1>
-----Original Message-----
From: Bob Stayton [mailto:bobs@caldera.com]
Sent: Tuesday, August 06, 2002 7:04 PM
To: Grobe, Gary; 'docbook@lists.oasis-open.org'
Subject: Re: DOCBOOK: errors ... but where
On Tue, Aug 06, 2002 at 06:22:58PM -0500, Grobe, Gary wrote:
> I'm trying to find where these errors are coming from so I've made a
> simplest example and can't see what I've got wrong here (and a few hundred
> other errors like them).
>
> --- from the output, first errors from this file before several hundred
more
> ---
>
> /usr/local/cmd/bin/openjade:chap1-intro.sgml:6:11:E: start tag for "TITLE"
> omitted, but its declaration does not permit this
> /usr/local/cmd/bin/openjade:chap1-intro.sgml:6:11:E: no start tag
specified
> for implied empty element "TITLE"
>
> --- Here's a file brought in as an entity reference from my main file that
> supposedly has the errors. ---
>
> <chapter id="intro">
> <title>Introduction</title>
>
> <sect1>
> <bridgehead>Test</bridgehead>
> <para>test</para>
> </sect1>
>
> </chapter>
Well, in the DocBook DTD, sect1 does not take a bridgehead
at that point, it takes a <title> element.
If you use this it should work:
<sect1>
<title>Test</title>
<para>test</para>
</sect1>
--
Bob Stayton 400 Encinal Street
Publications Architect Santa Cruz, CA 95060
Technical Publications voice: (831) 427-7796
Caldera International, Inc. fax: (831) 429-1887
email: bobs@caldera.com