robwhitby/xray — pull request #24 by myoung34 (2013-06-13 18:27:00+00:00)
Title: Absolute paths throw off app-server

xray app server should point to the xray folder and let index.xqy handle the rewrite.

Scenario: already have an app running in /opt/{nameofapp}/ml with app server pointed there
Put xray next to it at /opt/{nameofapp}/xray

The test files and src/xray.xqy use absolute paths /xray/.....
Since the appserver is already pointed here, it looks for /opt/{nameofapp}/xray/xray/....

Absolute paths are evil, the refs should assume the app server is already pointed to the location of the directory that contains index.xqy and look for subfolders from where they currently reside.