Project

Profile

Help

Event handlers not working with XX compiler

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


Replies (2)

Event handlers not working with XX compiler - Added by John Lumley over 3 years ago

Are you compiling with the -ns:##html5 flag? This is often needed to allow matching html elements without namespaces...

RE: Event handlers not working with XX compiler - Added by Remy BREFORT over 3 years ago

I was not. Using this flag, it works perfectly ! Thanks a lot for the answer.

    (1-2/2)

    Please register to reply