[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Subject: Re: DOCBOOK-APPS: Bug: XSL loses example title in answer
On Mon, Nov 26, 2001 at 12:30:06PM -0800, Christopher R. Maden wrote:
>
> Apparently, I can't post a bug to Sourceforge without becoming a member there.
>
> DocBook XML 4.1.2, DocBook XSL 1.45.
>
> XML:
>
> <qandaset>
> <qandaentry>
> <question>
> <para>Blah blah blah.</para>
> </question>
> <answer>
> <example>
> <title><filename
> moreinfo="none">file.name</filename></title>
> <programlisting format="linespecific">// Hello, World</programlisting>
> </example>
> <example>
> <title><filename
> moreinfo="none">file2.name</filename></title>
> <programlisting format="linespecific>// Goodbye, World</programlisting>
> </example>
> </answer>
> </qandaentry>
> </qandaset>
>
> The first example will print the programlisting, but not the example's
> title. The second example will print the correctly-numbered title
> (including the preceding omitted one in the numbering) and its programlisting.
>
I went ahead and filed a bug report #485946 for this.
The first child of <answer> is being handled in a
manner that I think assumes it is a para, and it doesn't
work when it is something like an example. I attached
a patch file to the bug report and assigned it to
Norm, because only he knows the logic he used in
handling the first child that way. I hope he
remembers what it was. 8^)
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
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]
Powered by eList eXpress LLC