Bug#567210: doc-available always returns false without network

Eugene Zhukov jevgeni.zh at gmail.com
Wed Jan 29 08:28:42 UTC 2014


On Tue, Jan 28, 2014 at 4:25 PM, Michael Kay <mike at saxonica.com> wrote:
> Saxon-B 9.1 does not include copies of these resources.
>
> You can always write a URIResolver and direct the request to copies held at application level, but it can't be done "behind the scenes".
>
> My recommendation would be to move forward to a later Saxon release that fixes the problem. The current release is 9.5. We have no plans to issue further maintenance releases for 9.1, although we do appreciate that some users have been sticking with that release because of the discontinuities introduced between 9.1 and 9.2.
>

We have Saxon-HE 9.4.0.7 in Debian archive. So I tried the above
test-case with it:
$ java -cp /etc/xml/resolver:/usr/share/java/xml-resolver.jar:/usr/share/java/Saxon-HE.jar
-Dxml.catalog.files=/etc/xml/catalog -Dxml.catalog.verbosity=1
net.sf.saxon.Transform -s:foo.xml -xsl:foo.xsl

The result is it still fails without network. With network it works.
Also, when I look into the source code of Saxon-HE 9.4.0.7 at [0], I
cannot find the local copies of those resources. So I don't understand
how it would work without the network. What did I miss?

[0] https://dev.saxonica.com/repos/archive/opensource/tags/9.4.0.7/

Eugene



More information about the pkg-java-maintainers mailing list