On 2008/08/29 at 09:32 "Laurent Medioni" <[EMAIL PROTECTED]> wrote:
> is it reasonable to set the default xslt processor to XSLTC in > cocoon.xconf ? > It seams to provoke some weird side effects in my case* > Would it be a *common* change of the standard configuration ? > (or is this why the standard xconf does not propose it ;)) I can confirm that XSLTC can be used with Cocoon 2.1.x. However, you first have to check your stylesheets for XSLTC compatibility. The XSLTC engine and interpreted Xalan have little more in common than being part of the same Apache project. XSLTC flags a number of XSLT constructs are errors, which pass through Xalan without problems. One example is to call a non-existing template name from a template which is never executed. First you should use the command line tool "xalan -xsltc" to check that your stylesheets compile without error, and then try again with Cocoon. HTH, Alfred. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
