Bug#518979: fop: embeds redundant metadata multiple times

brian m. carlson sandals at crustytoothpaste.ath.cx
Mon Mar 9 18:17:18 UTC 2009


Package: fop
Version: 1:0.95.dfsg-4
Severity: normal

I have included some RDF metadata in the XSL-FO files I generate.  fop
takes these metadata and creates well-formed XMP metadata from it.
However, fop produces multiple copies of these metadata and embeds them
again and again (it looks like it does this once per page):

   lakeview ok % grep -a '\?xpacket begin' an-orange-in-flight.pdf | wc -l 
   25

Obviously, I don't need twenty-five copies of the metadata; one would
be quite sufficient.  Doing this bloats the size of the PDF rather
significantly, since metadata are not compressed.

Attached are bzip2-compressed versions of the FO and PDF.


-- System Information:
Debian Release: squeeze/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-rc7-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages fop depends on:
ii  default-jre [java2-runti 1.5-31          Standard Java or Java compatible R
ii  java-gcj-compat [java2-r 1.0.80-1        Java runtime environment using GIJ
ii  java-wrappers            0.1.13          wrappers for java executables
ii  libavalon-framework-java 4.2.0-4         Common framework for Java server a
ii  libbatik-java            1.7-2           xml.apache.org SVG Library
ii  libbsf-java              1:2.4.0-2       Bean Scripting Framework to suppor
ii  libcommons-io-java       1.4-1           Common useful IO related classes
ii  libcommons-logging-java  1.1.1-2         commmon wrapper interface for seve
ii  libxalan2-java           2.7.1-2         XSL Transformations (XSLT) process
ii  libxerces2-java          2.9.1-2         Validating XML parser for Java wit
ii  libxml-commons-external- 1.3.04-2        XML Commons external code - DOM, S
ii  libxmlgraphics-commons-j 1.3.1.dfsg-2    reusable components used by Batik 
ii  libxp6                   1:1.0.0.xsf1-2  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  openjdk-6-jre [java2-run 6b14-1.5~pre1-1 OpenJDK Java runtime, using Hotspo

Versions of packages fop recommends:
ii  libsaxon-java                 1:6.5.5-5  The Saxon XSLT Processor

Versions of packages fop suggests:
ii  fop-doc                    1:0.95.dfsg-4 Documentation for fop
ii  libservlet2.4-java         5.0.30-8      Servlet 2.4 and JSP 2.0 Java class

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
troff on top of XML: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: an-orange-in-flight.fo.bz2
Type: application/octet-stream
Size: 17891 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20090309/323f0658/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: an-orange-in-flight.pdf.bz2
Type: application/octet-stream
Size: 61788 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20090309/323f0658/attachment-0003.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20090309/323f0658/attachment-0001.pgp 


More information about the pkg-java-maintainers mailing list