Thanks David for suggesting this solution.
I finally find out a Java solution for the J-ISIS application that doesn't
need any code change:
The http user agent string can be set globally with a JVM parameter:
you neeed to add -J-Dhttp.agent=\"Mozilla/5.0 (Windows NT 10.0; WOW64;
rv:50.0) Gecko/20100101 Firefox/50.0\" to the command line switches.
Adding this parameter allows to access the LoC stylesheets without getting
the http 403 error.
Best wishes,
Jean-Claude
PS) Sorry the previous message was sent by error
On Mon, Dec 12, 2016 at 9:48 PM, Cliff, David <[log in to unmask]>
wrote:
> Hey Jean-Claude,
>
> One solution would be an XML Catalog, although I’m unsure if that would
> work with Xalan – an alternative would be to write the Java equivalent of
> Kataba - https://github.com/dgcliff/kataba
>
> On 12/5/16, 12:46 PM, "Code for Libraries on behalf of Jean-Claude
> Dauphin" <[log in to unmask] on behalf of [log in to unmask]>
> wrote:
>
> Jean-Claude
>
>
--
Jean-Claude Dauphin
[log in to unmask]
[log in to unmask]
http://kenai.com/projects/j-isis/
http://www.unesco.org/isis/
http://www.unesco.org/idams/
http://www.greenstone.org
|