Test on file access

Expectations:

  1. An xml uriincl.xml is in same directory as stylesheet
  2. program run from /sgml/uriincl directory
  3. Access to an h: drive is accessible(else change it) - Not viable on *nix?
  4. If windows, \\church is available (same as h:).
  5. The test file is available on h:
Form used SAXON 6.5.2 from Michael Kay vsn 1 Microsoft vsn 1 libxslt vsn 1.0 Apache Software Foundation vsn 1 Fourthought Inc. vsn 1
uriIncl.xml OK OK OK OK OK
file:/uriIncl.xml failed Not run failed failed failed
file://uriIncl.xml failed Not run failed failed failed
file:///uriIncl.xml failed Not run OK failed failed
file:///c:/sgml/uriincl/uriIncl.xml OK OK OK OK failed
file://c:/sgml/uriincl/uriIncl.xml OK OK failed OK failed
file:/c:/sgml/uriincl/uriIncl.xml OK OK failed OK failed
file:///h:/uriIncl.xml OK OK OK OK failed
file://h:/uriIncl.xml failed OK failed failed failed
file:/h:/uriIncl.xml OK OK failed OK failed
file:/localhost/c:/sgml/files/uriIncl.xml failed Not run failed failed failed
file://localhost/c:/sgml/uriincl/uriIncl.xml OK OK OK OK failed
file:///localhost/c:/sgml/files/uriIncl.xml failed Not run failed failed failed
h:/uriIncl.xml failed OK OK OK Not run
\\church\data3\users\dpawson\uriIncl.xml failed OK failed OK failed
//church/data3/users/dpawson/uriIncl.xml failed OK OK failed OK
file://church/data3/users/dpawson/uriIncl.xml failed OK failed failed OK
file://\\church\data3\users\dpawson\uriIncl.xml failed OK failed OK OK
file:///h:/uriIncl.xml OK OK OK OK failed
file:///h:/uriIncl.xml OK OK OK OK failed
'' failed Not run failed failed failed
file:///c:/sgml/uriincl/uriincl.xml OK OK OK OK Not run

Conclusions

uri access is quite variably implemented. Also limited by OS (acceptable), by language (variable, e.g. Java security restricts access to networked drives) and by implementors options.