On 06.04.2007 21:08, Robert Dockins wrote:
I'm currently working on a web application using the eXist XML database
(http://exist.sourceforge.net/), snapshot 1.1.1, which includes Cocoon
(apparently version 2.1.7). I have a problem where one of my
stylesheets fails and returns an empty reply (ie, no bytes are sent to
the browser).
I believe I've tracked down the problem. Apparently under some
circumstances, my stylesheet is tickling the following Xalan bug
(http://issues.apache.org/jira/browse/XALANJ-1243). The Xalan version
that appears in the eXist distribution is version 2.7.0.
I understand that the base bug is upstream, but there doesn't appear to
be a good patch for the Xalan problem (the bug is still open), so I
wonder if there is a workaround. I've run the stylesheet over the input
data using a different XSLT processor which doesn't exhibit the problem,
so I'm pretty sure its a Xalan problem. This is my first time working
with cocoon, so I'm not very familiar with its capabilities. Is there
something I can do to work around this problem?
Hello Robert,
I see two options: You said it works with another XSLT processor, so you
can switch the processor. This is also possible just for this one
transformation and to use Xalan for the rest.
Option 2 would be to rewrite your stylesheet in a way that it doesn't
tickle the bug. When I worked much more with XSLT some years ago, with
the old versions of Xalan like the infamous 2.2 D 11 [1] that had really
many issues, rewriting stylesheets helped often. But I don't know if it
will you with your problem.
Regards
Joerg
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]