Maintenance: Planio will be observing a scheduled maintenance window this Sunday, November 10, 2024 from 20:00 UTC until 21:00 UTC to perform important network maintenance in our primary data center. Your Planio account will be unavailable for a few minutes during this maintenance window.
Forums » Saxon-CE help »
Problem testing SaxonCE locally
Added by Robert Muetzelfeldt over 11 years ago
I've unzipped Saxon-CE into a local directory, and tried to test it out using the 'book' sample application. I get the following message in the Chromium console:
Unsafe JavaScript attempt to access frame with URL file:///home/robert/Projects/XMILE/Saxon/test_books/books.html from frame with URL file:///home/robert/Projects/XMILE/Saxon/Saxonce/6D08C01821381D35BD12009B44D2D65D.cache.html. Domains, protocols and ports must match.
Do I have to install it on a server (as implied in the Installation section), or should I be able to use it locally?
Thanks,
Robert
Please register to reply
Yes indeed, you will need some sort of web server. If locally, you can install IIS (on windows only) or apache2. There are many lite weight applications that can act as a http server. The mac os has a inbuilt web server software available too.
I believe there might be some browser and some set of security configuration parameters that makes it possible to use Saxon-CE locally, but it's definitely simpler to set up a local HTTP server such as Jetty.
Please register to reply