On 22/12/10 10:16, Johan Cwiklinski wrote:
[...]
> I always use the doc-available($uri) function so I can print $uri using
> xsl:message if there is an error:
Unfortunately I'm still using XSLT 1.0 in this application because the
scripts also need to run elsewhere in an environment where XSLT2 is
> put the name of the .jar file ("saxon9") and where you just put the name
> "saxon".
>
> One thing that switching to Saxon has done is reveal the holes in my
> XSLT :-)
>
> a. If a URI call to Cocoon to retrieve a web page through a Tidy
> pipeline
;saxon".
One thing that switching to Saxon has done is reveal the holes in my
XSLT :-)
a. If a URI call to Cocoon to retrieve a web page through a Tidy
pipeline (to make it XML) returns an empty file (really null, not even
an empty root element), Xalan treats the statement
as a non-event,
gt; Subject: Re: Switching to Saxon
>
> On 16/12/10 16:23, Schmitz, Jeffrey A wrote:
> > Taking a quick look, that looks like the same as I did, although I'm
> > using a saxon9he.jar file. To ask maybe a dumb question, did you
> > restart Cocoon after adding the jar?
>
&
it all.
I can restart Tomcat but I'm not aware of how to restart Cocoon itself.
///Peter
>
>> -Original Message-
>> From: Peter Flynn [mailto:pfl...@ucc.ie]
>> Sent: Thursday, December 16, 2010 9:58 AM
>> To: users@cocoon.apache.org
>> Subject: Switching
Hello,
Le 16/12/2010 16:58, Peter Flynn a écrit :
> I just tried this, but there seems to be a lack of up-to-date details on
> doing this in Cocoon 2.1.11 with saxon9. Following the assorted web
> pages for earlier versions, I got as far as adding saxon9.jar to
> Cocoon's WEB-INF/lib and editing t
0 9:58 AM
> To: users@cocoon.apache.org
> Subject: Switching to Saxon
>
> I just tried this, but there seems to be a lack of up-to-date details
> on
> doing this in Cocoon 2.1.11 with saxon9. Following the assorted web
> pages for earlier versions, I got as far as adding saxon
I just tried this, but there seems to be a lack of up-to-date details on
doing this in Cocoon 2.1.11 with saxon9. Following the assorted web
pages for earlier versions, I got as far as adding saxon9.jar to
Cocoon's WEB-INF/lib and editing the two files (commenting out the Xalan
entries):
- coc