Bug#451258: fop: footnote inside varlistentry is not rendered in PDF output

Michalis Kamburelis michalis.kambi at gmail.com
Wed Nov 14 14:53:24 UTC 2007


Package: fop
Version: 1:0.93.dfsg.1-2
Severity: normal

Take this DocBook file:
  http://michalis.ii.uni.wroc.pl/~michalis/tmp/a.xml
Convert to XML-FO by:
  xsltproc -o a.fo /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/fo/docbook.xsl a.xml

(using --stringparam fop1.extensions 1 doesn't change the bug).
Then convert it to PDF by

  fop -fo a.fo a.pdf

This produces this PDF output:
  http://michalis.ii.uni.wroc.pl/~michalis/tmp/a.pdf

which lacks the first footnote. The a.fo file contains both footnotes.
Also HTML output (by
  xmlto html a.xml -x /usr/share/sgml/docbook/stylesheet/xsl/nwalsh/html/chunk.xsl
) contains both footnotes. So I guess the problem is in FOP.
This construct once worked in some FOP 0.20.x version.

Even if you remove the second footnote,
the bug stays --- so the first footnote is not somehow "hidden" by
the second footnote. I added second footnote only to show that
footnote from normal paragraph (outside of DocBook's varlistentry)
works OK.

I'm using fop with sun-java6 (with gcj it fails badly, I assume that's
known problem).

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.22-2-686 (SMP w/1 CPU core)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fop depends on:
ii  gij [java2-runtim 4:4.2.1-6              The GNU Java bytecode interpreter
ii  gij-4.1 [java2-ru 4.1.2-16               The GNU Java bytecode interpreter
ii  gij-4.2 [java2-ru 4.2.1-5                The GNU Java bytecode interpreter
ii  libavalon-framewo 4.2.0-4                Common framework for Java server a
ii  libbatik-java     1.6-3                  xml.apache.org SVG Library
ii  libbsf-java       1:2.3.0+cvs20050308a-2 Bean Scripting Framework to suppor
ii  libcommons-io-jav 1.3.2-2                Common useful IO related classes
ii  libcommons-loggin 1.1-1                  commmon wrapper interface for seve
ii  libxalan2-java    2.7.0-5                XSL Transformations (XSLT) process
ii  libxerces2-java   2.8.1-2                Validating XML parser for Java wit
ii  libxmlgraphics-co 1.1.dfsg.2-1           reusable components used by Batik 
ii  libxp6            1:1.0.0.xsf1-1         X Printing Extension (Xprint) clie
ii  libxt6            1:1.0.5-3              X11 toolkit intrinsics library
ii  libxtst6          2:1.0.3-1              X11 Testing -- Resource extension 
ii  sun-java6-jre [ja 6-00-2                 Sun Java(TM) Runtime Environment (

fop recommends no packages.

-- no debconf information





More information about the pkg-java-maintainers mailing list