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

Eugene Zhukov jevgeni.zh at gmail.com
Wed Jan 29 12:41:13 UTC 2014


On Wed, Jan 29, 2014 at 11:00 AM, Michael Kay <mike at saxonica.com> wrote:
> If you use the -t option on the command line, then attempts to use local copies of W3C DTDs will be traced on System.err. Hopefully this will shed more light on why the mechanism isn't working for you.
>
> The EntityResolver that Saxon uses in 9.4 can be found here:
>
> https://dev.saxonica.com/repos/archive/opensource/tags/9.4.0.7/hej/net/sf/saxon/lib/StandardEntityResolver.java
>
> I'm not sure why the data files aren't included under the 9.4.0.7 Subversion tag, but the files are here:
>
> https://dev.saxonica.com/repos/archive/opensource/latest9.4/data/w3c/
>
> I note that your JAR file has been renamed, so it's possible it has also been rebuilt. Look inside it with a ZIP utility and check for the directory named "w3c".
>
> A list of the W3C documents bundled with Saxon for 9.5 can also be found here:
>
> http://www.saxonica.com/documentation/index.html#!sourcedocs/w3c-dtds
>
> and the corresponding list for 9.4 is at:
>
> http://www.saxonica.com/documentation9.4-demo/index.html#!sourcedocs/w3c-dtds
>
Thanks for the links!
I downloaded the official release from [0] and tried the test with it.
Here is the result with network: http://paste.debian.net/78983/
And here is the result without network: http://paste.debian.net/78984/
As you can see the test without network still fails. With this -t
option, when the test succeeds, you can see Saxon fetching a local
copy, but that doesn't seem to be the case without network.

[0] http://sourceforge.net/projects/saxon/files/Saxon-HE/9.4/SaxonHE9-4-0-7J.zip/download

Eugene



More information about the pkg-java-maintainers mailing list