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

2014-02-06 Thread Eugene Zhukov
Hello, A fresh look/opinion is welcome! Could someone please take a fresh look at the bug #567210. After closer look at my last test results (described in my two last mails to the bug), I tend to think the problem lies in Saxon-{B|HE}. Any comments are very much appreciated, Eugene __ This is

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

2014-01-31 Thread Eugene Zhukov
On Thu, Jan 30, 2014 at 1:49 PM, Eugene Zhukov jevgeni...@gmail.com wrote: It fails immediately without network, but hangs and succeeds with network. Saxon does not have a local copy of PUBLIC -//W3C//DTD XHTML+RDFa is not shown anymore! With tcpdump and wireshark I see a request: GET

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

2014-01-30 Thread Eugene Zhukov
On Wed, Jan 29, 2014 at 4:25 PM, Michael Kay m...@saxonica.com wrote: Warning: SXXP0005: The source document is in namespace http://www.w3.org/2005/Atom, but none of the template rules match elements in this namespace You can ignore that warning for present purposes. [...] Saxon does not

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

2014-01-29 Thread Eugene Zhukov
On Tue, Jan 28, 2014 at 4:25 PM, Michael Kay m...@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

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

2014-01-29 Thread Michael Kay
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:

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

2014-01-29 Thread Eugene Zhukov
On Wed, Jan 29, 2014 at 11:00 AM, Michael Kay m...@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

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

2014-01-29 Thread Michael Kay
OK, so the problem seems to be here: Cannot read xhtml11/xhtml-inlpres-1.mod file and the reason would appear to be the absence of the w3c/ prefix on the file name. This takes us to here: https://saxonica.plan.io/boards/3/topics/5625 and that in turn leads me to

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

2014-01-29 Thread Eugene Zhukov
On Wed, Jan 29, 2014 at 3:01 PM, Michael Kay m...@saxonica.com wrote: OK, so the problem seems to be here: Cannot read xhtml11/xhtml-inlpres-1.mod file I tried with latest 9.4 and it wasn't the case anymore, but main problem persisted. and the reason would appear to be the absence of the

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

2014-01-29 Thread Michael Kay
Warning: SXXP0005: The source document is in namespace http://www.w3.org/2005/Atom, but none of the template rules match elements in this namespace You can ignore that warning for present purposes. [...] Saxon does not have a local copy of PUBLIC -//W3C//DTD XHTML+RDFa 1.0//EN SYSTEM