Package: libsaxonb-java Version: 9.0.0.4+svn20080322-3 Severity: normal In certain cases, the doc-available function wrongly returns false when the document does, in fact, exist. The attached testcase contains three files. Running "saxonb-xslt -s:foo.xml -xsl:foo.xsl" produces the output:
Requested document is file:/tmp/saxonb-testcase/index.xhtml Missing‽ Requested document is index.xhtml Missing‽ Requested document is file:/tmp/saxonb-testcase/index.xhtml Missing‽ Requested document is index.xhtml Missing‽ Note that if Java networking works, it works correctly: Requested document is file:/tmp/saxonb-testcase/index.xhtml It exists! Requested document is index.xhtml It exists! Requested document is file:/tmp/saxonb-testcase/index.xhtml It exists! Requested document is index.xhtml It exists! Nevertheless, there is no reason to require networking for file: URIs. Saxon B should work correctly for file: URIs regardless of the state of networking, period. There is no legitimate reason to make a network request when all documents are local. Upon further examination, it appears that Saxon is attempting to do a lookup of the DTD on www.w3.org, even when -expand:off and -dtd:off are specified. It does not use catalogs to do so, and therefore fails. -- 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 libsaxonb-java depends on: ii default-jre-headless [jav 1.6-34 Standard Java or Java compatible R ii gcj-4.4-jre-headless [jav 4.4.3-1 Java runtime environment using GIJ ii gcj-jre-headless [java2-r 4:4.4.2-3 Java runtime environment using GIJ ii gij-4.3 [java2-runtime-he 4.3.4-4 The GNU Java bytecode interpreter ii libdom4j-java 1.6.1+dfsg.2-2 flexible XML framework for Java ii libjdom1-java 1.1.1+dfsg-1 lightweight and fast library using ii libxom-java 1.2.1-1 A new XML object model for Java ii openjdk-6-jre-headless [j 6b17~pre3-1 OpenJDK Java runtime, using Hotspo libsaxonb-java recommends no packages. Versions of packages libsaxonb-java suggests: pn libsaxonb-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