Hi Maud,
502 means that the server returned an invalid answer. It could be that the relative paths cannot be correctly resolved (but I’m not sure why it seemed to work with previous versions of BaseX). Have you moved some of the files? I’ll be happy to have a look at the files in question; could you send them to me?
Merci d'avance, Christian
On Mon, May 30, 2016 at 11:04 AM, Maud Ingarao maud.ingarao@ens-lyon.fr wrote:
PS : I forgot to mention a very interesting and very strange thing :
When the xquery render() function below calls http://rey.huma-num.fr/synopsx/files/xsl/tei2html.xsl directly, it works perfectly. It is only when called from another xsl (itself lying in the static/ directory) that we get this I/O 502 error : [GET] http://rey.huma-num.fr/home; Stopped at /sites/papiersmmrey/resource/basex/webapp/synopsx/mappings/htmlWrapping.xqm, 168/33: [bxerr:BXSL0001] Error on line 7 column 77 of tei2html.xsl: XTSE0165: I/O error reported by XML parser processing http://rey.huma-num.fr/synopsx/files/xsl/tei2html.xsl: Server returned HTTP response code: 502 for URL: http://rey.huma-num.fr/synopsx/files/xsl/tei2html.xsl Stack Trace: - /sites/papiersmmrey/resource/basex/webapp/synopsx/models/synopsx.xqm, 168/49
/sites/papiersmmrey/resource/basex/webapp/synopsx/workspace/rey/_restxq/rey.xqm, 90/43