Bug #1633
closedLicense file URI resolved incorrectly
100%
Description
"The license file must be placed in the home directory of the Saxon-CE software: this directory will contain two subdirectories Saxonce and SaxonceDEBUG, as well as the license file which must be named saxonce-license-1.txt"
I included the Saxonce.nocache.js script on http://localhost:8080/. Now Saxon-CE looks for the license file in http://saxonce-license-1.txt/
I think the license file should be resolved relative to the Saxonce.nocache.js file.
Also, the resolving method is incorrect, because if it resolves ../saxonce-license-1.txt agains http://localhost:8080/, the result should be http://localhost:8080/saxonce-license-1.txt
Now Saxon-CE cannot be used in the root directory of a domain.
Updated by Yolijn van der Kolk about 12 years ago
Further investigation indicates that the file is in fact resolved against the .js file, but as ../../../saxon-ce-license-1.txt instead of ../../saxon-ce-license-1.txt as the e-mail I received suggested. The problem remains that Saxon-CE can't be used in the root directory.
Updated by O'Neil Delpratt about 12 years ago
- Status changed from New to In Progress
- Assignee set to O'Neil Delpratt
Thanks very much for reporting the problem you are having. We have found the incorrect code and are working on a fix.
Updated by O'Neil Delpratt about 12 years ago
- Status changed from In Progress to Resolved
- % Done changed from 0 to 100
Bug has now been fixed and will be available in the next maintenance release
Updated by O'Neil Delpratt almost 12 years ago
- Status changed from Resolved to Closed
- Sprint/Milestone set to Release 1.1
- Fixed in version set to 1.1
Bug fixed for Saxon-CE version 1.1 release
Please register to edit this issue