Bug#644897: fop: Some warnings/errors are written to stdout instead of stderr
Tristan Seligmann
mithrandi at mithrandi.net
Mon Oct 10 10:30:36 UTC 2011
Package: fop
Version: 1:1.0.dfsg2-3
Severity: important
For example:
tristan at amber:~> fop input.fo output.pdf 2>/dev/null
table-layout="fixed" and width="auto", but auto-layout not supported =>
assuming width="100%". (See position 12:44)
This is merely anoying if you are writing output to a file, but when
writing output to stdout (by passing -), this is actively harmful. I've
attached a reduced example that can be used to reproduce this, but I'm
not sure that this is the only message that gets written to stdout like
this.
-- System Information:
Debian Release: 6.0.2
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages fop depends on:
ii default-jre-head 1:1.6-40 Standard Java or Java compatible R
ii gij-4.3 [java2-r 4.3.2-2 The GNU Java bytecode interpreter
ii java-gcj-compat- 1.0.78-2 Java runtime environment using GIJ
ii java-wrappers 0.1.16 wrappers for java executables
ii libavalon-framew 4.2.0-7 Common framework for Java server a
ii libbatik-java 1.7-6 xml.apache.org SVG Library
ii libbsf-java 1:2.4.0-4 Bean Scripting Framework to suppor
ii libcommons-io-ja 1.4-3 Common useful IO related classes
ii libcommons-loggi 1.1.1-8 commmon wrapper interface for seve
ii libxalan2-java 2.7.1-5 XSL Transformations (XSLT) process
ii libxerces2-java 2.9.1-4.1 Validating XML parser for Java wit
ii libxml-commons-e 1.3.05-2 XML Commons external code - DOM, S
ii libxmlgraphics-c 1.4.dfsg-3 reusable components used by Batik
ii libxt6 1:1.0.7-1 X11 toolkit intrinsics library
ii libxtst6 2:1.1.0-3 X11 Testing -- Record extension li
ii openjdk-6-jre-he 6b18-1.8.9-0.1~squeeze1 OpenJDK Java runtime, using Hotspo
ii sun-java6-jre [j 6.26-0squeeze1 Sun Java(TM) Runtime Environment (
Versions of packages fop recommends:
ii libsaxon-java 1:6.5.5-6 The Saxon XSLT Processor
Versions of packages fop suggests:
pn fop-doc <none> (no description available)
pn libservlet2.4-java <none> (no description available)
-- no debconf information
-------------- next part --------------
<fo:root xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master page-width="210mm" page-height="297mm" master-name="my-page">
<fo:region-body region-name="main" margin="1.0cm"></fo:region-body>
<fo:region-before region-name="header-main" extent="2.0cm"></fo:region-before>
<fo:region-after region-name="footer-main" extent="1.0cm"></fo:region-after>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="my-page">
<fo:flow flow-name="main">
<fo:table table-layout="fixed">
<fo:table-column column-width="5cm"></fo:table-column>
<fo:table-body>
<fo:table-row>
<fo:table-cell color="white" border="1px solid black" background-color="black" text-align="center">
<fo:block>Blah blah</fo:block>
</fo:table-cell>
</fo:table-row>
</fo:table-body>
</fo:table>
</fo:flow>
</fo:page-sequence>
</fo:root>
More information about the pkg-java-maintainers
mailing list