Strange. This was addressed to the dev list, but it does not appear in my local list archive. Anyway, these are great news, kudos for the XSLTC team for the work they have been doing so far.
Anyone volunteering for testing the new xsltc.jar? I can make it available somewhere for the brave :-) Thanks again Tom, -- Gianugo Rabellino -------- Original Message -------- Subject: [Fwd: progress report on XSLTC] Date: Fri, 07 Jun 2002 14:54:31 -0400 From: Tom Amiro <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: Gianugo Rabellino <[EMAIL PROTECTED]> -------- Original Message -------- Subject: progress report on XSLTC Date: Fri, 07 Jun 2002 12:01:18 -0400 From: Tom Amiro <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: cocoon <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Hi, Making progress. I took the xsltc-enabled war file Gianugo sent me yesterday, fixed the syntax used for calling the static external java functions in book2menu.xsl, and was able to reproduce a problem in XSLTC when clicking in the Doucmentation link on the splash page. Santiago came up with a fix for the problem which was due to XSLTC returning a null local name. With the one line fix, I was able to get a lot further. The Documentation link (with fix for null local name) now works. HTML, XHTML, PDF, XLS, and SVG JPEG all worked Search link -- didn't work, giving following error because XSLTC doesn't support nonstatic external Java functions. Compiler warning(s): resource://org/apache/cocoon/components/language/markup/xsp/java/xsp.xsl: Unable to resolve call to function 'org.apache.cocoon.components.language.markup.xsp.XSLTExtension:new'. resource://org/apache/cocoon/components/language/markup/xsp/java/xsp.xsl: Unable to resolve call to function 'org.apache.cocoon.components.language.markup.xsp.XSLTExtension:escape'. Samples -> Hello World -- blew up but doesn't look like its XSLTC's problem. org.apache.cocoon.ProcessingException: Unable to get transformer handler for style/xsl/simple-page2html.xsl: org.apache.avalon.excalibur.xml.xslt.XSLTProcessorException: Exception in creating Transform Handler at org.apache.cocoon.transformation.TraxTransformer.setup(TraxTransformer.java:324) at org.apache.cocoon.components.pipeline.AbstractEventPipeline.setupPipeline(AbstractEventPipeline.java:215) at org.apache.cocoon.components.pipeline.CachingEventPipeline.setup(CachingEventPipeline.java:278) at org.apache.cocoon.components.pipeline.CachingEventPipeline.generateKey(CachingEventPipeline.java:141) Control Flow -> Examples -> Calcultor javax.xml.transform.TransformerException: org.apache.xalan.xsltc.TransletException: java.io.IOException: Broken pipe at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:662) at org.apache.xalan.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:212) at org.apache.xalan.xsltc.trax.TransformerHandlerImpl.endDocument(TransformerHandlerImpl.java:207) at org.apache.cocoon.xml.AbstractXMLPipe.endDocument(AbstractXMLPipe.java:91) at org.apache.cocoon.transformation.TraxTransformer.endDocument(TraxTransformer.java:609) We'll have to look into this broken pipe problem. Adding support for nonstatic external java functions looks important and is on our list. I've attached a version of xsltc.jar with the fix for the null local name. You may want to use it to see how far you can get. There may be somethings you can change on your side. Tom -- Tom Amiro -- SQA Engineer Sun XML Technology Development voice: 781-442-0589 Fax: 781-442-1437 eMail: tom.amiro@.sun.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]