After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 668695 - Inconsistent use of vertical whitespace when <indexterm> is used
Inconsistent use of vertical whitespace when <indexterm> is used
Status: RESOLVED NOTGNOME
Product: libxslt
Classification: Platform
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2012-01-25 21:46 UTC by Jeffrey Walton
Modified: 2012-11-03 16:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
XML file, FO output, and PDF (9.66 KB, application/zip)
2012-01-25 21:46 UTC, Jeffrey Walton
Details

Description Jeffrey Walton 2012-01-25 21:46:42 UTC
Created attachment 206137 [details]
XML file, FO output, and PDF

<?xml version="1.0" encoding="US-ASCII"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<book>
  <chapter id="ch_test">
    <title>Chapter Test</title>

    <para>This is a whitespace test due to &lt;indexterm&gt;,</para>

    <para>0 &lt;indexterm&gt; above this paragraph.</para>

    <para>0 &lt;indexterm&gt; above this paragraph.</para>

    <section id="sctn_1">
      <title>Section 1</title>

      <indexterm>
        <primary>Term 1</primary>

        <secondary>Term 1-1</secondary>
      </indexterm>

      <para>1 &lt;indexterm&gt; above this paragraph.</para>

      <para>0 &lt;indexterm&gt; above this paragraph.</para>

      <indexterm>
        <primary>Term 1</primary>

        <secondary>Term 1-1</secondary>
      </indexterm>

      <para>1 &lt;indexterm&gt; above this paragraph.</para>

    </section>

    <section id="sctn_2">
      <title>Section 2</title>

      <indexterm>
        <primary>Term 2</primary>

        <secondary>Term 2-1</secondary>
      </indexterm>

      <indexterm>
        <primary>Term 2</primary>

        <secondary>Term 2-2</secondary>
      </indexterm>

      <para>2 &lt;indexterm&gt; above this paragraph.</para>

      <indexterm>
        <primary>Term 1-1</primary>
      </indexterm>

      <para>1 &lt;indexterm&gt; above this paragraph.</para>

      <para>0 &lt;indexterm&gt; above this paragraph.</para>

      <indexterm>
        <primary>Term 2</primary>

        <secondary>Term 2-1</secondary>
      </indexterm>

      <indexterm>
        <primary>Term 2</primary>

        <secondary>Term 2-2</secondary>
      </indexterm>

      <para>2 &lt;indexterm&gt; above this paragraph.</para>

    </section>

    <section id="sctn_3">
      <title>Section 3</title>

      <indexterm>
        <primary>Term 3</primary>

        <secondary>Term 3-1</secondary>
      </indexterm>

      <indexterm>
        <primary>Term 3</primary>

        <secondary>Term 3-2</secondary>
      </indexterm>

      <indexterm>
        <primary>Term 3</primary>

        <secondary>Term 3-3</secondary>
      </indexterm>

      <para>3 &lt;indexterm&gt; above this paragraph.</para>

      <indexterm>
        <primary>Term 1-1</primary>
      </indexterm>

      <para>1 &lt;indexterm&gt; above this paragraph.</para>

      <para>0 &lt;indexterm&gt; above this paragraph.</para>

      <indexterm>
        <primary>Term 3</primary>

        <secondary>Term 3-1</secondary>
      </indexterm>

      <indexterm>
        <primary>Term 3</primary>

        <secondary>Term 3-2</secondary>
      </indexterm>

      <indexterm>
        <primary>Term 3</primary>

        <secondary>Term 3-3</secondary>
      </indexterm>

      <para>3 &lt;indexterm&gt; above this paragraph.</para>

    </section>
  </chapter>
</book>

My apologies if this is Apache's FOP
(https://issues.apache.org/bugzilla/show_bug.cgi?id=52526).
Comment 1 Jeffrey Walton 2012-01-25 21:47:03 UTC
$ xsltproc -V
Using libxml 20706, libxslt 10126 and libexslt 815
xsltproc was compiled against libxml 20706, libxslt 10126 and libexslt 815
libxslt 10126 was compiled against libxml 20706
libexslt 815 was compiled against libxml 20706
$ fop -version
FOP Version 1.0
$ uname -a
Linux studio 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012
x86_64 GNU/Linux
Comment 2 Nick Wellnhofer 2012-09-16 21:14:30 UTC
This seems to be an issue with Apache's FOP.