Package: libsaxon-java Version: 1:6.5.5-6 Severity: minor File: /usr/share/java/saxon.jar
When using a stylesheet and source file that both use XML text declarations of <?xml version="1.0" encoding="UTF-8" ?> but the stylesheet does not provide an xsl:output element, Saxon produces output containing the following declaration: <?xml version="1.0" encoding="utf-8"?> According to the XML 1.0 Recommendation (Fifth Edition), XML processors SHOULD match character encoding names in a case-insensitive way.... This is a should: XML processors *should* do it, but are not obligated to do it, and an XML processor may legitimately reject the encoding declaration as unknown. The Recommendation also states: In an encoding declaration, the values " UTF-8 ", " UTF-16 ", " ISO-10646-UCS-2 ", and " ISO-10646-UCS-4 " SHOULD be used for the various encodings and transformations of Unicode / ISO/IEC 10646.... Saxon should produce an XML prolog that uses "UTF-8" instead of "utf-8". Xalan and xsltproc already produce such a declaration. -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.32-trunk-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 libsaxon-java depends on: ii default-jre [java2-runtime] 1.6-34 Standard Java or Java compatible R ii gcj-4.4-jre [java2-runtime] 4.4.3-1 Java runtime environment using GIJ ii gcj-jre [java2-runtime] 4:4.4.2-3 Java runtime environment using GIJ ii openjdk-6-jre [java2-runtime] 6b17-1.7-1 OpenJDK Java runtime, using Hotspo libsaxon-java recommends no packages. Versions of packages libsaxon-java suggests: ii libjdom1-java 1.1.1+dfsg-1 lightweight and fast library using pn libsaxon-java-doc <none> (no description available) -- no debconf information -- brian m. carlson / brian with sandals: Houston, Texas, US +1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
signature.asc
Description: Digital signature