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


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

RE: DocBook: segmented list bug.


Brendan,

You don't specify which version of DocBook DTD you're using. I checked
version 4 beta 2 (XML edition), whose segmentedlist element is unchanged
from DocBook 3.1 (as far as I know). Your markup has the following errors:

1. There must be 2 or more <segtitle>s (offhand I don't understand why, but
that's what the DTD says)

2. <seglistitem> must contain 2 or more <seg>s.

It appears that Jade bombed out on finding only one <seg> inside your
<seglistitem>. Add another <seg> and you should find that Jade complains
about the single <segtitle> inside the <segmentedlist>.

Hope this helps,

Gershon.

/ Brendan J Simon wrote:
| Jade gives me an error whenever I have a segmented list which has only
| one entry.
|
| jade:seg.sgml:61:18:E: end tag for "SEGLISTITEM" which is not finished
| jade:seg.sgml:71:18:E: end tag for "SEGLISTITEM" which is not finished
|
| <segmentedlist>
|     <title> A title. </title>
|         <segtitle> A segtitle </segtitle>
|         <seglistitem>
|             <seg>
|                  A seg entry.
|             </seg>
|         </seglistitem>
| </segmentedlist>


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