The highlight feature of thml.html.xsl uses recursion
to find words, and it dies from a stack overflow when a
passage is too long. If there is an XSLT extension that
tokenizes, that might be a way to avoid these crashes.
We tried the tokenize extension to XSLT, but it crashed (ran
out of RAM?)
One possible workaround is to make sure that no text block
is too long -- break them up with <span> elements, perhaps,
during the book installation phase.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Logged In: YES
user_id=1078930
We tried the tokenize extension to XSLT, but it crashed (ran
out of RAM?)
One possible workaround is to make sure that no text block
is too long -- break them up with <span> elements, perhaps,
during the book installation phase.
Logged In: YES
user_id=1177364
Instead of highlighting from the xslt, javascript is now
used to do the highlighting.