Re: Need to replace xalan
On Mon, 6 May 2002 14:11:53 -0400 Vadim Gritsenko [EMAIL PROTECTED] wrote: Try saxon-6.5.2.jar. Works for me. Vadim Does it work for you in every respect? I'm also using Saxon and for the most part it works. However I'm including this option in the TOMCAT_OPTS/CATALINA_OPTS env variable to force Saxon to use Xerces instead of the included Alfred parser. -Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFactoryImpl Otherwise I would get exceptions from Alfred, when I used !DOCTYPE ... declarations, where the DTD included other entities. (I configured CatalogManager.properties accordingly). The SQLTranformer aparently does not work with Saxon. What works like charm with Xalan produces a exception with Saxon. org.apache.cocoon.ProcessingException: Failed to execute pipeline.: \ java.lang.UnsupportedOperationException: The Saxon DOM cannot be updated org.apache.cocoon.ProcessingException: Failed to execute pipeline.: \ java.lang.UnsupportedOperationException: The Saxon DOM cannot be updated at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(CachingStreamPipeline.java:414) at org.apache.cocoon.www.file_.usr.local.httpd.htdocs.sqxs.sitemap_xmap.matchd0e145(sitemap_xmap.java:1419) at org.apache.cocoon.www.file_.usr.local.httpd.htdocs.sqxs.sitemap_xmap.process(sitemap_xmap.java:588) at org.apache.cocoon.www.file_.usr.local.httpd.htdocs.sqxs.sitemap_xmap.process(sitemap_xmap.java:420) at org.apache.cocoon.sitemap.Handler.process(Handler.java:224) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.www.sitemap_xmap.matchd0e910(sitemap_xmap.java:6908) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:3431) .. I think, I've seen the same exception, when using the xmlform example from scratchpad with Saxon. I this something, that should be reported to buzilla? -- Mit freundlichen Gruessen / Regards Frank Ridderbusch Fujitsu Siemens Computers, EP SQ XS1 Heinz Nixdorf Ring, 33106 Paderborn, Germany Email: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Need to replace xalan
From: Frank Ridderbusch [mailto:[EMAIL PROTECTED]] On Mon, 6 May 2002 14:11:53 -0400 Vadim Gritsenko [EMAIL PROTECTED] wrote: Try saxon-6.5.2.jar. Works for me. Vadim Does it work for you in every respect? I'm also using Saxon and for the most part it works. However I'm including this option in the TOMCAT_OPTS/CATALINA_OPTS env variable to force Saxon to use Xerces instead of the included Alfred parser. - Djavax.xml.parsers.SAXParserFactory=org.apache.xerces.jaxp.SAXParserFact oryImp l Otherwise I would get exceptions from Alfred, when I used !DOCTYPE ... declarations, where the DTD included other entities. (I configured CatalogManager.properties accordingly). I do not use DTDs... The SQLTranformer aparently does not work with Saxon. What works like charm with Xalan produces a exception with Saxon. Same here. My XSPs and XSLTs work fine with Saxon. org.apache.cocoon.ProcessingException: Failed to execute pipeline.: \ java.lang.UnsupportedOperationException: The Saxon DOM cannot be updated org.apache.cocoon.ProcessingException: Failed to execute pipeline.: \ java.lang.UnsupportedOperationException: The Saxon DOM cannot be updated at org.apache.cocoon.components.pipeline.CachingStreamPipeline.process(Cach ingStr eamPipeline.java:414) at org.apache.cocoon.www.file_.usr.local.httpd.htdocs.sqxs.sitemap_xmap.mat chd0e1 45(sitemap_xmap.java:1419) at org.apache.cocoon.www.file_.usr.local.httpd.htdocs.sqxs.sitemap_xmap.pro cess(s itemap_xmap.java:588) at org.apache.cocoon.www.file_.usr.local.httpd.htdocs.sqxs.sitemap_xmap.pro cess(s itemap_xmap.java:420) at org.apache.cocoon.sitemap.Handler.process(Handler.java:224) at org.apache.cocoon.sitemap.Manager.invoke(Manager.java:179) at org.apache.cocoon.www.sitemap_xmap.matchd0e910(sitemap_xmap.java:6908) at org.apache.cocoon.www.sitemap_xmap.process(sitemap_xmap.java:3431) .. I think, I've seen the same exception, when using the xmlform example from scratchpad with Saxon. I this something, that should be reported to buzilla? I think yes, it should be. Vadim -- Mit freundlichen Gruessen / Regards Frank Ridderbusch Fujitsu Siemens Computers, EP SQ XS1 Heinz Nixdorf Ring, 33106 Paderborn, Germany Email: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Need to replace xalan
Try saxon-6.5.2.jar. Works for me. Vadim -- Resistance is futile. From: Artur Bialecki [mailto:[EMAIL PROTECTED]] Ok, xalan 2.3.1 and xalan head is horribly broken and from the number of bugs I doubt will see a working vision this year. What other XSLT processor can I use that's JAXP compliant, has node-set extensions and is easily integrated with Cocoon2. Thanks, Artur... - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Need to replace xalan
On Monday 06 May 2002 20:11, Vadim Gritsenko wrote: Try saxon-6.5.2.jar. Works for me. Vadim Just wondering... how is the speed compared to Xalan? -- Torsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Need to replace xalan
Hi Torsten, This wasn't using Cocoon, but one of my co-workers did a performance comparison among Xalan2, Saxon (6.5, I believe), and JD (pre-1.2.5, but don't remember the specific version). If I remember right, Saxon was 2-3 times as fast as Xalan2, and JD was 2-3 times as fast as Saxon. Sorry I don't remember the details, though. Harry PS Just FYI, we've been using Saxon 6.5 with Cocoon 2.0.2, and it's been fine except for a minor bug in the sitemap.xsl that Xalan is more forgiving of (though everything was good once we fixed the sitemap.xsl bug). -Original Message- From: Torsten Curdt [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 4:13 PM To: [EMAIL PROTECTED]; Vadim Gritsenko Subject: Re: Need to replace xalan On Monday 06 May 2002 20:11, Vadim Gritsenko wrote: Try saxon-6.5.2.jar. Works for me. Vadim Just wondering... how is the speed compared to Xalan? -- Torsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Need to replace xalan
Are there any configuraion changes I need to make to use Saxon or do I just thow saxon jar in my CP. Thanks, Artur... -Original Message- From: Lai, Harry [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 5:19 PM To: '[EMAIL PROTECTED]' Subject: RE: Need to replace xalan Hi Torsten, This wasn't using Cocoon, but one of my co-workers did a performance comparison among Xalan2, Saxon (6.5, I believe), and JD (pre-1.2.5, but don't remember the specific version). If I remember right, Saxon was 2-3 times as fast as Xalan2, and JD was 2-3 times as fast as Saxon. Sorry I don't remember the details, though. Harry PS Just FYI, we've been using Saxon 6.5 with Cocoon 2.0.2, and it's been fine except for a minor bug in the sitemap.xsl that Xalan is more forgiving of (though everything was good once we fixed the sitemap.xsl bug). -Original Message- From: Torsten Curdt [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 4:13 PM To: [EMAIL PROTECTED]; Vadim Gritsenko Subject: Re: Need to replace xalan On Monday 06 May 2002 20:11, Vadim Gritsenko wrote: Try saxon-6.5.2.jar. Works for me. Vadim Just wondering... how is the speed compared to Xalan? -- Torsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Need to replace xalan
Hi Carlos, Just a quick clarification - the bug was in xsp.xsl not sitemap.xsl (sorry for the previous inaccuracy). Anyway, here's a link to a thread about this (follow-ups linked at bottom of the message). Also, just FYI, Vadim checked in a fix for this to CVS on March 31st. http://www.mail-archive.com/cocoon-users@xml.apache.org/msg10163.html Harry -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 4:48 PM To: [EMAIL PROTECTED] Subject: Re: Need to replace xalan Harry: Can you post the bug and solution? Carlos On 05/06/02 14:19, Lai, Harry [EMAIL PROTECTED] wrote: Hi Torsten, This wasn't using Cocoon, but one of my co-workers did a performance comparison among Xalan2, Saxon (6.5, I believe), and JD (pre-1.2.5, but don't remember the specific version). If I remember right, Saxon was 2-3 times as fast as Xalan2, and JD was 2-3 times as fast as Saxon. Sorry I don't remember the details, though. Harry PS Just FYI, we've been using Saxon 6.5 with Cocoon 2.0.2, and it's been fine except for a minor bug in the sitemap.xsl that Xalan is more forgiving of (though everything was good once we fixed the sitemap.xsl bug). -Original Message- From: Torsten Curdt [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 4:13 PM To: [EMAIL PROTECTED]; Vadim Gritsenko Subject: Re: Need to replace xalan On Monday 06 May 2002 20:11, Vadim Gritsenko wrote: Try saxon-6.5.2.jar. Works for me. Vadim Just wondering... how is the speed compared to Xalan? -- Torsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Carlos E. Araya ---+ WebCT Administrator/Trainer P | California Virtual Campus - | C/O De Anza College G | 21250 Stevens Creek Blvd ---+ Cupertino, CA 95014 email [EMAIL PROTECTED] web http://www.cvc1.org/ (work) http://www.silverwolf-net.net (personal) phone 408 257 0420 (work) PGP Fingerprint:E629 5DFD 7EAE 4995 E9D7 3D2F 5A9F 0CE7 DFE7 1756 If there is artificial intelligence, doesn't that imply there is also artificial stupidity! - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Need to replace xalan
From: Lai, Harry [mailto:[EMAIL PROTECTED]] Hi Torsten, This wasn't using Cocoon, but one of my co-workers did a performance comparison among Xalan2, Saxon (6.5, I believe), and JD (pre-1.2.5, but don't remember the specific version). If I remember right, Saxon was 2-3 times as fast as Xalan2, and JD was 2-3 times as fast as Saxon. Sorry I don't remember the details, though. I also can confirm this. My app is now working notable faster, from 3-4 sec per request it went down to 0.5-1.5 sec (Pentium 166MMX :) Vadim Harry PS Just FYI, we've been using Saxon 6.5 with Cocoon 2.0.2, and it's been fine except for a minor bug in the sitemap.xsl that Xalan is more forgiving of (though everything was good once we fixed the sitemap.xsl bug). -Original Message- From: Torsten Curdt [mailto:[EMAIL PROTECTED]] Sent: Monday, May 06, 2002 4:13 PM To: [EMAIL PROTECTED]; Vadim Gritsenko Subject: Re: Need to replace xalan On Monday 06 May 2002 20:11, Vadim Gritsenko wrote: Try saxon-6.5.2.jar. Works for me. Vadim Just wondering... how is the speed compared to Xalan? -- Torsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faqs.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]