Bug#605940: libxmlgraphics-commons-java: handles top-level elements in XMP poorly

brian m. carlson sandals at crustytoothpaste.net
Sat Dec 4 21:00:45 UTC 2010


Package: libxmlgraphics-commons-java
Version: 1.4.dfsg-1
Severity: normal
Tags: patch

XMP permits only rdf:Description elements directly under rdf:RDF.
libxmlgraphics-commons-java does not enforce this and produces some odd
results in the XMP (it looks like it treats top-level non-Description
elements as properties).  Attached is a patch that raises an exception
if it discovers this in XMP data.  It is part of a larger patch that
also fixes another bug that I am about to file.

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

Kernel: Linux 2.6.32-5-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/dash

Versions of packages libxmlgraphics-commons-java depends on:
ii  default-jre-headless [java2- 1:1.6-40    Standard Java or Java compatible R
ii  gcj-4.4-jre-headless [java2- 4.4.5-9     Java runtime environment using GIJ
ii  gcj-jre-headless [java2-runt 4:4.4.5-1   Java runtime environment using GIJ
ii  openjdk-6-jre-headless [java 6b20~pre1-2 OpenJDK Java runtime, using Hotspo

libxmlgraphics-commons-java recommends no packages.

libxmlgraphics-commons-java suggests no packages.

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xmlgraphics-commons.patch
Type: text/x-diff
Size: 6226 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20101204/3a1d640f/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20101204/3a1d640f/attachment.pgp>


More information about the pkg-java-maintainers mailing list