Re: Cocoon in Eclipse??

2008-06-09 Thread Andy Stevens
migselv46 wrote: Hi I have searched everywhere and tried everything trying to use cocoon in Eclipse/Tomcat (or even better in WSAD 5.x) - that is - not by using ant, maven or jetty server. Is it at all possible? What version - 2.1.x or 2.2? With 2.1.x, the Ant build can generate a simple

Re: switch off parser validation in cocoon 2.2

2008-06-09 Thread Marc Salvetti
Thanks a lot for the pointer, it seems to be what I'm looking for. Marc 2008/6/7 Grzegorz Kossakowski [EMAIL PROTECTED]: Marc Salvetti pisze: Hello, I'm having a big issue that just appeared after a server crash, I don't know why, either it's a configuration problem but now get the

Saving a file from the cocoon webapp

2008-06-09 Thread Marc Salvetti
Hello, I'm having a file permission problem with my webapp, and it seems to be due to the app overwriting the saved file rather than saving it. After the file is saved, the group have changed to nobody, which creates problems in my case. I'm using a function that was fond in the cocoon examples

Re: character-maps in cocoon

2008-06-09 Thread Jeroen Reijn
Hi! You could try to use disable-output-escaping in your xslt files. Maybe that will help. Regards, Jeroen Heather Rankin wrote: Hi, Are character-maps supported in Cocoon 2.1? I need to replace lt; and gt; entity references with the literal characters '' and '' and can't get it to work

character-maps in cocoon

2008-06-09 Thread Heather Rankin
Hi, Are character-maps supported in Cocoon 2.1? I need to replace lt; and gt; entity references with the literal characters '' and '' and can't get it to work in Cocoon. I have the following character-map in my XSLT: xsl:output use-character-maps=cm1 method=xml indent=yes encoding=UTF-8

RE: character-maps in cocoon

2008-06-09 Thread Geert Josten
Heather, This could be done by using Saxon as (XSL)Serializer. I have some code around somewhere, but I won't be able to look it up till the end of the day (CET time). Kind regards, Geert Drs. G.P.H. Josten Consultant http://www.daidalos.nl/ Daidalos BV Source of Innovation

RE: character-maps in cocoon

2008-06-09 Thread Heather Rankin
Thanks Jeroen, I have tried disable-output-escaping. That also works outside of Cocoon, but not in Cocoon. As disable-output-escaping has been deprecated in XSLT2 and replaced with Character Maps, I went the character-map route (hoping for a result)! Heather -Original Message- From:

RE: character-maps in cocoon

2008-06-09 Thread Heather Rankin
Thanks Geert, If you mean I should use saxon as my XSLT processor in my XSLT transforer, I'm already doing that: component logger=core.xslt role=org.apache.excalibur.xml.xslt.XSLTProcessor/saxon class=org.apache.cocoon.components.xslt.TraxProcessor parameter

Re: Cocoon in Eclipse??

2008-06-09 Thread migselv46
Hi Andy Thanks a lot for your reply. I am using Eclipse 3.2 and Cocoon 2.2 (although I have tried a lot of other versions as well as nothing seems to really work without exotic errors ) I was very much in doubt with the setup of the CocoonServlet so that is good to know. I tried to create

xsl:copy-of select

2008-06-09 Thread Johannes Hoechstaedter
Hallo everybody, I have the following problem. I transform an sql statement by a xsl stylsheet: which looks like the following: ?xml version=1.0? xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;

Re: xsl:copy-of select

2008-06-09 Thread Vyacheslav Sedov
can you post here result of xsl:copy-of select=/*/? On Mon, Jun 9, 2008 at 6:50 PM, Johannes Hoechstaedter [EMAIL PROTECTED] wrote: Hallo everybody, I have the following problem. I transform an sql statement by a xsl stylsheet: which looks like the following: ?xml version=1.0?

RE: character-maps in cocoon

2008-06-09 Thread Heather Rankin
Hi Geert, Just to save you some digging, I managed to get this working with the saxon:parse() extension instead. This works fine (no need for character maps): !-- Where node contains text mixed with enity references -- xsl:copy-of select=saxon:parse(results/node)/ Thanks for the help. Heather

Re: xsl:copy-of select

2008-06-09 Thread Johannes Hoechstaedter
The output is the following: sql:rowset nrofrows=... name=lastmod sql:row sql:login_namename/sql:login_name sql:emailemail/sql:email /sql:row sql:row sql:login_namename/sql:login_name sql:emailemail/sql:email /sql:row sql:row sql:login_namename/sql:login_name sql:emailemail/sql:email /sql:row

RE: copy-of select

2008-06-09 Thread Heather Rankin
Hi Johannes, You say Cocoon copies everything through when you use xsl:copy-of select=./, but what happens when you use xsl:copy-of select=sql:email/? What does your source SQL XML look like? I suspect the xpath in your copy-of select / probably just needs a little adjusting, but without seeing

Re: xsl:copy-of select

2008-06-09 Thread Vyacheslav Sedov
look like sql:email is not child of page element - you can use xsl:value-of select=name()/ to determine current node and provide full path to node or use descendant::sql:email On Mon, Jun 9, 2008 at 7:05 PM, Johannes Hoechstaedter [EMAIL PROTECTED] wrote: The output is the following:

help me about deli

2008-06-09 Thread Angela Isgrò
Hello, I'm a student of computer science engineering (Messina - IT). I'm using Cocoon (version source 2.1.7- Linux) for the development of a plan of Wireless systems. I have a problem:I used DELI for recognition of devices and I must add news profiles UAprof (Alcatel, Nokia) but I don't

help me about deli

2008-06-09 Thread Angela Isgrò
Hello, I'm a student of computer science engineering (Messina - IT). I'm using Cocoon (version source 2.1.7- Linux) for the development of a plan of Wireless systems. I have a problem:I used DELI for recognition of devices and I must add news profiles UAprof (Alcatel, Nokia) but I don't

Re: Cocoon 2.2 Samples???

2008-06-09 Thread William Moore
Hi As I did not get an answer to this, does that mean it is not possible to download the samples? Best regards William On 6 Jun, 2008, at 4:36 pm, William Moore wrote: Hi Where can I download the source of the samples please? Thanks William On 5 Jun, 2008, at 6:28 pm, Jasha

RE: character-maps in cocoon

2008-06-09 Thread Geert Josten
Hi, Other people may have raised their ears in expectation, so I am going to give away the most essential details anyway.. ;-) You need to create a new Java Cocoon component unfortunately. The easiest way is to extend the AbstractTextSerializer. You basically only need to overrule the

Service Temporarily Unavailable and Broken pipe

2008-06-09 Thread bary
Hi I have developed an application using cocoon portal block. Everything was working but in last week we have serious problem. When I start to work with the application, some times I get Service Temporarily Unavailable error message. Firstly the application is processing something, but after

Re: Service Temporarily Unavailable and Broken pipe

2008-06-09 Thread Antonio Gallardo
Hi Peter, I don't think the SocketException is the cause of the issue. IIRC, this just mean a client closed connection, perhaps a timeout. Would you provide more info? cocoon version. Did you check the cocoon logs? Maybe there is something. Best Regards, Antonio Gallardo. bary escribió:

ApplicationContext from sitemap component?

2008-06-09 Thread Boris Goldowsky
So the archetype demos make it clear that from flowscript you can look up a Spring bean with cocoon.getComponent(name), but what is the recommended method for looking one up from inside a Transformer or other sitemap component? Thanks, Bng

Re: xsl:copy-of select

2008-06-09 Thread Joerg Heinicke
That makes it xsl:copy-of select=sql:rowset/sql:row/sql:email/. You have to navigate the tree. Joerg On 09.06.2008 11:05, Johannes Hoechstaedter wrote: The output is the following: sql:rowset nrofrows=... name=lastmod sql:row sql:login_namename/sql:login_name sql:emailemail/sql:email

XSP block (was: Type 'serverpages' does not exist for 'map:generate')

2008-06-09 Thread Joerg Heinicke
Moving this discussion from users list (for reference [1]) to dev list. On 06.06.2008 19:02, Alfred Nathaniel wrote: Warning: I'm stating my own opinion here, nothing official or something like that. There are at least three problems with XSP: 1. No active committer is interested in XSP

Re: Avoiding OutOfMemory Errors by limiting data in pipeline

2008-06-09 Thread Joerg Heinicke
Joerg Heinicke joerg.heinicke at gmx.de writes: 2. Does the full amount of the buffer automatically get allocated for each request, or does it grow gradually based on the xml stream size? That's a very good question - with a negative answer: A buffer of that particular size is created