RE: Cocoon 2.1.9 and Saxon 9.6

2016-05-06 Thread Gary Larsen
To: users@cocoon.apache.org Subject: Re: Cocoon 2.1.9 and Saxon 9.6 On 06/05/2016 13:17, Gary Larsen wrote: Thanks. Was trying to avoid adding a jar. I’m guessing it would look something like this: URI(source.getURI()).toASCIIString() new URI( "file:/C:/a-test 2/netvisn-server-c10

Re: Cocoon 2.1.9 and Saxon 9.6

2016-05-06 Thread Francesco Chicchiriccò
) throws URISyntaxException Isn't it possible to just rename the "a-test 2" folder as "a-test2"? ;-) Regards. *From:*Francesco Chicchiriccò [mailto:ilgro...@apache.org] *Sent:* Friday, May 06, 2016 7:02 AM *To:* users@cocoon.apache.org *Subject:* Re: Cocoon 2.1.9 and Saxon

RE: Cocoon 2.1.9 and Saxon 9.6

2016-05-06 Thread Gary Larsen
@cocoon.apache.org Subject: Re: Cocoon 2.1.9 and Saxon 9.6 On 06/05/2016 12:51, Gary Larsen wrote: Hi, Thanks for the response. I get the space to %20, but have not figured out where to change the code in Cocoon. Using this from the stack trace

Re: Cocoon 2.1.9 and Saxon 9.6

2016-05-06 Thread Francesco Chicchiriccò
rror2html.xsl ..which I would hardly qualify as a valid URI :-) Regards. *From:*Francesco Chicchiriccò [mailto:ilgro...@apache.org] *Sent:* Friday, May 06, 2016 2:51 AM *To:* users@cocoon.apache.org *Subject:* Re: Cocoon 2.1.9 and Saxon 9.6 On 05/05/2016 18:49, Gary Larsen wrote: Hi,

RE: Cocoon 2.1.9 and Saxon 9.6

2016-05-06 Thread Gary Larsen
icchiriccò [mailto:ilgro...@apache.org] Sent: Friday, May 06, 2016 2:51 AM To: users@cocoon.apache.org Subject: Re: Cocoon 2.1.9 and Saxon 9.6 On 05/05/2016 18:49, Gary Larsen wrote: Hi, In order to support JDK 8 it was necessary to update to SaxonHE 9. (can’t remember exactly why right no

Re: Cocoon 2.1.9 and Saxon 9.6

2016-05-06 Thread Francesco Chicchiriccò
On 05/05/2016 18:49, Gary Larsen wrote: Hi, In order to support JDK 8 it was necessary to update to SaxonHE 9. (can’t remember exactly why right now) New problem is that when the Cocoon app is installed on a path with spaces (say ‘a-test 2’) there’s a new exception:

Cocoon 2.1.9 and Saxon 9.6

2016-05-05 Thread Gary Larsen
(DefaultXMLizer.java:128) at org.apache.cocoon.components.xslt.TraxProcessor.sourceToSAX(TraxProcessor.ja va:303) at org.apache.cocoon.components.xslt.TraxProcessor.getTransformerHandlerAndVali dity(TraxProcessor.java:241) >From the Saxon website it seems the URI check

RE: using both Xalan and Saxon with C3

2012-12-07 Thread Robby Pelssers
Hi Mansour, I figured you were going to ask that question. In fact I'd reason the same way. Normally I stick with 1 and only one XSLT processor (Saxon) as it implements XSLT2.0 while Xalan does not. But I have a use case where indentation of the output is important. Saxon can do

Re: using both Xalan and Saxon with C3

2012-12-06 Thread Mansour Al Akeel
. But thx for thinking along. Robby -Original Message- From: Mansour Al Akeel [mailto:mansour.alak...@gmail.com] Sent: Thursday, December 06, 2012 5:00 AM To: users@cocoon.apache.org Cc: d...@cocoon.apache.org Subject: Re: using both Xalan and Saxon with C3 If I am not wrong, you can

Re: using both Xalan and Saxon with C3

2012-12-06 Thread gelo1234
or the one that is reused between concurrent transformations (e.g. xalan can be used in this mode but it fails with very complex namespaces, the latest release of xalan handles it correctly though :) or the one that is the most robust but a bit slower (saxon?) And use whatever one you want in any match

Re: using both Xalan and Saxon with C3

2012-12-06 Thread Mansour Al Akeel
though :) or the one that is the most robust but a bit slower (saxon?) And use whatever one you want in any match of pipeline. Greetings, -Greg 2012/12/7 Mansour Al Akeel mansour.alak...@gmail.com Ok, I see what you mean now. Just out of curiosity, why would anyone need to use more

RE: using both Xalan and Saxon with C3

2012-12-05 Thread Robby Pelssers
... Robby -Original Message- From: Robby Pelssers [mailto:robby.pelss...@nxp.com] Sent: Tuesday, December 04, 2012 2:21 PM To: d...@cocoon.apache.org; users@cocoon.apache.org Subject: using both Xalan and Saxon with C3 Hi guys, Just wondering how I would configure a C3 project so I could

Re: using both Xalan and Saxon with C3

2012-12-05 Thread Mansour Al Akeel
. Just thinking out loud here... Robby -Original Message- From: Robby Pelssers [mailto:robby.pelss...@nxp.com] Sent: Tuesday, December 04, 2012 2:21 PM To: d...@cocoon.apache.org; users@cocoon.apache.org Subject: using both Xalan and Saxon with C3 Hi guys, Just wondering how I

RE: using both Xalan and Saxon with C3

2012-12-05 Thread Robby Pelssers
: Re: using both Xalan and Saxon with C3 If I am not wrong, you can always change the implementation for the xslt processor in the final WAR file by setting: META-INF/services/javax.xml.transform.TransformerFactory This is simple and clean. On Wed, Dec 5, 2012 at 5:21 AM, Robby Pelssers

using both Xalan and Saxon with C3

2012-12-04 Thread Robby Pelssers
Hi guys, Just wondering how I would configure a C3 project so I could use both Xalan and Saxon from my sitemap and java I currently took the approach to just create a file META-INF/services/javax.xml.transform.TransformerFactory With following content: net.sf.saxon.TransformerFactoryImpl

Antw.: [C3.0] Add Saxon transformer

2011-11-29 Thread Huib Verweij
Van: Francesco Chicchiriccò ilgro...@apache.org currently there is no implementation of a Saxon-based transformer in Cocoon 3: there is, of course, an XSLT transformer under cocoon-sax [2]. Please fill a JIRA issue on [1] as feature request. Done. Huib.

Re: [C3.0] Add Saxon transformer

2011-11-26 Thread Francesco Chicchiriccò
On 25/11/2011 23:33, Huib Verweij wrote: Hi, anyone know how to use Saxon as a transformer in Cocoon 3.0? I looked at cocoon-sample but could not find an example of how to do that. Google can't find anything either. Hi, currently there is no implementation of a Saxon-based transformer

[C3.0] Add Saxon transformer

2011-11-25 Thread Huib Verweij
Hi, anyone know how to use Saxon as a transformer in Cocoon 3.0? I looked at cocoon-sample but could not find an example of how to do that. Google can't find anything either. Hartelijke groet, Huib Verweij

RE: Switching to Saxon

2010-12-29 Thread Flynn, Peter
is not available. But that will change soon :-) b. Any ambiguity in template selection (normally a recoverable warning if you run Saxon from the command line) returns the Ambiguous... message as an error. Is this configurable? (ie get Saxon to not pass an error status to Cocoon, but just log

Re: Switching to Saxon

2010-12-22 Thread Peter Flynn
On 17/12/10 08:43, Johan Cwiklinski wrote: Hello, [...] Here is our configuration: [...] Hope that could help you :) Thanks very much, that did it. It was unclear from the docs where you put the name of the .jar file (saxon9) and where you just put the name saxon. One thing that switching

Re: Switching to Saxon

2010-12-22 Thread Johan Cwiklinski
) 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 (to make it XML) returns an empty file (really null, not even an empty root element), Xalan treats

Re: Switching to Saxon

2010-12-17 Thread Johan Cwiklinski
the two files (commenting out the Xalan entries): - cocoon.xconf: component logger=core.xslt role=org.apache.excalibur.xml.xslt.XSLTProcessor/saxon class=org.apache.cocoon.components.xslt.TraxProcessor parameter name=use-store value=true/ parameter

Re: Switching to Saxon

2010-12-17 Thread Peter Flynn
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 to Saxon I just tried this, but there seems to be a lack of up

RE: Switching to Saxon

2010-12-17 Thread Schmitz, Jeffrey A
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? No, I assumed any change would force Tomcat to reread it all. I

Switching to Saxon

2010-12-16 Thread Peter Flynn
): - cocoon.xconf: component logger=core.xslt role=org.apache.excalibur.xml.xslt.XSLTProcessor/saxon class=org.apache.cocoon.components.xslt.TraxProcessor parameter name=use-store value=true/ parameter name=transformer-factory value

RE: Switching to Saxon

2010-12-16 Thread Schmitz, Jeffrey A
@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 saxon9.jar to Cocoon's WEB-INF/lib and editing

Saxon extensions / using Spring application Context

2010-03-09 Thread Robby Pelssers
Hi all, I know you can call static java methods from xslt and even construct new java objects. But that happens NOT to match my use case. Short description of my use case: I have a datasheetbuilder bean defined in my applicationContext: bean id=datasheetBuilder

RE: Saxon extensions / using Spring application Context

2010-03-09 Thread Robby Pelssers
think it's a pretty cool solution (workaround) to get performance boosts in batch processing. Kind regards, Robby Pelssers -Original Message- From: Robby Pelssers [mailto:robby.pelss...@ciber.com] Sent: Tuesday, March 09, 2010 4:41 PM To: users@cocoon.apache.org Subject: Saxon extensions

RE: [Cocoon 2.1.11] Saxon and speed improvements

2009-09-24 Thread Robby Pelssers
I can't give you a performance comparison but I'm always sticking with SAXON. I'm very happy with it's performance and I've done quite a few projects. And one big benefit is that saxon allows me to write xslt in a more compact way. Kind regards, Robby -Original Message- From: Kamal

Re: [Cocoon 2.1.11] Saxon and speed improvements

2009-09-24 Thread Andreas Kuehne
Another topic I would like to point out regarding saxon : If you like to take advantage of the advanced features of saxon you may leave the area of free licenses. And to my experience, saxon's commercial licensing model is unhandable for open source projects. Greetings Andreas

[Cocoon 2.1.11] Saxon and speed improvements

2009-09-23 Thread Kamal Bhatt
Hi, I am trying to improve performance for Cocoon. I noticed that XSLT seems to take a bit of processing time (not lots, but significant to consider). Can anyone who is using Saxon for XSLT processing tell me if there is an improvement in performance (versus using Xalan)? It would be nice

RE: clueless newbie attempting Saxon, xslt2

2009-07-24 Thread Laurent Medioni
. juillet 2009 18:55 To: Steven D. Majewski; users@cocoon.apache.org Subject: Re: clueless newbie attempting Saxon, xslt2 On Thu, Jul 23, 2009 at 11:12 AM, Steven D. Majewskisd...@virginia.edu wrote: If you followed the instructions on that page literally, then the saxon transformer is going

RE: clueless newbie attempting Saxon, xslt2

2009-07-23 Thread Robby Pelssers
By the way... I was just scanning those instructions... I think if you followed them up you should at least change following line map:transform src=home.xsl type=xslt2/ Into map:transform src=home.xsl type=saxon/ Cheers, Robby -Original Message- From

Re: clueless newbie attempting Saxon, xslt2

2009-07-23 Thread Michael Jinks
=home.xsl type=xslt2/ Into                map:transform src=home.xsl type=saxon/ Rather than change the user's data, should I instead name Saxon something else in the top level sitemap.xmap? Can I call it more than once? Currently in sitemap.xmap I have: map:transformer name=saxon pool-grow=2

Re: clueless newbie attempting Saxon, xslt2

2009-07-23 Thread Michael Jinks
On Thu, Jul 23, 2009 at 11:12 AM, Steven D. Majewskisd...@virginia.edu wrote: If you followed the instructions on that page literally, then the saxon transformer is going to be named saxon , not xslt2 : In my top-level sitemap.xmap, I had this clause (literally lifted from the instructions I

Re: clueless newbie attempting Saxon, xslt2

2009-07-23 Thread Michael Jinks
I don't know if this matters or not, forgive me if the question is dense... When I built SaxonB, I ended up with .jar files with names all beginning with saxon9. If I'm referring to saxon in my sitemap.xmap or my WEB-INF/cocoon.xmap, will Cocoon fail to find that application

Saxon requires an XML parser that reports the QName

2009-07-23 Thread Jeff Schmitz
WITH BUFFERING MODE Calling endElement with uri = loc=table raw=table I'm really banging my head on this, so any help would be greatly appreciated. Thanks, Jeff (see exception below) org.xml.sax.SAXException: Saxon requires an XML parser that reports the QName of each element

Re: Saxon requires an XML parser that reports the QName

2009-07-23 Thread Jeff Schmitz
) org.xml.sax.SAXException: Saxon requires an XML parser that reports the QName of each element at net.sf.saxon.event.ReceivingContentHandler.getNameCode(ReceivingContentHandler.java:391) at net.sf.saxon.event.ReceivingContentHandler.startElement(ReceivingContentHandler.java:277

clueless newbie attempting Saxon, xslt2

2009-07-22 Thread Michael Jinks
, here: http://hcmc.uvic.ca/blogs/index.php?blog=11p=2595more=1c=1tb=1pb=1 (Click through the redirect defeat message if you want to see the crib sheet I'm working from.) I have Saxon 9 built, and its .jar files copied into the Cocoon WEB-INF/lib directory. I have the user's application

Re: Saxon does not recognise cocoon protocol

2009-04-01 Thread craiggulliver
, you'll probably find your problem. Craig Abbas Mousavi wrote: Hi All newly I replaced Xalan with Saxon, to use some of its features. It works well with all of my stylesheets but does not works with stylesheets that use cocoon:// protocol to access some xml files. I think that saxon

Re: Character encoding problem with latest Saxon + Cocoon 2.1

2008-12-31 Thread Bertrand Delacretaz
On Wed, Dec 31, 2008 at 2:11 AM, Mark Lundquist m...@wrinkledog.com wrote: ...Cocoon is serving a web page with a bunch of occurrences of the ndash character (Unicode #8211). These displayed correctly with the old Saxon, but now with the new version they instead look like this: â

Re: Character encoding problem with latest Saxon + Cocoon 2.1

2008-12-31 Thread Mark Lundquist
On Dec 31, 2008, at 1:25 AM, Bertrand Delacretaz wrote: On Wed, Dec 31, 2008 at 2:11 AM, Mark Lundquist m...@wrinkledog.com wrote: ...Cocoon is serving a web page with a bunch of occurrences of the ndash character (Unicode #8211). These displayed correctly with the old Saxon, but now

Character encoding problem with latest Saxon + Cocoon 2.1

2008-12-30 Thread Mark Lundquist
Hi All, I have a Cocoon 2.1.8 application using Saxon, and after a very long time with no problems, we just stumbled upon a bug in the (now rather old) version of Saxon that we were using. So I downloaded the latest Saxon distribution and swapped out the Saxon JAR, and... problem

Re: Setting up Saxon in a Maven built Cocoon application

2008-11-18 Thread Alexander Daniel
We had problems with the XmlFileInputModule when having Saxon in the classpath [4]. The reason for that is that both Xalan and Saxon set the TransformerFactoryImpl via META-INF/services/ javax.xml.transform.TransformerFactory [1] (Java Services API) and Saxon was in the load order before

Cocoon 2.2 tries to load saxon on Production-environment?

2008-10-23 Thread Edward Smit
an internal server error every other request and finally it refused to work at all. It's the exact same war-file I'm deploying it's the same VM, same version of Tomcat. The log-file mentions faillure to load net.sf.saxon.TransformerFactoryImpl, but I haven't configured my project to use Saxon anywhere. I

Re: Setting up Saxon in a Maven built Cocoon application

2008-10-06 Thread Alexander Daniel
map:transformer name=xslt-saxon pool-grow=2 pool-max=32 pool-min=8 src=org.apache.cocoon.transformation.TraxTransformer use-request-parametersfalse/use-request-parameters use-browser-capabilities-dbfalse/use-browser-capabilities- db xslt-processor-rolesaxon/xslt-processor

Re: Setting up Saxon in a Maven built Cocoon application

2008-06-20 Thread Johannes Hoechstaedter
Hi Sylvian, have you tried to add the component to your sitemap.xmap? cheers Sylvain Desvé schrieb: Hi, I followed the tutorials at http://cocoon.apache.org/1370_1_1.html to create my first Cocoon application. It worked fine. But now I need to use Saxon instead of Xalan because my XSLT

Re: Setting up Saxon in a Maven built Cocoon application

2008-06-20 Thread Sylvain Desvé
I tried it. My sitemap.xmap looks like the following : map:sitemap ... map:components map:transformers default=xslt map:transformer name=xslt-saxon pool-grow=2 pool-max=32 pool-min=8 src=org.apache.cocoon.transformation.TraxTransformer use-request-parametersfalse/use

Re: Setting up Saxon in a Maven built Cocoon application

2008-06-20 Thread Sylvain Desvé
map:transformers default=xslt map:transformer name=xslt-saxon pool-grow=2 pool-max=32 pool-min=8 src=org.apache.cocoon.transformation.TraxTransformer use-request-parametersfalse/use-request-parameters use-browser-capabilities-dbfalse/use-browser-capabilities-db

Re: Setting up Saxon in a Maven built Cocoon application

2008-06-20 Thread Grzegorz Kossakowski
sitemap.xmap and added a component : map:components map:transformers default=xslt map:transformer name=xslt-saxon pool-grow=2 pool-max=32 pool-min=8 src=org.apache.cocoon.transformation.TraxTransformer use-request-parametersfalse/use-request-parameters use-browser

Setting up Saxon in a Maven built Cocoon application

2008-06-19 Thread Sylvain Desvé
Hi, I followed the tutorials at http://cocoon.apache.org/1370_1_1.html to create my first Cocoon application. It worked fine. But now I need to use Saxon instead of Xalan because my XSLT files are using XSLT 2.0 features. I found how to do that at http://wiki.apache.org/cocoon/Saxon

RE: How to replace Xalan with Saxon in Cocoon?

2008-05-14 Thread Philip Fennell
instructions (intended for the serialiser) and remain escaped. Changing the XSLT processor to Saxon does not set Saxon as the serialiser. If anyone knows how to do that, it would be useful info for the Saxon page on the Cocoon Wiki. Just for reference, I encountered this problem with Saxon 8

Re: How to replace Xalan with Saxon in Cocoon?

2008-05-13 Thread Johannes Textor
Hi Slav, see here: http://wiki.apache.org/cocoon/Saxon I am running Saxon 9b on 2.1.11 without trouble. I did not have to remove META-INF from the jar as stated in the article. Regards, Johannes Vyacheslav Sedov schrieb: Hello! I need replace Xalan with Saxon in Cocoon (since i use XSLT 2.0

How to replace Xalan with Saxon in Cocoon?

2008-05-13 Thread Vyacheslav Sedov
Hello! I need replace Xalan with Saxon in Cocoon (since i use XSLT 2.0), but can`t find step by step manual. With best wishes, Slav - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Strange problem with 2.1.11, tomcat and saxon

2008-02-12 Thread Jeroen Reijn
Hi Alberto, this seems to me like a classloading problem. Probably you have conflicting jars running at the same time in your environment. Gr. Reijn On Mon, 2008-02-11 at 18:49 +0100, Alberto Brosich wrote: I'm using cocoon 2.1.11 with java 1.6. I defined the saxon transformer and I use

Strange problem with 2.1.11, tomcat and saxon

2008-02-11 Thread Alberto Brosich
I'm using cocoon 2.1.11 with java 1.6. I defined the saxon transformer and I use it in some pipelines. Running it in the embedded jetty works all fine but after installing the war under tomcat I get the following error: java.lang.IllegalArgumentException: Unknown type of result: class

cocoon 2.2 and Saxon

2007-11-16 Thread Spencer Tickner
Hi List, Thanks in advance for any help. I've been playing around with cocoon 2.2, and need to use XSLT 2.0 for a transformation. After scouring the web I can't figure out how to integrate Saxon into the new cocoon model. So far I've created a few Blocks as per the 2.2 tutorials using maven

Re: cocoon 2.2 and Saxon

2007-11-16 Thread Grzegorz Kossakowski
Spencer Tickner pisze: Hi List, Thanks in advance for any help. I've been playing around with cocoon 2.2, and need to use XSLT 2.0 for a transformation. After scouring the web I can't figure out how to integrate Saxon into the new cocoon model. So far I've created a few Blocks as per

Re: Some quick questions about FOP 0.93, Saxon, and MS SQL Server integration with cocoon 2.1.10 on Windows XP environment

2007-04-26 Thread Joerg Heinicke
where the oracle and odbc classes are listed? - [Saxon] how do I replace the xalan integration wiht Saxon 8.9.03? I apologize if I have missed the documentation on this -- I have searched for discussion groups, books etc. 1. There is a fop-ng block on the trunk. It *might* be as simple

Some quick questions about FOP 0.93, Saxon, and MS SQL Server integration with cocoon 2.1.10 on Windows XP environment

2007-04-25 Thread Joseph White
? - [Saxon] how do I replace the xalan integration wiht Saxon 8.9.03? I apologize if I have missed the documentation on this -- I have searched for discussion groups, books etc. ErstwhileIII

Re: Some quick questions about FOP 0.93, Saxon, and MS SQL Server integration with cocoon 2.1.10 on Windows XP environment

2007-04-25 Thread Pieter Delmee
the oracle and odbc classes are listed? * [Saxon] how do I replace the xalan integration wiht Saxon 8.9.03? I apologize if I have missed the documentation on this -- I have searched for discussion groups, books etc. ErstwhileIII Hi Joseph, Attached you'll find a serializer for fop 0.93

Re: [SOLVED] Re: Problems using Saxon

2006-10-04 Thread Abbas Mousavi
Thanks. Yes, I have also compiled the saxon from svn and it worked.thank again.Askild Aaberg Olsen [EMAIL PROTECTED] wrote: Askild Aaberg Olsen wrote: Abbas Mousavi wrote: Hi all recently, there were some posts about integrating Saxon 8.8 to cocoon 1.2.9. and there is no clear answer on the list

Re: Problems using Saxon

2006-10-03 Thread Abbas Mousavi
Hi allrecently, there were some posts about integrating Saxon 8.8to cocoon 1.2.9. and there is no clear answer on the list. I have also this problem.Is there anyone on the list that used Saxon 8.8with cocoon 1.2.9 successfully? Is this a problem in saxon? or cocoon?Askild Aaberg Olsen [EMAIL

changing xslt processor to saxon

2006-10-03 Thread Cindy Girard
Hi, I'm trying to use saxon as my XSLT processor instead of Xalan (for now, in the matching instead of as the default), and I'm getting the following error: Message: Lookup of transformer 'xslt-saxon' failed at map:transform type=xslt-saxon - file:/C:/webserver_new/cocoon-2.1.8/build

Re: Problems using Saxon

2006-10-03 Thread Askild Aaberg Olsen
Abbas Mousavi wrote: Hi all recently, there were some posts about integrating Saxon 8.8 to cocoon 1.2.9. and there is no clear answer on the list. I have also this problem. Is there anyone on the list that used Saxon 8.8 with cocoon 1.2.9 successfully? Is this a problem in saxon? or cocoon

[SOLVED] Re: Problems using Saxon

2006-10-03 Thread Askild Aaberg Olsen
Askild Aaberg Olsen wrote: Abbas Mousavi wrote: Hi all recently, there were some posts about integrating Saxon 8.8 to cocoon 1.2.9. and there is no clear answer on the list. I have also this problem. Is there anyone on the list that used Saxon 8.8 with cocoon 1.2.9 successfully

Re: Problems using Saxon

2006-09-08 Thread Askild Aaberg Olsen
Antonio Gallardo wrote: Askild Aaberg Olsen escribió: Jose Miguel Vieira wrote: Hello, I’m trying to add saxon 8.8 to cocoon 2.1.9 installed under tomcat 5.5. We use Saxon 8.7.3 as described the Cocoon Wiki (remember to remove the META-INF directory), but had no success with 8.8

Problems using Saxon

2006-09-07 Thread Jose Miguel Vieira
Hello, Im trying to add saxon 8.8 to cocoon 2.1.9 installed under tomcat 5.5. I followed the instruction in cocoon wiki (http://wiki.apache.org/cocoon/Saxon): 1. Copied saxon jar files into WEB-INF/lib 2. Added a new component to cocoon.xconf: component class

Re: Problems using Saxon

2006-09-07 Thread Askild Aaberg Olsen
Jose Miguel Vieira wrote: Hello, I’m trying to add saxon 8.8 to cocoon 2.1.9 installed under tomcat 5.5. We use Saxon 8.7.3 as described the Cocoon Wiki (remember to remove the META-INF directory), but had no success with 8.8 (but not a nullpointerexception) Askild

Re: Problems using Saxon

2006-09-07 Thread Antonio Gallardo
Askild Aaberg Olsen escribió: Jose Miguel Vieira wrote: Hello, I’m trying to add saxon 8.8 to cocoon 2.1.9 installed under tomcat 5.5. We use Saxon 8.7.3 as described the Cocoon Wiki (remember to remove the META-INF directory), but had no success with 8.8 (but not a nullpointerexception

Saxon does not recognise cocoon protocol

2006-08-29 Thread Abbas Mousavi
Hi Allnewly I replaced Xalan with Saxon, to use some of its features. It works wellwith all of my stylesheets but does not works with stylesheets that usecocoon:// protocol to access some xml files.I think that saxon uses the same URI Resolver as other cocoon components, Is it wrong? All-new

Re: Saxon does not recognise cocoon protocol

2006-08-29 Thread Bertrand Delacretaz
On 8/29/06, Abbas Mousavi [EMAIL PROTECTED] wrote: ...I replaced Xalan with Saxon, to use some of its features. It works well with all of my stylesheets but does not works with stylesheets that use cocoon:// protocol to access some xml files... Saxon shouldn't make a difference about

RE: Saxon does not recognise cocoon protocol

2006-08-29 Thread Ard Schrijvers
...I replaced Xalan with Saxon, to use some of its features. It works well with all of my stylesheets but does not works with stylesheets that use cocoon:// protocol to access some xml files... ?? I do not understand this anyway? You are fetching some xml blocks within xsl with cocoon

RE: Saxon does not recognise cocoon protocol

2006-08-29 Thread Abbas Mousavi
I use cocoon protocol to read some small bit of data to my stylesheet from an xml file, I know that it can be done with include transformer, but this is not the problem, I want to know "why saxon can not recognize urls starting with cocoon://Ard Schrijvers [EMAIL PROTECTED] wrote: ...I rep

Re: RE: Saxon does not recognise cocoon protocol

2006-08-29 Thread Abbas Mousavi
yes, I am reading the xml by document functionfor example document('cocoon://path/to/some/xml.file');Bertrand Delacretaz [EMAIL PROTECTED] wrote: On 8/29/06, Abbas Mousavi <[EMAIL PROTECTED]> wrote: ...I want to know "why saxon can not recognize urls starting with cocoon://In the XS

RE: RE: Saxon does not recognise cocoon protocol

2006-08-29 Thread Ard Schrijvers
...I want to know why saxon can not recognize urls starting with cocoon:// In the XSLT document() function, you mean? Never noticed this function in XSLT... Then again, why would Saxon know about the cocoon:// protocol. Xalan perhaps happens to know, since it is an apache XSLT

Re: Saxon does not recognise cocoon protocol

2006-08-29 Thread Joerg Heinicke
Ard Schrijvers a.schrijvers at hippo.nl writes: ...I want to know why saxon can not recognize urls starting with cocoon:// In the XSLT document() function, you mean? Never noticed this function in XSLT... Then again, why would Saxon know about the cocoon:// protocol. Xalan

Re: Saxon does not recognise cocoon protocol

2006-08-29 Thread Askild Aaberg Olsen
Abbas Mousavi wrote: Hi All newly I replaced Xalan with Saxon, to use some of its features. It works well with all of my stylesheets but does not works with stylesheets that use cocoon:// protocol to access some xml files. I think that saxon uses the same URI Resolver as other cocoon

Re: Saxon does not recognise cocoon protocol

2006-08-29 Thread Mark Lundquist
On Aug 29, 2006, at 7:39 AM, Askild Aaberg Olsen wrote: My experience is that if the referenced pipeline fails, Saxon reports this as unkown protocol cocoon, or something similar. That is exactly right. Try invoking the pipeline directly from your browser (if the pipeline is not internal

RE: Re: Saxon does not recognise cocoon protocol

2006-08-29 Thread Ard Schrijvers
/snip A bit wild guessing, isn't it? ;) Kind of, yes :-))) AFAIK there is something like URLHandlers which have to be registered on the XSLT processor - but I actually never worked with that API directly, so I do not really know. What I wonder about is that Saxon behaves

RE: Xinclude transformer has changed behaviour with Saxon 8.7.1+

2006-07-13 Thread Fennell, Philip
: Xinclude transformer has changed behaviour with Saxon 8.7.1+ Hi Philip-- I apologize it took so long, but I tried out your testcase and was able to verify the problem exists in the current SVN version. Would you please open a JIRA issue at http://issues.apache.org/jira/browse/COCOON containing

Re: Xinclude transformer has changed behaviour with Saxon 8.7.1+

2006-07-12 Thread Jason Johnston
Antonio Gallardo wrote: Hi Philip, Did you test the svn 2.1.x branch? There are some fixes for the XInclude transformer that might help you: http://issues.apache.org/jira/browse/COCOON-1489 http://issues.apache.org/jira/browse/COCOON-1110 http://issues.apache.org/jira/browse/COCOON-1753

Re: Xinclude transformer has changed behaviour with Saxon 8.7.1+

2006-07-11 Thread Antonio Gallardo
, Cocoon 2.1.8, Tomcat 5.5 and Saxon 8.6.1 or 8.7 configured as the default XSLT transformer I was able to embed xi:include instructions within source documents and have Cocoon's Xinclude processor resolve the URL (relative to the source document) correctly. e.g. xi:include href=../../content/resources

Re: Xinclude transformer has changed behaviour with Saxon 8.7.1+

2006-07-01 Thread Jason Johnston
and Saxon 8.6.1 or 8.7 configured as the default XSLT transformer I was able to embed xi:include instructions within source documents and have Cocoon's Xinclude processor resolve the URL (relative to the source document) correctly. e.g. xi:include href=../../content/resources/site/login.xml

Xinclude transformer has changed behaviour with Saxon 8.7.1+

2006-06-19 Thread Fennell, Philip
I have previously posted regarding this problem, and have been rather busy since then, but this time I have an example test case for someone to mull over. With Windows XP sp2, Cocoon 2.1.8, Tomcat 5.5 and Saxon 8.6.1 or 8.7 configured as the default XSLT transformer I was able to embed xi:include

RE: [saxon] Xinclude transformer has changed behaviour with Saxon 8.7.1+

2006-06-19 Thread Michael Kay
Without knowing what Saxon interfaces are being called here, I'm afraid I can't help much. Michael Kay http://www.saxonica.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fennell, Philip Sent: 19 June 2006 12:39 To: users@cocoon.apache.org

RE: RE: Xinclude transformer has changed behaviour with Saxon 8.7.1+ and now the attachment...

2006-06-19 Thread Fennell, Philip
Sorry, First time I mailed this it bounced so I sent it again without the attachment. So hopefully here is the attachment for the Xinclude problem but this time as a tar.gz. Regards Philip Fennell xinclude.tar.gz Description: xinclude.tar.gz

Cocoon's Xinclude behaviour changed with Saxon 8.7.1 - Why?

2006-05-09 Thread Fennell, Philip
I was previously using Saxon 8.6 as the default XSLT processor and I make use of the XInclude transformer as follows: Sitemap fragment map:match pattern=content/resources/site/*.html map:generate type=request src=content/resources/site/{1}.xml/ map:transform src=system

Re: [saxon] Cocoon's Xinclude behaviour changed with Saxon 8.7.1 - Why?

2006-05-09 Thread Philip Fennell
If I recall correctly, it is correct to resolve against the source document's locationI thought that too, which made me ask the question in the first place.I followed your link to bugzilla but could not see the relevance. Either something has been added to or taken away from Saxon

Re: Cocoon's Xinclude behaviour changed with Saxon 8.7.1 - Why?

2006-05-09 Thread Jason Johnston
Fennell, Philip wrote: I was previously using Saxon 8.6 as the default XSLT processor and I make use of the XInclude transformer as follows: Sitemap fragment map:match pattern=content/resources/site/*.html map:generate type=request src=content/resources/site/{1}.xml

RE: Cocoon's Xinclude behaviour changed with Saxon 8.7.1 - Why?

2006-05-09 Thread Fennell, Philip
Jason, My guess is that Saxon 8.6 was actually performing the XInclude inclusions, not the xinclude transformer, since as far as I know the transformer doesn't have a concept of source document location and resolves relative paths from the sitemap context. Perhaps something changed

Re: Cocoon's Xinclude behaviour changed with Saxon 8.7.1 - Why?

2006-05-09 Thread Jason Johnston
Fennell, Philip wrote: Jason, My guess is that Saxon 8.6 was actually performing the XInclude inclusions, not the xinclude transformer, since as far as I know the transformer doesn't have a concept of source document location and resolves relative paths from the sitemap context

RE: Cocoon's Xinclude behaviour changed with Saxon 8.7.1 - Why?

2006-05-09 Thread Fennell, Philip
[mailto:[EMAIL PROTECTED] Sent: 09 May 2006 15:52 To: users@cocoon.apache.org Subject: Re: Cocoon's Xinclude behaviour changed with Saxon 8.7.1 - Why? Fennell, Philip wrote: Jason, My guess is that Saxon 8.6 was actually performing the XInclude inclusions, not the xinclude transformer

Saxon 8 as the core.xpath-processor for XPath2 processing...

2005-11-23 Thread Fennell, Philip
Hello, I can configure Saxon 8 (XSLT2) as the core.xslt-processor using the following mark-up in cocoon.xconf: component logger=core.xslt-processor role=org.apache.excalibur.xml.xslt.XSLTProcessor/saxon class=org.apache.excalibur.xml.xslt.XSLTProcessorImpl parameter name=use-store

Exception: Saxon requires an XML parser that reports the QName of each element

2005-06-24 Thread Carlos M. S. Bento Nogueira
, CN Hello xsl users. I'm using saxon8 with cocoon 2.1.7. and i can't get rid of the following exception: org.xml.sax.SAXException: Saxon requires an XML parser that reports the QName of each element Browsing the web and i found this never answered post in the cocoon mailing list: http

Re: Exception: Saxon requires an XML parser that reports the QName of each element

2005-06-24 Thread Tony Collen
is necessary from the cocoon list as well. Note that i'm using a xsl files from the cforms examples provided with cocoon. TIA, CN Hello xsl users. I'm using saxon8 with cocoon 2.1.7. and i can't get rid of the following exception: org.xml.sax.SAXException: Saxon requires an XML parser

Exception: Saxon requires an XML parser that reports the QName of each element

2005-06-24 Thread Carlos M. S. Bento Nogueira
, CN Hello xsl users. I'm using saxon8 with cocoon 2.1.7. and i can't get rid of the following exception: org.xml.sax.SAXException: Saxon requires an XML parser that reports the QName of each element Browsing the web and i found this never answered post in the cocoon mailing list: http

Re: saxon in production?

2005-05-14 Thread Bertrand Delacretaz
Le 14 mai 05, à 00:11, Gregor J. Rothfuss a écrit : ...we use it in production and found it to be lots faster than xalan (no surprise there). saxon8 is much stricter about XSL syntax than xalan, so you may have to do some small modifications to your stylesheets to comply, but saxon has very

Re: saxon in production?

2005-05-14 Thread Askild Aaberg Olsen
to comply, but saxon has very good error reporting, so that is easy... Same here, also using saxon8 in production, very happy with it. There's some info at http://wiki.apache.org/cocoon/Saxon -Bertrand Same her, performant and stable. In addition, you can use the features of XSLT2.0 (not a complete

RE: saxon in production?

2005-05-14 Thread Nathaniel Alfred
Le 14 mai 05, à 00:11, Gregor J. Rothfuss a écrit : ...we use it in production and found it to be lots faster than xalan (no surprise there). saxon8 is much stricter about XSL syntax than xalan, so you may have to do some small modifications to your stylesheets to comply, but saxon has

  1   2   >