Event handlers not working with XX compiler
Replies (2)
Please register to reply
Added by Remy BREFORT over 3 years ago
Using Saxon-JS 2.1, the event handlers don’t work in the SEF files compiled by the XX compiler. Example : If I download the files of the « Book List » example, and run them on my localhost, all works fine. But if I compile the provided « book.xsl » file with the XX compiler and run the app with the generated SEF file, the html page is rendered correctly but static, with no active event handlers. Is this a limitation of the XX compiler, or a bug ? Is there a workaround about this ? Thanks for any help
Remy BREFORT
Are you compiling with the -ns:##html5 flag? This is often needed to allow matching html elements without namespaces...
I was not. Using this flag, it works perfectly ! Thanks a lot for the answer.
Please register to reply