RE: argument type mismatch when using fn:replace

2010-08-17 Thread Robby Pelssers
Here are some notes on how to add the saxon transformer in attached screenshot. Whenever you need xslt2.0 support just specify saxon map:transform src=xslt/watermark.xslt type=saxon/ and you're good to go. Robby Pelssers winmail.dat

Re: argument type mismatch when using fn:replace

2010-08-17 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Robby, On 8/17/2010 6:29 AM, Robby Pelssers wrote: Here are some notes on how to add the saxon transformer in attached screenshot. No attachment; only one of those stupid MS winmail.dat files :( - -chris -BEGIN PGP SIGNATURE- Version:

RE: argument type mismatch when using fn:replace

2010-08-17 Thread Robby Pelssers
Ok... I'm a bit lazy today so i just uploaded the attachment to my blog. http://robbypelssers.blogspot.com/2010/08/using-saxon-instead-of-xalan-with.html Cheers, Robby Pelssers winmail.dat - To unsubscribe, e-mail:

Re: argument type mismatch when using fn:replace

2010-08-11 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 André, On 8/6/2010 4:39 PM, florent andré wrote: Good news, you don't have to switch all your cocoon app from xalan to saxon !! Thanks for the tip! It's great to know that Xalan and Saxon can be used in the same Cocoon instance. That will

Re: argument type mismatch when using fn:replace

2010-08-06 Thread florent andré
Hi Chris, Good news, you don't have to switch all your cocoon app from xalan to saxon !! You can easily have a pretty map:transformer type=xslt2.0 src=path/to/my/xslt2.0.xsl/ For this, you just have to : 1) add this libs in your classpath :

Re: argument type mismatch when using fn:replace

2010-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Thomas, On 8/4/2010 5:09 PM, Thomas Ernest wrote: I remember having this problem, when I used the same version of Cocoon one year ago. I'm not 100% sure, but I mean fn:replace is a function belonging to XPath 2.0 [1] and Cocoon 2.1.11 integrates

Re: argument type mismatch when using fn:replace

2010-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 8/5/2010 12:57 PM, Christopher Schultz wrote: On 8/4/2010 5:09 PM, Thomas Ernest wrote: I remember having this problem, when I used the same version of Cocoon one year ago. I'm not 100% sure, but I mean fn:replace is a function belonging

Re: argument type mismatch when using fn:replace

2010-08-05 Thread Mark Eggers
: Christopher Schultz ch...@christopherschultz.net To: users@cocoon.apache.org Sent: Thu, August 5, 2010 10:07:26 AM Subject: Re: argument type mismatch when using fn:replace -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, On 8/5/2010 12:57 PM, Christopher Schultz wrote: On 8/4/2010 5:09 PM, Thomas

Re: argument type mismatch when using fn:replace

2010-08-05 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Mark, On 8/5/2010 1:32 PM, Mark Eggers wrote: I haven't used Cocoon in quite a while, but I remember that you can use Saxon instead of Xalan. A quick google search brings up the following old blog entry from Vadim:

Re: argument type mismatch when using fn:replace

2010-08-04 Thread Thomas Ernest
Hi Chris, I remember having this problem, when I used the same version of Cocoon one year ago. I'm not 100% sure, but I mean fn:replace is a function belonging to XPath 2.0 [1] and Cocoon 2.1.11 integrates a Xalan implementing XPath 1.0 only. You should check which version of Xalan do you use