RE: file generator error

2003-01-13 Thread Sylvain.Thevoz
Hi, It means that if I replace the '' by 'amp;', the link isn't correct anymore. The problem seems to be that the Tomcat web server doesn't convert 'amp;' to '' and use 'amp;' to retrieve the web page. Any idea? Is it a Tomcat bug? Thank you Sylvain -Message d'origine- De: Joerg

sql errors and esql

2003-01-13 Thread Sarah Windler
Hi I don't understand, why some sql errors goes through the esql:error-results pipe and others not. For example: 1. SQL select mgmt_ip_addressm from v_ps_port_traffic; select mgmt_ip_addressm from v_ps_port_traffic * ERROR at line 1: ORA-00904: MGMT_IP_ADDRESSM: invalid identifier 2.SQL

Re: sitemap war

2003-01-13 Thread Konstantin Piroumian
Hi! Take a look at the webapp properties, you can define which resources to copy into the WAR. And you can also setup a new file type somewhere in Tools-IDE settings (or so), so .xmap extension will be recognized. Konstantin - Original Message - From: Fernando Wermus [EMAIL PROTECTED]

RE: expires parameter

2003-01-13 Thread Carsten Ziegeler
Miles Elam wrote: I'm using 2.1-dev and for the life of me, I can't figure out how to get the expires parameter to work. I tried following the instructions on the web site (http://xml.apache.org/cocoon/performancetips.html), but they had no effect. I must say that the instructions are

Re: sql errors and esql

2003-01-13 Thread Christian Haul
On 13.Jan.2003 -- 09:47 AM, Sarah Windler wrote: Hi I don't understand, why some sql errors goes through the esql:error-results pipe and others not. For example: 1. SQL select mgmt_ip_addressm from v_ps_port_traffic; select mgmt_ip_addressm from v_ps_port_traffic * ERROR at line

RE: sql errors and esql

2003-01-13 Thread Windler Burri, Sarah
Hi Thank you for your reply, but I am not agree: 1. Both errors in the example are runtime errors! Or more precisaly: Who decides, which error ist a syntax or runtime error? 2. We loose a lot of transparency, when eslq decides about errors during runtime. Regards Sarah Windler -Original

Re: sql errors and esql

2003-01-13 Thread Christian Haul
On 13.Jan.2003 -- 10:57 AM, Windler Burri, Sarah wrote: Hi Thank you for your reply, but I am not agree: 1. Both errors in the example are runtime errors! Or more precisaly: Who decides, which error ist a syntax or runtime error? The try{ block starts just before prepareCall() or

cocoon based website as example site for newbies ...

2003-01-13 Thread SAXESS - Hussayn Dabbous
Hy, all; First i want to thank you for all the support i gained during the last 2 months from this mailing list. Now i have mastered my first company website based entirely on XML and cocoon. (curious people may look at http://www.saxess.de ) I am still at the very beginning of the cocoon

Re: sql errors and esql

2003-01-13 Thread Sarah Windler
Thank you for the hint. I am trying to understand, what you mean: 1.Setup the database connection -- setup error 2. Setup a prepStatement (con.prepareStatement(queryString) -- ??? 3. exeute the query: prepStmt.execute()] -- runtime error Is the second a runtime or setup error? regards

Re: sql errors and esql

2003-01-13 Thread Christian Haul
On 13.Jan.2003 -- 12:26 PM, Sarah Windler wrote: Thank you for the hint. I am trying to understand, what you mean: 1.Setup the database connection -- setup error 2. Setup a prepStatement (con.prepareStatement(queryString) -- ??? 3. exeute the query: prepStmt.execute()] -- runtime

Article on XML Journal Magazine about DBPrism/Cocoon and MetaBOX

2003-01-13 Thread Marcelo F. Ochoa
Hi all: Building Applications with less code, MetaBOX and declarative programming model. This article shows how to build database Web applications using Oracle, two open-source frameworks (DBPrism/Cocoon), and MetaBOX software. Building database Web applications is commonly a repetitive task;

XMLForm view: what is the id

2003-01-13 Thread Sylvain.Thevoz
Hi all, Here the beginning of an XMLForm view called form1.xml: ?xml version=1.0 ? document xmlns:xf=http://xml.apache.org/cocoon/xmlform/2002; xf:form id=form-feedback view=form1 action=delete.html In the third line there is a id=form-feedback. What does this id means? Thank you Sylvain

Set SQL results into an array

2003-01-13 Thread Maxime.Gheysen
Hi everybody, I use microsoft SQL server, and XSP pages. I also use ESQL for all my DB commands. I want to insert data with query like INSERT Into blabla (ID) values (MyArray) In this query MyArray is the result of another query. How can I make it? Here is an example : Table : XY Columns : ID,

Re: HTTP 302 error

2003-01-13 Thread Eric BERTHOMIER
I've found the problem and the solution. When I use Java j2sdk1.4.1_01 I've got the error 192.168.2.50 - - [10/Jan/2003:15:21:48 1000] GET /oeuf HTTP/1.1 302 - but if I use Java jdk1.3.1_06 all work. Eric At 19:18 10/01/2003 +0100, Joerg Heinicke wrote: Can you tell a bit more, what you are

Re: file generator error

2003-01-13 Thread Joerg Heinicke
Hello Sylvain, this has nothing to do with Tomcat, but only with XML. amp; is the representation of the ampersand character. But the is a special character in XML, so it must be escaped. If the file is parsed, you have only the character in memory or where ever. Of course there can still be

Re: xml:lang=de question

2003-01-13 Thread Joerg Heinicke
XHTML 1 spec: http://www.w3.org/TR/xhtml1/#C_7 Of course xml:lang and lang should not differ. Regards, Joerg Ines Robbers wrote: Hi, Can someone tell me what is the correct way of marking the language as german: html xmlns=http://www.w3.org/1999/xhtml; xml:lang=de lang=de or html

cookie http header in a request generator

2003-01-13 Thread Eduardo Zurita
Hello, Can I use a pipeline request generator to send a cookie to a remote server?. The idea is to capture the cookie from the client (browser) and pass it as a parameter to cocoon. Then cocoon uses this cookie in its requests to remote server, wich serves XML data only if that cookie is

RE: file generator error

2003-01-13 Thread Geoff Howard
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Monday, January 13, 2003 3:25 AM To: [EMAIL PROTECTED] Subject: RE: file generator error Hi, It means that if I replace the '' by 'amp;', the link isn't correct anymore. The problem seems to be that the

RE: file generator error

2003-01-13 Thread Sylvain.Thevoz
Hi Geoff, How do you debug this and how do you find your result? Thank you Regards Sylvain -Message d'origine- De: Geoff Howard [mailto:[EMAIL PROTECTED]] Date: lundi, 13. janvier 2003 15:46 À: [EMAIL PROTECTED] Objet: RE: file generator error -Original Message- From: [EMAIL

Re: cookie http header in a request generator

2003-01-13 Thread SAXESS - Hussayn Dabbous
Hy, You may look at : http://www.mail-archive.com/cocoon-users@xml.apache.org/msg22672.html regards, Hussayn Eduardo Zurita wrote: Hello, Can I use a pipeline request generator to send a cookie to a remote server?. The idea is to capture the cookie from the client (browser) and pass

Re: output-encoding in HTMLGenerator, please help!

2003-01-13 Thread Joerg Heinicke
Hello Yuri, I only can confirm the bug in HTML generator. It seems it can not read the KOI8-R encoded file correctly. I tested it with your html snippet saved to a static file. serializer.setOutputProperty(OutputKeys.ENCODING, KOI8-R); of course does not help, because that's only the output.

Re: file generator error

2003-01-13 Thread Joerg Heinicke
Hello Geoff and Sylvain, I can't confirm a bug using Cocoon 2.1 dev from CVS (2003-01-07). Using this sitemap snippet map:match pattern=test map:generate src=http://www.moreover.com/cgi-local/page?o=xmlamp;c=Virus%20warnings/ map:serialize type=xml/ /map:match I have this in my core.log,

RE: file generator error

2003-01-13 Thread Sylvain.Thevoz
Hi Joerg, I'm using Cocoon 2.1 dev but an old version (17.10.2002). It could be the problem, no? Geoff: which version do you use? Regards Sylvain -Message d'origine- De: Joerg Heinicke [mailto:[EMAIL PROTECTED]] Date: lundi, 13. janvier 2003 16:56 À: [EMAIL PROTECTED] Objet: Re: file

NewBee - Dynamically created XML

2003-01-13 Thread Steve Millington
Being a newbee to Cocoon, I am wondering if someone can help me with a quick strategy to solve the following problem. I already have a Java program that can produce XML text. For example, I have a java Bean that has a generate() method that returns a String that contains a valid XML fragment.

Re: XMLForm view: what is the id

2003-01-13 Thread e nio
That attribute is the unique-id. And as you may have already come across, the sample XMLFormWizard howto is having a problem if you also have it defined on the same sitemap.xmap as the other Wizard sample and they both use the same id, therefore make sure this id is different from the Wizard

Re: Orion 1.5.3 and cocoon2.1 - help complete deployment

2003-01-13 Thread e nio
Well, I didn't get much additional info since last I posted. I tried to back down to Cocoon2.0.4 source and compiled and seems like everything work okay with Tomcat 4.1.12. However, orion 1.5.3 is a beast to conquer. With 2.0.4 + orion 1.5.3I could not even get anything to do with cocoon

Cocoon 2.0.4 + orion 1.5.3 Not Working

2003-01-13 Thread e nio
Per subject, it does not work, please help if possible. Forgot to include the stack trace errors on my previous post today: Cocoon 2 - Internal server error type fatal message Language Exception description org.apache.cocoon.ProcessingException: Language Exception:

Re: Orion 1.5.3 and cocoon2.1 - help complete deployment

2003-01-13 Thread Brian Johnson
Do you have the Cocoon webapp mounted under /cocoon instead of /? All of the sitemaps assume that cocoon is not part of the path of the request. On Monday, January 13, 2003, at 01:19 PM, e nio wrote: Well, I didn't get much additional info since last I posted. I tried to back down to

access cocoon as component from transformer

2003-01-13 Thread Brian Johnson
I have a transformer that sends portions of an xml document through another sitemap pipeline and inserts the results in the current pipeline. Under Cocoon 2.0.4, I used the ComponentManager to lookup a Processor and process a new environment with the xml fragment, but under Cocoon 2.1 it seems

Re: Cocoon 2.0.4 + orion 1.5.3 Not Working

2003-01-13 Thread Steven Punte
Give it a try as identially as possible to the instructions I've posted on candlelightsoftware.com. That is, use cocoon 2.0.3, orion 1.5.4, jdk 1.3.1, etc... Once you have a working system, then step by step migrate to the versions you desire. Overall, you will spend LESS time in this manner than

Re: HOWTO: Cocoon 2.0.4 + Apache client-side caching

2003-01-13 Thread Bruce Robertson
Quoting SAXESS - Hussayn Dabbous [EMAIL PROTECTED]: Wouldn't it be great to place this HOWTO into the cocon wiki ? regards, hussayn The HOWTO, with some additional notes from the weekend's experience, can now be found at: http://wiki.cocoondev.org/Wiki.jsp?page=CocoonAndApacheModRequest

Re: Cocoon 2.0.4 + orion 1.5.3 Not Working

2003-01-13 Thread e nio
I've done some cleaning up, so I may only have orion 1.5.3 + jdk 1.4.0_01 + Cocoon 2.0.4. Yes the default orion apps comes alive under default-web-app/examples and even the sample xml/xsl files under default-web-app/examples/xsl/. Btw, Thank you for posting howtos at your site. Further, I

form encoding UTF-8 / ISO-8859-1

2003-01-13 Thread Martin Koeppe
Hello, I'm using a recent developer version of cocoon 2.1 (Jan 9 2003), tomcat 4.1.12 on SuSE Linux 8.0 Kernel 2.4.20, and I found a problem with parsing the request parameters from a GET request: The browser (both Mozilla and IE) sends them as UTF-8, but cocoon interprets them as ISO-8859-1.

access cocoon as component from transformer

2003-01-13 Thread Brian Johnson
I have a transformer that sends portions of an xml document through another sitemap pipeline and inserts the results in the current pipeline. Under Cocoon 2.0.4, I used the ComponentManager to lookup a Processor and process a new environment with the xml fragment, but under Cocoon 2.1 it seems

Re: Orion 1.5.3 and cocoon2.1 - help complete deployment

2003-01-13 Thread e nio
However I dont quite follow why with a url of http://localhost:/ the main sitemap.xmap matcher would then redirect to http://localhost:/documents/index.html but yet it would not go to samples/welcome/ Regards, e nio --- Brian Johnson [EMAIL PROTECTED] wrote: Do you have the

Re: NewBee - Dynamically created XML

2003-01-13 Thread Cocoon User
use aggregation in site map to create a final xml from some xml fragments we have test many ways to solve a problem like this from xsp (dynamic pages) to c or x include but we have a least descide touse sitemap aggregation stavros On Mon, 13 Jan 2003, Steve Millington wrote: Being a

RE: file generator error

2003-01-13 Thread Geoff Howard
don't remember seeing a bug fix related to this, but that could be it - I use a cvs version of 2.1 from early december (12/7 I think). Joerg, do you get the result I do on the request generator example (Sylvain too)? Geoff -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

RE: NewBee - Dynamically created XML

2003-01-13 Thread Geoff Howard
Check out the util logicsheet (documentation is poor - you'll have to look at the source). You'd find it at http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/java/org/apache/cocoon/com ponents/language/markup/xsp/java/util.xsl?rev=1.7content-type=text/vnd.view cvs-markup I think you'll want to

[RT] [ANN] Cocoon Course

2003-01-13 Thread Michael Nash
Hello All: It was suggested to me on the krysalis-jakarta-adv list that this would be an acceptable place for an announcement about a Cocoon course - please let me know if I should be posting elsewhere... JGlobal Ltd. is offering an introductory training course in Cocoon with an emphasis on

Re: Cocoon 2.0.4 + orion 1.5.3 Not Working

2003-01-13 Thread e nio
Is jdk1.4.0.01 compatible with cocoon2.0.4? Seems not, or perhaps this is known issue and I just can't recall. Anyhow, I went looking for a jdk1.3.1 on my system, and used it to recompile cocoon.2.0.4. It works great with Tomcat4.1.12 (not all samples work but its okay) but same war file

Re: Cocoon 2.0.4 + orion 1.5.3 Not Working

2003-01-13 Thread Steven Punte
Enio: I think 1.4.0 with Cocoon has "some" issues, but the basic stuff works. Yes, you should be able to remove crimson.jar and parser.jar. Orion doesn't use them specifically, only apps do. steve e nio [EMAIL PROTECTED] wrote: I've done some cleaning up, so I may only have orion 1.5.3 +jdk

Re: Cocoon 2.0.4 + orion 1.5.3 Not Working

2003-01-13 Thread Steven Punte
I have found a few problems with 1.4.0, but havn't worked them out yet, instead just stayed with 1.3.1. Orion requires you copy the tools.jar from whatever JDK installation you have to it's home directory in order for JSP to work. In this manner, it is having you supply the appropriate java

Trouble connecting StreamGenerator to HSSFSerializer

2003-01-13 Thread Eric Simmerman
I'm having trouble combining two Cocoon samples into the same mapping. I setup this simple mapping using the Stream and POI examples in Cocoon 2.0.4: map:match pattern=convert map:generate type=stream/ map:serialize type=xls/

i18n again!!!!

2003-01-13 Thread Hong Gia Dinh
Hi all, I know that we can change language from text, button, attribute now if i want to change image according to languages!!! because some of my images having the text on it!! how can i do that?? with cocoon 2.0.3 ?? because i cant use i18n:when in cocoon 2.0.3 how can i change

i18n again

2003-01-13 Thread Hong Gia Dinh
Title: i18n again Hi all, I have rather large messages files! Can i have any way to define many messages for each language??? My messages_en.xml contains too many data! and i dont want a too large message, because it is very hard to managed and supervised! now i want to separate into

i18n:when ????????????

2003-01-13 Thread Hong Gia Dinh
Title: i18n:when Can you all tell me where i18n:when is implemented??? in which version of Cocoon??? i am using cocoon 2.0.3 but cant find and use it! Thanks a lot -Original Message- From: Piroumian Konstantin [mailto:[EMAIL PROTECTED]] Sent: 13 October 2002

RE: Useful directory structure (was AW: i18n with sub sitemaps)

2003-01-13 Thread Hong Gia Dinh
Title: RE: Useful directory structure (was AW: i18n with sub sitemaps) Hi Piroumian I found that you declare that : One thing I'd do for sure: move some of the used resources to the WEB-INF, so they would not be accidentally sent to the user. So, WEB-INF can look like: WEB-INF\

'\n' character in cocoon output stream

2003-01-13 Thread Yury Mikhienko
Hi all! Ho to I can insert the '\n' character (0x0a) in cocoon output stream (in serialized document)? I wish this symbol add in transformation step (if it possible). Thanx for advise. -- Best regards, Yury Mikhienko. IT engineer, ZAO Mobicom-Kavkaz

Re: i18n again!!!!

2003-01-13 Thread Kim Jelmoni
you can for example: in xml : ?xml version=1.0 encoding=UTF-8? imageheader xmlns:i18n=http://apache.org/cocoon/i18n/2.0; topmenu name=HEADER_CHLOCALE_G i18n:attr=name target=groups.html?locale=de_CH height=7 width=10/ topmenu name=HEADER_CHLOCALE_F i18n:attr=name