Hi Erik, Thanks for the reply. I'm aware of the difficulty using XSLTC. We do have an automated test suit based on SilkTest therefore it will not be much of a problem running them over and over. Since you have already made the changes is it possible to get a patch provided that we move to OXF 2.1? Thanks, Kesara.
-----Original Message----- From: Erik Bruchez [mailto:[EMAIL PROTECTED] Sent: Monday, October 13, 2003 9:23 PM To: OXF Users Subject: Re: Using Saxon and Caching Regarding the first question, we just added support for Saxon and XSLTC. Due to the fact that XSLTC does not support EXSLT functions at the moment, using XSLTC requires more effort to call the struts:message or struts:javascript functions from that transformer. Also note that XSLTC is not as mature as Xalan or Saxon, and its use should be subject to good testing. These changes are against OXF 2.1. -Erik Erik Bruchez wrote: > Kesara, > > 1) At the moment, struts-support.xsl uses a Xalan extension, so it is > not possible without writing some Java code to use the extension > with Saxon or XSLTC. It is definitely doable in theory, and it does > make sense to be able to use those extensions from multiple XSLT > transformers. > > Our experience is that Saxon most of the time performs similarly to > Xalan. > > 2) With XSLT 1.0 import, include, and the document() function with > static URLs do impact caching, in that if the imported or included > document is changed, the stylesheet will be re-executed. > > If the document() function is passed a dynamic URL, the stylesheet > will be re-executed each time. > > Those caching features are currently not supported with XSLT 2.0 in > OXF. > > -Erik > > Kesara Kudalugodaarachchi wrote: > > > Hi, > > > 1. Is it possible to use a faster transformer (or even xsltc), other > > than xalan in starts integrated mode? > > The "struts-support.xsl" specifically uses xalan namespaces !! > > When we tried Saxon with OXF version 2.0.2 it failed with the > > following error > > > > 2003-10-13 17:52:19,371 ERROR > org.orbeon.oxf.servlet.ProcessorService - Exception at > oxf:/default/xsl/admin/login.xsl,line 17, column -1; > > SystemID: > oxf:/struts/struts-support.xsl; Line#: 37; Column#: -1 > > javax.xml.transform.TransformerException: Unknown extension element > > at > com.icl.saxon.style.StyleElement.styleError(StyleElement.java:806) > > > > > > 2. How does the import/include statements and "document" function in > > XSL pages affect caching? > > > > Regards, > > Kesara. _______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users _______________________________________________ oxf-users mailing list [EMAIL PROTECTED] http://mail.orbeon.com/mailman/listinfo/oxf-users
