Closed wendellpiez closed 1 year ago
May be a few days before I can look into this…. My tests some 6+ months ago would have been with an Apache server…
Sent from my iPad
On 21 Aug 2023, at 23:09, Wendell Piez @.***> wrote:
Trying to set up the demo. After downloading the zip and decompressing into a folder, running http-server (Node.js) I load the sample page (current Firefox) and see no action, just the static title, no XML. The Console shows a traceback:
Object { message: "Failed to call method function(a,b){a instanceof Document?(a=Eb(a),a.compile(b),b=a):(a=(new Fb).parse(a instanceof Node?a.textContent:a),a.compile(b),b=a);return b}", stack: @.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.**@*.***://localhost:8080/sample/jwiXML.sample.xhtml:1:9\n", name: "XError", code: "SXJS0007", xsltLineNr: "13", xsltModule: "jwiXML.processor.xsl" } SaxonJS2.rt.js:524:81
(A not-dissimilar error in Chrome mentions an "I" function also.)
What am I doing wrong? (I have tested and the scripts appear to be loading. Using http-server I have had success delivering SaxonJS in the past.) Glad to receive instruction, also please redirect me if this is not an appropriate channel. Thanks!
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.
May try that, thanks for the tip. Meanwhile have a great August --
Agreed - there is a problem - will track down. (Note that the workbench is still working.... so it probably is some case where I haven't recompiled the source XSLT, probably because the API has changed)
Thanks JL, yes the workbench is working fine, that's how I was able to get so far with my grammar. :grin: (Well except for the broken links for a few of the examples. Not sure that is related though. Try an XPath example...?)
Should be OK now (I think) - do let me know. Have added the LICENCE to the zip. Sorry for taking so long - needed to sort out between multiple experimental versions.
Timing is perfect as I have more examples -- see
https://github.com/usnistgov/ixml-breadboard/tree/main
with examples being worked in the ixml
directory.
More to come, thankyou @johnlumley
btw have you tried the XPath tests lately? Those were among my issues. I am especially interested in parsing XPath (and near-XPath), potentially based on the work here. 🚀
Let's close, everything is working fine.
Trying to set up the demo. After downloading the zip and decompressing into a folder, running
http-server
(Node.js) I load the sample page (current Firefox) and see no action, just the static title, no XML. The Console shows a traceback:(A not-dissimilar error in Chrome mentions an "I" function also.)
What am I doing wrong? (I have tested and the scripts appear to be loading. Using
http-server
I have had success delivering SaxonJS in the past.) Glad to receive instruction, also please redirect me if this is not an appropriate channel. Thanks!