Saxon-CE sample applications
I wanted to play with Knight's Tour sample application. Is there a download link for the samples files somewhere?
I tried to figure out which files to download from "http://www.saxonica.com/ce/demos/...".
First I copied the content of Saxonce directory to saxonica-demos. Then I created subdirectories books and tour and copied the files identified as needed.
While the books application works fine http://www.stamm-wilbrandt.de/ce/saxonica-demos/books/books.html
the Knight's Tour application only works partially: http://www.stamm-wilbrandt.de/ce/saxonica-demos/tour/tour.html
The initial board is drawn, and clicking on a square places the knight. But then nothing happens, while saxonica.com tour sample works fine: http://www.saxonica.com/ce/demos/tour/tour.html
In Firefox I do not get any error message. But in Google Chrome I get this error message after clicking on first square: SaxonCE.ScheduleExecution 17:20:40.680 SEVERE: In delayed event: null 6D08C01821381D35BD12009B44D2D65D.cache.html:875
These are the files I copied, perhaps I missed one for tour directory? ftp> pwd 257 "/html/ce/saxonica-demos" is current directory. ftp> ftp> dir books 227 Entering Passive Mode (93,90,177,145,225,203). 150 Opening ASCII mode data connection for file list drwxr-xr-x 2 web138 web138 4096 Feb 23 16:14 . drwxr-xr-x 4 web138 web138 4096 Feb 23 16:14 .. -rw-r--r-- 1 web138 web138 5427 Feb 23 16:14 books.css -rw-r--r-- 1 web138 web138 788 Feb 23 16:14 books.html -rw-r--r-- 1 web138 web138 4019 Feb 23 16:14 books.xml -rw-r--r-- 1 web138 web138 4402 Feb 23 16:14 books.xsl 226 Transfer complete. ftp> ftp> dir tour 227 Entering Passive Mode (93,90,177,145,184,155). 150 Opening ASCII mode data connection for file list drwxr-xr-x 2 web138 web138 4096 Feb 23 16:16 . drwxr-xr-x 4 web138 web138 4096 Feb 23 16:14 .. -rw-r--r-- 1 web138 web138 1261 Feb 23 16:16 black-knight.png -rw-r--r-- 1 web138 web138 5159 Feb 23 16:16 tour.css -rw-r--r-- 1 web138 web138 1174 Feb 23 16:16 tour.html -rw-r--r-- 1 web138 web138 14017 Feb 23 16:16 tour.xsl 226 Transfer complete. ftp>
I also tried with the SaxonceDebug files, but ran into same error message.
Is a file still missing? How to debug this problem?
RE: Saxon-CE sample applications - Added by Michael Kay about 6 years ago
The kinght's tour is failing because of this bug:
I've fixed it, but too late to make the release. We'll change the stylesheet to use the proper syntax ixsl:page() instead of the old doc('html:document').
We need to do a bit of tidying up post-release to make sure all the samples are in the right place, properly linked, and working.
Thanks for the feedback.
RE: Saxon-CE sample applications - Added by Hermann Stamm-Wilbrandt about 6 years ago
Thanks for the quick reply -- and resolution, just immediately worked: http://www.stamm-wilbrandt.de/ce/saxonica-demos/tour/workaround.html
Please register to reply