RE: negative time with Profiling on 2.1-Dev (was NPE withProfiling on 2.1-Dev)
Do you use the ProfilingCaching implementation? If so, please try the non caching version as there might be some concerns with profiling and caching. Carsten -Original Message- From: Bruce Krautbauer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 5:02 PM To: [EMAIL PROTECTED] Subject: RE: negative time with Profiling on 2.1-Dev (was NPE withProfiling on 2.1-Dev) Hi Carsten, thanks for the fix, it works now. This is a very nice feature! Now for the next issue. For some reason I am getting negative time for the i18n transformer in my pipeline. Here is the xml that is returned: ?xml version=1.0 encoding=UTF-8 ? profilerinfo date=Jun 25, 2002 9:05:53 AM xmlns=http://apache.org/cocoon/profiler/1.0; pipeline uri=7274/default/QuickLook/htmlprog count=4 time=12278 average time=3069 element role=file source=stylesheets/devices/7274/QuickLook/page.xml time=1587 / element role=xslt source=stylesheets/page.xslt time=1482 / element role=i18n time=-378 / element role=xslt source=stylesheets/page2pages.xslt time=97 / element role=writeDOMsession time=30 / element role=xslt source=stylesheets/rootwrap.xslt time=100 / element role=xslt source=stylesheets/devices/7274/QuickLook/htmlprog.xslt time=102 / element role=i18n time=7 / element role=org.apache.cocoon.serialization.HTMLSerializer time=40 / /average result time=9864 element role=file source=stylesheets/devices/7274/QuickLook/page.xml time=3935 / element role=xslt source=stylesheets/page.xslt time=5929 / element role=i18n time=-561 / element role=xslt source=stylesheets/page2pages.xslt time=150 / element role=writeDOMsession time=50 / element role=xslt source=stylesheets/rootwrap.xslt time=141 / element role=xslt source=stylesheets/devices/7274/QuickLook/htmlprog.xslt time=90 / element role=i18n time=10 / element role=org.apache.cocoon.serialization.HTMLSerializer time=120 / /result result time=1152 element role=file source=stylesheets/devices/7274/QuickLook/page.xml time=1152 / element role=xslt source=stylesheets/page.xslt time=0 / element role=i18n time=-401 / element role=xslt source=stylesheets/page2pages.xslt time=90 / element role=writeDOMsession time=40 / element role=xslt source=stylesheets/rootwrap.xslt time=100 / element role=xslt source=stylesheets/devices/7274/QuickLook/htmlprog.xslt time=141 / element role=i18n time=20 / element role=org.apache.cocoon.serialization.HTMLSerializer time=10 / /result result time=661 element role=file source=stylesheets/devices/7274/QuickLook/page.xml time=661 / element role=xslt source=stylesheets/page.xslt time=0 / element role=i18n time=-320 / element role=xslt source=stylesheets/page2pages.xslt time=100 / element role=writeDOMsession time=10 / element role=xslt source=stylesheets/rootwrap.xslt time=90 / element role=xslt source=stylesheets/devices/7274/QuickLook/htmlprog.xslt time=110 / element role=i18n time=0 / element role=org.apache.cocoon.serialization.HTMLSerializer time=10 / /result result time=601 element role=file source=stylesheets/devices/7274/QuickLook/page.xml time=601 / element role=xslt source=stylesheets/page.xslt time=0 / element role=i18n time=-231 / element role=xslt source=stylesheets/page2pages.xslt time=50 / element role=writeDOMsession time=20 / element role=xslt source=stylesheets/rootwrap.xslt time=70 / element role=xslt source=stylesheets/devices/7274/QuickLook/htmlprog.xslt time=70 / element role=i18n time=0 / element role=org.apache.cocoon.serialization.HTMLSerializer time=21 / /result /pipeline /profilerinfo There is very little for the i18n transformer to do the first time it is used in the pipeline, and I'm sure the i18n transformer is very efficient, but I don't think it can turn back time! ;) Thanks, Bruce [EMAIL PROTECTED]
Re: retrieve esql return code or output paramter
On 25.Jun.2002 -- 03:08 PM, Naquin, Beth wrote: Hello, This is probably obvious, but I just haven't been able to figure it out. I have a stored procedure that returns a return code, but not a resultset. The return codes are 0-4 and each mean something specific. When I execute the stored procedure, I need to be able to retrieve the return code and use it in my xsl stylesheet. I can't figure out what to put inside esql:call-results to retrieve this return code. Try esql:get-int column=1 from-call=yes/ Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: how to remove the DTD wriiten at the top ?
You're right when I remove the doctype and encoding elements in the serializer description, it works. I though these tags were mandatory, but they are not. Thx all for your help. Geoff Howard wrote: There is definitely something horribly wrong there. 1) Does this happen if you get rid of encoding, doctype-public, and doctype-system tags? 2) What version of cocoon are you using? Geoff Howard -Original Message- From: Sebastien SACARD [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 2:55 AM To: [EMAIL PROTECTED] Subject: Re: how to remove the DTD wriiten at the top ? Vadim Gritsenko wrote: From: Sebastien SACARD [mailto:[EMAIL PROTECTED]] Hi, I can't get rid off the DTD declaration written on top of the HTML pages created with a default serializer : map:serializers default=html map:serializer name=html mime-type=text/html; charset ISO-8859-1 src=org.apache.cocoon.serialization.HTMLSerializer encodingISO-8859-1/encoding doctype-public-//W3C//DTD HTML 4.0 Transitional//EN /doctype-public doctype-systemhttp://www.w3.org/TR/REC-html40/loose.dtd/do ctype-syste m omit-xml-declarationtrue/omit-xml-declaration indent1/indent /map:serializer I thought the omit-xml-declaration was doing the trick, It omits *XML* declaration. According to spec, this is: ?xml ... ? but it's not. Is there somewhere else a parameter to define in order to remove these 30ko of datas off my pages ? You mean 30 bytes? Try map:serializers default=html map:serializer name=html mime-type=text/html; charset ISO-8859-1 src=org.apache.cocoon.serialization.HTMLSerializer encodingISO-8859-1/encoding omit-xml-declarationtrue/omit-xml-declaration /map:serializer Or, don't use HTML serializer then, use XML serializer. It will not write doctype. Vadim Thanks a lot Hi all, Unfortunatly, these tips did not work. Even when I serialise to XML everything stay in the header of my page. I really mean it's about 30ko, not 30 bytes. Here is what is included in my page, maybe it'll help you to understand my problem : !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.0 Transitional//EN http://www.w3.org/TR/REC-html40/loose.dtd; !-- Extensible HTML version 1.0 Transitional DTD This is the same as HTML 4.0 Transitional except for changes due to the differences between XML and SGML. Namespace = http://www.w3.org/1999/xhtml For further information, see: http://www.w3.org/TR/xhtml1 Copyright (c) 1998-2000 W3C (MIT, INRIA, Keio), All Rights Reserved. This DTD module is identified by the PUBLIC and SYSTEM identifiers: PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN SYSTEM http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; $Revision: 1.1 $ $Date: 2000/01/26 14:08:56 $ --!-- Character mnemonic entities =--!-- Portions (C) International Organization for Standardization 1986 Permission to copy in any form is granted for use with conforming SGML systems and applications as defined in ISO 8879, provided this notice is included in all copies. --!-- Character entity set. Typical invocation: !ENTITY % HTMLlat1 PUBLIC -//W3C//ENTITIES Latin 1 for XHTML//EN http://www.w3.org/TR/xhtml1/DTD/xhtml-lat1.ent; %HTMLlat1; --!-- no-break space = non-breaking space, U+00A0 ISOnum --!-- inverted exclamation mark, U+00A1 ISOnum --!-- cent sign, U+00A2 ISOnum --!-- pound sign, U+00A3 ISOnum --!-- currency sign, U+00A4 ISOnum --!-- yen sign = yuan sign, U+00A5 ISOnum --!-- broken bar = broken vertical bar, U+00A6 ISOnum --!-- section sign, U+00A7 ISOnum --!-- diaeresis = spacing diaeresis, U+00A8 ISOdia --!-- copyright sign, U+00A9 ISOnum --!-- feminine ordinal indicator, U+00AA ISOnum --!-- left-pointing double angle quotation mark = left pointing guillemet, U+00AB ISOnum --!-- not sign = discretionary hyphen, U+00AC ISOnum --!-- soft hyphen = discretionary hyphen, U+00AD ISOnum --!-- registered sign = registered trade mark sign, U+00AE ISOnum --!-- macron = spacing macron = overline = APL overbar, U+00AF ISOdia --!-- degree sign, U+00B0 ISOnum --!-- plus-minus sign = plus-or-minus sign, U+00B1 ISOnum --!-- superscript two = superscript digit two = squared, U+00B2 ISOnum --!-- superscript three = superscript digit three = cubed, U+00B3 ISOnum --!-- acute accent = spacing acute, U+00B4 ISOdia --!-- micro sign, U+00B5 ISOnum --!-- pilcrow sign = paragraph sign, U+00B6 ISOnum --!-- middle dot = Georgian comma
Urgent: i18n and xsp:element does not work!
Dear colleagues, I have a problem using the xsp:element tag with i18n. I have this pipeline (the catalog works fine): map:match pattern=RX map:generate type=serverpages src=../xsp/rx.xsp/ map:transform type=i18n/ map:serialize type=xml/ /map:match and my xsp: ?xml version=1.0 encoding=UTF-8? xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:xsp-session=http://apache.org/xsp/session/2.0; create-session=true service xmlns:i18n=http://apache.org/cocoon/i18n/2.0; !-- (1) -- input_city id=startcity label=xy i18n:attr=label/ !-- (2) -- xsp:element name=input_city xsp:attribute name=idstartcity/xsp:attribute xsp:attribute name=labelxy/xsp:attribute xsp:attribute name=i18n:attrlabel/xsp:attribute /xsp:element /service /xsp:page The result is, that (1) works fine, but (2) does not!!! The result is: ?xml version=1.0 encoding=UTF-8 ? service xmlns:xsp=http://apache.org/xsp; xmlns:xsp-session=http://apache.org/xsp/session/2.0; xmlns:i18n=http://apache.org/cocoon/i18n/2.0; input_city id=startcity label=City: / input_city id=startcity label=xy i18n:attr=label / /service Can anybody help me please? Thank you, best regards - Volker - - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Urgent: i18n and xsp:element does not work!
On 26.Jun.2002 -- 09:51 AM, Volker Schneider wrote: Dear colleagues, I have a problem using the xsp:element tag with i18n. I have this pipeline (the catalog works fine): map:match pattern=RX map:generate type=serverpages src=../xsp/rx.xsp/ map:transform type=i18n/ map:serialize type=xml/ /map:match and my xsp: ?xml version=1.0 encoding=UTF-8? xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:xsp-session=http://apache.org/xsp/session/2.0; create-session=true service xmlns:i18n=http://apache.org/cocoon/i18n/2.0; !-- (1) -- input_city id=startcity label=xy i18n:attr=label/ !-- (2) -- xsp:element name=input_city xsp:attribute name=idstartcity/xsp:attribute xsp:attribute name=labelxy/xsp:attribute xsp:attribute name=i18n:attrlabel/xsp:attribute /xsp:element /service /xsp:page The result is, that (1) works fine, but (2) does not!!! It might help to include prefix and uri for the namespace xsp:element name=input_city xsp:attribute name=idstartcity/xsp:attribute xsp:attribute name=labelxy/xsp:attribute xsp:attribute name=attr prefix=i18n uri=http://apache.org/cocoon/i18n/2.0;label/xsp:attribute /xsp:element But I'm just guessing... Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Urgent: i18n and xsp:element does not work!
Hi Christian, thank you very much, your guess was very right!!! But I'm not really understanding the reason... Best regards - Volker - -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED]] Sent: Mittwoch, 26. Juni 2002 10:15 To: [EMAIL PROTECTED] Subject: Re: Urgent: i18n and xsp:element does not work! On 26.Jun.2002 -- 09:51 AM, Volker Schneider wrote: Dear colleagues, I have a problem using the xsp:element tag with i18n. I have this pipeline (the catalog works fine): map:match pattern=RX map:generate type=serverpages src=../xsp/rx.xsp/ map:transform type=i18n/ map:serialize type=xml/ /map:match and my xsp: ?xml version=1.0 encoding=UTF-8? xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:xsp-session=http://apache.org/xsp/session/2.0; create-session=true service xmlns:i18n=http://apache.org/cocoon/i18n/2.0; !-- (1) -- input_city id=startcity label=xy i18n:attr=label/ !-- (2) -- xsp:element name=input_city xsp:attribute name=idstartcity/xsp:attribute xsp:attribute name=labelxy/xsp:attribute xsp:attribute name=i18n:attrlabel/xsp:attribute /xsp:element /service /xsp:page The result is, that (1) works fine, but (2) does not!!! It might help to include prefix and uri for the namespace xsp:element name=input_city xsp:attribute name=idstartcity/xsp:attribute xsp:attribute name=labelxy/xsp:attribute xsp:attribute name=attr prefix=i18n uri=http://apache.org/cocoon/i18n/2.0;label/xsp:attribute /xsp:element But I'm just guessing... Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: pb with snapshots versions ?
Thanks for your responses: 1. Sorry, I know I don't have to use html mode but I don't be carrefull... 2. Ok, I had forgotten this point 3. ok, that's done 4. I have a problem to get 2.0.3 version. I installed WinCvs (yes, I work under w2000) but it don't run well: error message: TCL is available, shell is enabled : help (select and press enter) NEW CVSROOT: :pserver:[EMAIL PROTECTED]:/home/cvspublic (password authentication using a proxy) cvs login (Logging in to [EMAIL PROTECTED]) cvs [login aborted]: recv() from server cvs.apache.org: EOF *CVS exited normally with code 1* Is there another way to get Cocoon 2.0.3 ? Thanks, nicolas !! -Message d'origine- De : Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 26 juin 2002 03:41 À : [EMAIL PROTECTED] Objet : RE: pb with snapshots versions ? Nicolas, Please: 1. Use plain text email. 2. Read http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/WARNING?rev=1.4; content-ty pe=text/vnd.viewcvs-markup which says that CVS head is alpha status. 3. Install Tomcat 4.0.4. 4. Get yourself Cocoon 2.0.3 version from the CVS Vadim -Original Message- From: zze-STIENNE Nicolas FTRD/DMI/CAE [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 8:36 AM To: '[EMAIL PROTECTED]' Subject: xsp: pb with snapshots versions ? Hi !! I tried some snapshots versions of Cocoon2[.1-dev] : 2002.06.24.041712, 21.102726, 20.103348. Every time, the xsp samples don't work (esql neither). Where does it come from ? Is there something I forgot ? I used Tomcat 4.0.3 and JDK 1.3.1-03 and the installation guide from xml.apache.org. Thanks, Nicolas !! - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Reformatting of html source problems
Hallo! We have a general problem with publishing html with Cocoon. The core of the problem is that a html page can be rendered differently with different layouts of the otherwise identical html source code. For example: tr td colspan=5 bgcolor=#ffimg height=5 width=1 src=b.gif/td /tr draws a 5 pix high line across the table however tr td colspan=5 bgcolor=#ff img height=5 width=1 src=b.gif /td /tr draws a line which has the height single line of text, because of the line break. I have noticed that at some points the html serializer does introduce the extra line-feed at others not. Looking thru our stylessheet I have not been able to figure out what might cause this behavior. We have already tried a serializer which does not include linebreaks at all, all the html source appears on a single line. But that might cause problems at other points of the layout too and the html source output is unreadable. We get html pages from a design company and translate them to XSL and XSP to run them on Cocoon. I would guess that this kind of workflow must be rather common. So the problem must have turned up before. Is there any general solution for this problem? How are we supposed to deal with sophisticated input from html designers? Many thanks, Hans Dr. Hans M. Rupp danet Internet Solutions GmbH Waldburgstr. 17-19 70563 Stuttgart Germany Fon +49 711 133 53 50 Fax +49 711 133 53 53 -- - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Reformatting of html source problems
Hi ! perhaps it helps if you decrease the line-height (style-attribute): tr td colspan=5 bgcolor=#ff style=font-size: 1px img height=5 width=1 src=b.gif /td /tr Christoph Gaffga [EMAIL PROTECTED] - Original Message - From: Dr. Hans M. Rupp [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 26, 2002 12:11 PM Subject: Reformatting of html source problems Hallo! We have a general problem with publishing html with Cocoon. The core of the problem is that a html page can be rendered differently with different layouts of the otherwise identical html source code. For example: tr td colspan=5 bgcolor=#ffimg height=5 width=1 src=b.gif/td /tr draws a 5 pix high line across the table however tr td colspan=5 bgcolor=#ff img height=5 width=1 src=b.gif /td /tr draws a line which has the height single line of text, because of the line break. I have noticed that at some points the html serializer does introduce the extra line-feed at others not. Looking thru our stylessheet I have not been able to figure out what might cause this behavior. We have already tried a serializer which does not include linebreaks at all, all the html source appears on a single line. But that might cause problems at other points of the layout too and the html source output is unreadable. We get html pages from a design company and translate them to XSL and XSP to run them on Cocoon. I would guess that this kind of workflow must be rather common. So the problem must have turned up before. Is there any general solution for this problem? How are we supposed to deal with sophisticated input from html designers? Many thanks, Hans Dr. Hans M. Rupp danet Internet Solutions GmbH Waldburgstr. 17-19 70563 Stuttgart Germany Fon +49 711 133 53 50 Fax +49 711 133 53 53 -- - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: pb with snapshots versions ?
From: zze-STIENNE Nicolas FTRD/DMI/CAE Thanks for your responses: 1. Sorry, I know I don't have to use html mode but I don't be carrefull... 2. Ok, I had forgotten this point 3. ok, that's done 4. I have a problem to get 2.0.3 version. I installed WinCvs (yes, I work under w2000) but it don't run well: Can't help you with this one, I use cvs from command line (http://www.cvsnt.org/). error message: TCL is available, shell is enabled : help (select and press enter) NEW CVSROOT: :pserver:[EMAIL PROTECTED]:/home/cvspublic (password authentication using a proxy) cvs login (Logging in to [EMAIL PROTECTED]) cvs [login aborted]: recv() from server cvs.apache.org: EOF Try again? *CVS exited normally with code 1* Is there another way to get Cocoon 2.0.3 ? No. Vadim Thanks, nicolas !! -Message d'origine- De : Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Envoyé : mercredi 26 juin 2002 03:41 À : [EMAIL PROTECTED] Objet : RE: pb with snapshots versions ? Nicolas, Please: 1. Use plain text email. 2. Read http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/WARNING?rev=1.4; content-ty pe=text/vnd.viewcvs-markup which says that CVS head is alpha status. 3. Install Tomcat 4.0.4. 4. Get yourself Cocoon 2.0.3 version from the CVS Vadim -Original Message- From: zze-STIENNE Nicolas FTRD/DMI/CAE [mailto:[EMAIL PROTECTED]] Sent: Monday, June 24, 2002 8:36 AM To: '[EMAIL PROTECTED]' Subject: xsp: pb with snapshots versions ? Hi !! I tried some snapshots versions of Cocoon2[.1-dev] : 2002.06.24.041712, 21.102726, 20.103348. Every time, the xsp samples don't work (esql neither). Where does it come from ? Is there something I forgot ? I used Tomcat 4.0.3 and JDK 1.3.1-03 and the installation guide from xml.apache.org. Thanks, Nicolas !! - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Urgent: i18n and xsp:element does not work!
From: Christian Haul [mailto:[EMAIL PROTECTED]] On 26.Jun.2002 -- 09:51 AM, Volker Schneider wrote: Dear colleagues, I have a problem using the xsp:element tag with i18n. I have this pipeline (the catalog works fine): map:match pattern=RX map:generate type=serverpages src=../xsp/rx.xsp/ map:transform type=i18n/ map:serialize type=xml/ /map:match and my xsp: ?xml version=1.0 encoding=UTF-8? xsp:page xmlns:xsp=http://apache.org/xsp; xmlns:xsp-session=http://apache.org/xsp/session/2.0; create-session=true service xmlns:i18n=http://apache.org/cocoon/i18n/2.0; !-- (1) -- input_city id=startcity label=xy i18n:attr=label/ !-- (2) -- xsp:element name=input_city xsp:attribute name=idstartcity/xsp:attribute xsp:attribute name=labelxy/xsp:attribute xsp:attribute name=i18n:attrlabel/xsp:attribute /xsp:element /service /xsp:page The result is, that (1) works fine, but (2) does not!!! It might help to include prefix and uri for the namespace xsp:element name=input_city xsp:attribute name=idstartcity/xsp:attribute xsp:attribute name=labelxy/xsp:attribute xsp:attribute name=attr prefix=i18n uri=http://apache.org/cocoon/i18n/2.0;label/xsp:attribute /xsp:element But I'm just guessing... It is not guessing, you are completely right: you must specify prefix/namespace. I'm almost sure that there is RTFM or article somewhere about it... Vadim - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: negative time with Profiling on 2.1-Dev (was NPEwithProfiling on 2.1-Dev)
Hello again, Yes, I was using ProfilingCaching. I switched to ProfilingNoncaching and the negative times go away. I had not tried non-caching before. It gives you a very good appreciation for the *caching* version. Thanks, Bruce [EMAIL PROTECTED] 06/26/02 01:31AM Do you use the ProfilingCaching implementation? If so, please try the non caching version as there might be some concerns with profiling and caching. Carsten - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon and IIS 5???
Michael, you need a servlet container, be it Tomcat/WebLogic/iPlanet... I inferred you used Tomcat because it is the most commonly used. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 4:24 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Cocoon and IIS 5??? err... ok, you confused the newbie now - I don't see anything in Cocoo install for IIS that says I need Tomcat as well What did I miss? Thanks, Mike -Original Message- From: Luca Morandini [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 4:42 PM To: [EMAIL PROTECTED] Subject: RE: Cocoon and IIS 5??? Michael, yes, Cocoon 2 runs fine with: - IIS 5.0 - Tomcat 4.0.x - Isapi filter for Tomcat BTW, the above sentence is inaccurate, since IIS doesn't even see Cocoon, it connects only to Tomcat, hence, your question should be: Tomcat and IIS 5 ? Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 11:26 PM To: [EMAIL PROTECTED] Subject: Cocoon and IIS 5??? Hello -- Well, Cocoon install with IIS looks real straight forward, but looks like install pertains to IIS 4 - anyone has Cocoon running on IIS 5? (And for the record, no don't want to ;-) ) Mike Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon and IIS 5???
ah - hehe - helps to read Sys Reqs eh? Thanks much Luca Mike -Original Message- From: Luca Morandini [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 9:31 AM To: Cocoon-users Subject: RE: Cocoon and IIS 5??? Michael, you need a servlet container, be it Tomcat/WebLogic/iPlanet... I inferred you used Tomcat because it is the most commonly used. Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 4:24 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Cocoon and IIS 5??? err... ok, you confused the newbie now - I don't see anything in Cocoo install for IIS that says I need Tomcat as well What did I miss? Thanks, Mike -Original Message- From: Luca Morandini [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 4:42 PM To: [EMAIL PROTECTED] Subject: RE: Cocoon and IIS 5??? Michael, yes, Cocoon 2 runs fine with: - IIS 5.0 - Tomcat 4.0.x - Isapi filter for Tomcat BTW, the above sentence is inaccurate, since IIS doesn't even see Cocoon, it connects only to Tomcat, hence, your question should be: Tomcat and IIS 5 ? Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 11:26 PM To: [EMAIL PROTECTED] Subject: Cocoon and IIS 5??? Hello -- Well, Cocoon install with IIS looks real straight forward, but looks like install pertains to IIS 4 - anyone has Cocoon running on IIS 5? (And for the record, no don't want to ;-) ) Mike Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Visit our website at http://www.ubswarburg.com This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of e-mail transmission. If verification is required please request a hard-copy version. This message is provided for informational purposes and should not be construed as a solicitation or offer to buy or sell any securities or related financial instruments. - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon and IIS 5???
Vadim, Is Tomcat necessary for iPlanet too? The documentation just talks about bootstrap servlet and nothing else. Anand From:Vadim Gritsenko [EMAIL PROTECTED] 06/26/02 10:33 AM Please respond to cocoon-users To:[EMAIL PROTECTED] cc: Subject:RE: Cocoon and IIS 5??? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] err... ok, you confused the newbie now - I don't see anything in Cocoo install for IIS that says I need Tomcat as well What did I miss? Documentation. Install instructions, ***FIRST*** paragraph named System Requirements contains: A Servlet 2.2 compliant servlet engine must be present in order to support servlet operation and dynamic request handling. Note that this requirement is optional for command line operation. Vadim Thanks, Mike -Original Message- From: Luca Morandini [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 4:42 PM To: [EMAIL PROTECTED] Subject: RE: Cocoon and IIS 5??? Michael, yes, Cocoon 2 runs fine with: - IIS 5.0 - Tomcat 4.0.x - Isapi filter for Tomcat BTW, the above sentence is inaccurate, since IIS doesn't even see Cocoon, it connects only to Tomcat, hence, your question should be: Tomcat and IIS 5 ? Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 11:26 PM To: [EMAIL PROTECTED] Subject: Cocoon and IIS 5??? Hello -- Well, Cocoon install with IIS looks real straight forward, but looks like install pertains to IIS 4 - anyone has Cocoon running on IIS 5? (And for the record, no don't want to ;-) ) Mike - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to repeat form in xmlforms
hi all i start with xmlforms but now i have a problem i don't know how to vreate mutiple forms inside one document becuase i have repeated data and i'd like to submit part of this data not all and every part has its own submit button now when i submit all data send and i can't distinguish the data i want anyone can help me in this - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RT: Re: Warming the cache.
This is a possible issue for us too. We'll be doing all the standard things to make the processing as efficient as possible, but some of our transforms will take 4-5 seconds (with Xalan) and it would be impractical to pre-transform all of the possible combinations. What would be nice would be a cache-warming transformer. Something that could be part of a pipeline that would kick off other pipelines, in another process or in the background, to cache those outputs on the assumption the user is likely to be going there next. It would be nice if it could handle URIs and URIs with wildcards or sets of possible values. Thoughts? [EMAIL PROTECTED] 06/25/02 10:51AM First have a look at http://xml.apache.org/cocoon/performancetips.html Then, look also at the run.sh|bat command line to run cocoon without web interface. That way, you can easily design cronjobs to get it running at scheduled times over nights Regards, Denis - Original Message - From: David Vos To: [EMAIL PROTECTED] Sent: Tuesday, June 25, 2002 5:40 PM Subject: Warming the cache. As we are moving more of our web site over to cocoon, we are starting to run into some speed issues. There are several ways we could speed things up from a processing side (split some of our xml files up to drastically speed up parsing), however there are some things that may take at least 10 minutes to complete (dynamically generating microsoft reader format for files larger than a megabyte). Therefore, it would be nice to have cocoon generating all of these overnight so that as they are being accessed, response time will be much quicker. What might be the best way to do this (besides a script calling wget http://localhost/... all night?). How large can the cocoon cache grow? David - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Cocoon and IIS 5???
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Vadim, Is Tomcat necessary for iPlanet too? The documentation just talks about Call the guys and ask whether iPlanet implements servlet 2.2 spec or not. You should get answer that yes, it does implement (depending on version of iPlanet). PS Tomcat is not necessary when you work with iPlanet. But it is (should be) possible to have configuration were cocoon deployed under tomcat and talks to iPlanet. Vadim bootstrap servlet and nothing else. Anand From:Vadim Gritsenko [EMAIL PROTECTED] 06/26/02 10:33 AM Please respond to cocoon-users To:[EMAIL PROTECTED] cc: Subject:RE: Cocoon and IIS 5??? From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] err... ok, you confused the newbie now - I don't see anything in Cocoo install for IIS that says I need Tomcat as well What did I miss? Documentation. Install instructions, ***FIRST*** paragraph named System Requirements contains: A Servlet 2.2 compliant servlet engine must be present in order to support servlet operation and dynamic request handling. Note that this requirement is optional for command line operation. Vadim Thanks, Mike -Original Message- From: Luca Morandini [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 4:42 PM To: [EMAIL PROTECTED] Subject: RE: Cocoon and IIS 5??? Michael, yes, Cocoon 2 runs fine with: - IIS 5.0 - Tomcat 4.0.x - Isapi filter for Tomcat BTW, the above sentence is inaccurate, since IIS doesn't even see Cocoon, it connects only to Tomcat, hence, your question should be: Tomcat and IIS 5 ? Best regards, - Luca Morandini GIS Consultant [EMAIL PROTECTED] http://utenti.tripod.it/lmorandini/index.html - -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 11:26 PM To: [EMAIL PROTECTED] Subject: Cocoon and IIS 5??? Hello -- Well, Cocoon install with IIS looks real straight forward, but looks like install pertains to IIS 4 - anyone has Cocoon running on IIS 5? (And for the record, no don't want to ;-) ) Mike - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: RT: Re: Warming the cache.
Bruce Krautbauer wrote: This is a possible issue for us too. We'll be doing all the standard things to make the processing as efficient as possible, but some of our transforms will take 4-5 seconds (with Xalan) and it would be impractical to pre-transform all of the possible combinations. What would be nice would be a cache-warming transformer. Something that could be part of a pipeline that would kick off other pipelines, in another process or in the background, to cache those outputs on the assumption the user is likely to be going there next. It would be nice if it could handle URIs and URIs with wildcards or sets of possible values. Thoughts? The LinkStatusGenerator gets quite near: it traverses all links starting from a URL. This means that if you put the basic links to traverse in a page and feed that to the transformer, it will crawl all the pages that these links refer recursively. In 2.0.3-CVS it's in the scratchpad, in 2.1-dev it's on the main examples page. -- Nicola Ken Barozzi [EMAIL PROTECTED] - verba volant, scripta manent - (discussions get forgotten, just code remains) - - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How to repeat form in xmlforms
hi all i start with xmlforms but now i have a problem i don't know how to vreate mutiple forms inside one document becuase i have repeated data and i'd like to submit part of this data not all and every part has its own submit button now when i submit all data send and i can't distinguish the data i want anyone can help me in this - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Reformatting of html source problems
Is there any general solution for this problem? This is a known browser problem that has been well documented at several sources. For a quick fix, try adding this to the head section of your html output. style td img{ display: block; } /style One of the best articles I've read on the subject is this one by the brilliant Eric A. Meyer: http://developer.netscape.com/evangelism/docs/articles/img-table/ How are we supposed to deal with sophisticated input from html designers? Get the designers up to speed on browser issues and CSS, maybe even XSLT, so you can focus on building the site, instead of hunting down browser bugs. /Morgan Roderick - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Browser specific pipeline
Hi, i want to execute my pipeline only when browser is IE and if browser is netscape i want other pipeline to get executed. Can anyone help me in this? Regards Abhishek Goel - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: retrieve esql return code or output paramter
Title: RE: retrieve esql return code or output paramter Thanks for the suggestion, but I am still having problems. I tried: esql:execute-query !-- Call sproc to launch cold/reverse finger search -- esql:call {call LaunchSearches( esql:parameter direction=in type=Stringxsp-request:get-parameter name=xlpin//esql:parameter,2)} /esql:call esql:call-results outputhello!/output outputjesql:get-int column=1 from-call=yes/s/output outputHello2!/output /esql:call-results /esql:execute-query But I end up with: outputhello!/output outputj /output - when I expected: outputhello!/output outputj2s/output outputHello2!/output -- Not only do I not see the 0-4 return code, but everything after the esql:get-int ...line is 'gone.' I have also tried esql:get-string and have tried other column numbers column=2, column=0, but the results are the same. Any ideas or suggestions would be appreciated. Thanks, Beth -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 25, 2002 11:48 PM To: [EMAIL PROTECTED] Subject: Re: retrieve esql return code or output paramter On 25.Jun.2002 -- 03:08 PM, Naquin, Beth wrote: Hello, This is probably obvious, but I just haven't been able to figure it out. I have a stored procedure that returns a return code, but not a resultset. The return codes are 0-4 and each mean something specific. When I execute the stored procedure, I need to be able to retrieve the return code and use it in my xsl stylesheet. I can't figure out what to put inside esql:call-results to retrieve this return code. Try esql:get-int column=1 from-call=yes/ Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Browser specific pipeline
Title: RE: Browser specific pipeline There is a browser selector and some examples in the cocoon examples. http://xml.apache.org/cocoon/userdocs/concepts/matchers_selectors.html The example shows using different stylesheets for different browsers. Maybe this is similar to what you need. -Original Message- From: Abhishek Goel [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 9:28 AM To: [EMAIL PROTECTED] Subject: Browser specific pipeline Hi, i want to execute my pipeline only when browser is IE and if browser is netscape i want other pipeline to get executed. Can anyone help me in this? Regards Abhishek Goel - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
FW: Web Logic 6.1 SP2 Error
Title: Web Logic 6.1 SP2 Error Could some one help me out. ??? -Original Message-From: Mathews, Silvy (HQP) [mailto:[EMAIL PROTECTED]]Sent: Tuesday, June 25, 2002 4:56 PMTo: Cocoon Users Mailing ListSubject: Web Logic 6.1 SP2 Error I had installed cocoon on weblogic 6.1 SP2. It works fine for most of the links in the welcome screen. But when I click on 'Docs', 'Tutorial' or 'List of docs' , it gives me the following error. ** message The current URI doesn't start with given prefix description java.lang.RuntimeException: The current URI doesn't start with given prefix sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /cocoon/documents/doclist.html path-info /documents/doclist.html *** My config file looks like this: Application Deployed="true" Name="cocoon" Path=".\config\silvys\applications" WebAppComponent Name="cocoon" Targets="myserver" URI="cocoon"/ /Application Could someone help me out. Thanks and Regards, Silvy Mathews
SOLVED: retrieve esql return code or output paramter
Title: SOLVED: retrieve esql return code or output paramter Thanks to all who offered help!! I figured this one out, and the problem was due to my own lack of knowledge about jdbc and stored procedures in general. But thought I'd write up the answer just in case anyone else makes the same mistake. Apparently, you can execute your stored procedure without registering an output parameter, but if you want to use that output parameter you have to register it with esql:parameter direction=out type=appropriate_type/. Cocoon 2.0.2 Tomcat 4.0.1 JDK 1.3 Sybase Database There were no errors/other info in the logs, but upon adding an esql:error-results.. block to my logicsheet, I saw the SQL exception JZ0SB Parameter index out of range: 0 The solution was to call the stored procedure differently using: esql:execute-query !-- Call sproc to launch cold/reverse finger search -- esql:call {esql:parameter direction=out type=Int/ = call LaunchSearches( esql:parameter direction=in type=Stringxsp-request:get-parameter name=xlpin//esql:parameter, xsp-request:get-parameter name=search_type/)} /esql:call esql:call-results outputesql:get-int column=1 from-call=yes//output /esql:call-results esql:error-results esql:get-message/br/ esql:get-stacktrace/ /esql:error-results /esql:execute-query -Original Message- From: Christian Haul [mailto:[EMAIL PROTECTED]] Sent: Wednesday, June 26, 2002 12:12 PM To: [EMAIL PROTECTED] Subject: Re: retrieve esql return code or output paramter On 26.Jun.2002 -- 09:51 AM, Naquin, Beth wrote: Thanks for the suggestion, but I am still having problems. OK, I need more info to investigate further: a) which version of Cocoon do you use b) sitemap.log / error.log / core.log for this page (look for error messages / stacktraces) c) complete esql:connection snippet d) complete java source generated from that snippet e) sample java code that works with this procedure Chris. -- C h r i s t i a n H a u l [EMAIL PROTECTED] fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08 - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Reformatting of html source problems
Title: RE: Reformatting of html source problems Hello! I ran into this problem when I first started experimenting with Cocoon (2). I actually gave up because of this - due to lack of time mostly. I believe that the html serializer is slightly flawed - it should IMHO behave _exactly_ like the serializing triggered by the xsl:output method=html/-instruction in XSLT. All of the processors I've tried (e.g. XT, Saxon and Xalan) have worked as expected when used independently. I had a couple of webapps which used XML+XSLT - none of them looked good when serialized by Cocoon. The general opinion seemed to be that this isn't an issue with Cocoon itself, since clients adhering to standards won't have a problem with this. The whitespace (linebreak) sensitive behaviour of most browsers is quite a problem though, and I do not believe that this approach helps promoting Cocoon. I love Cocoon in all other aspects, and have an enormous respect for all those involved in developing it. It is a formidable application. But I didn't have the energy to prompt for change, so I gave up on using it - it was too big a risk for me to use it with this problem still remaining. (Another issue which is raised by this is when _needing_ to generate inline javascript (which might happen every now and then). There is (I have) simply too great a need for this whitespace control to accept the overruling behaviour of Coccon's serializer.) My belief is that this can be solved by extending/writing a new serializer; perhaps one directly using the functionality in the XSLT-processor used. Might this be correct, and acceptably easy to do? Best regards, Niklas (Who just unsubscribed to the list, due to my own inactivity. Typically, this made me begin to read it again, with renewed interest. :) I won't join again for a while though - no time. ) -Original Message- From: Dr. Hans M. Rupp To: [EMAIL PROTECTED] Sent: 6/26/02 12:11 PM Subject: Reformatting of html source problems Hallo! We have a general problem with publishing html with Cocoon. The core of the problem is that a html page can be rendered differently with different layouts of the otherwise identical html source code. For example: tr td colspan=5 bgcolor=#ffimg height=5 width=1 src="b.gif/td /tr draws a 5 pix high line across the table however tr td colspan=5 bgcolor=#ff img height=5 width=1 src="b.gif /td /tr draws a line which has the height single line of text, because of the line break. I have noticed that at some points the html serializer does introduce the extra line-feed at others not. Looking thru our stylessheet I have not been able to figure out what might cause this behavior. We have already tried a serializer which does not include linebreaks at all, all the html source appears on a single line. But that might cause problems at other points of the layout too and the html source output is unreadable. We get html pages from a design company and translate them to XSL and XSP to run them on Cocoon. I would guess that this kind of workflow must be rather common. So the problem must have turned up before. Is there any general solution for this problem? How are we supposed to deal with sophisticated input from html designers? Many thanks, Hans Dr. Hans M. Rupp danet Internet Solutions GmbH Waldburgstr. 17-19 70563 Stuttgart Germany Fon +49 711 133 53 50 Fax +49 711 133 53 53 -- - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Wierd image / cocoon problem
My sitemap specifies: map:match pattern=images/**.gif map:read src=images/{1}.gif mime-type=image/gif/ /map:match map:match pattern=images/**.jpg map:read src=images/{1}.jpg mime-type=image/jpg/ /map:match in my xslt I reference img src=image/myjpg.jpg This all worked fine on my dev machine. I moved everything to a production server and no-one could see the images. When I cleared my browser cache I had the same problem. When I selectively copied files into the image dir they would show up - or not - intermitantly. On the suggestion of the sysadm I copied all the images into a directory that Apache could see htmlroot/images and then changed my references to img src=http://www.myserver.com/images/myjpg.jpg; this seems to work fine in all cases. What gives? Thanks, Dan - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
adapter to DocumentHandler - ContentHandler
I want to write a serializer for one 3rd party component. It uses old SAX parser. I wanted to subclass AbstractXMLPipe, but it wants ContentHandler, while I can get only DocumentHandler. The question is: does anybody know about wrapper/adapter for DocumentHandler to make it look like a ContentHandler? thanks, Argyn - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Giving up! Cocoon too big, slow and confusing
I'm back from a short vacation in beautiful Chicago (it really is much nicer than Toronto or Montreal) and have waded back in to Cocoon for a couple of days. After just a few hours of poking around I have decided that it will be much simpler for me to simply hand-code a whole hat-full of servlets than to try and pull any meaning out of Cocoon and it's documentation. Fifteen hours on the Interstate wasn't as challenging as trying to figure out how one should check a Web Form this month but I didn't have that feeling of travelling backwards half of the time. I was also able to predict and achieve forward progress (for a change). Thanks guys, but no thanks. Maybe I'm getting old, but I really don't understand the need for all of the complexity and the lack of documentation in this product. On the other hand, I used to feel the same way about the mind-numbing complexity of a certain thirty-year-old mainframe operating system (MVS) produced by IBM back in the sixties and it's patching system (SMP4). So it can't just be my age. Anyway, Cocoon has cost me far morte (a typo that's better than the original word) time than it was worth. The chief problems appear to have been endlessly re-invented terminology for an overwhelming number of 'new concepts' and a complete lack of consistency between different components (i.e. functional code, non-functional examples, unbuildable documentation and a website that doesn't match up with any single released version of the project). I have a lot of respect for the ability of the people who have built this project, but I want them to know that their project appears to be out-of-control and could become very difficult to manage. If experienced developers (like myself) can't figure out how to use enough features in the product to make it worth using, then penetration will be limited and all of your efforts will be wasted. There is more to this business than stuffing in features at the expense of documentation and testing. You have a lot of very good ideas, but the execution of the project as a whole seems to be suffering. I know that I will often look at my JSP and servlet code and think 'XSP and Cocoon were sooo much better!' until I remember that I wasn't ever able to use enough of Cocoon to make a profit. Oh, well, at least all of my test systems have bags of memory now! - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Soap/XSP problems
Hello friends, My company has started developing soap clients based on XSP and submitting the request to Apache Soap Server which has services running in pure Java. For my Java Soap Clients, the soap service used to return a Node Element ( XML Document). The Java Client worked perfectly using the usual following code: if( !resp.generatedFault() ) { Parameter ret = resp.getReturnValue(); bookEl = (Element)ret.getValue(); System.out.println(DOM2Writer.nodeToString(bookEl)); } But now since i have started using XSP where the client looks like : soap:call url=http://soap server . ns1:*method name * xmlns:ns1=urn:*service name * soap:enc/ symbol xsi:type=xsd:string xmlns:xsi=http://www.w3.org/1999/XMLSchema-instance; xmlns:xsd=http://www.w3.org/1999/XMLSchema;xsp-request:get-parameter name=symbol//symbol /ns1:*method name* /soap:call ,while working with string return values, the existing sample code works perfectly, but when xml objects r being rcvd i get the error no serializer found for org.w3c.node***. (-- i can solve this error for Java Clients--) i understand that encoding style has to b put, but when in the concerned logic sheet i put for soap:enc as ...XML_LITERAL,, it still takes the ENC type encoding Since there are no existing cases in the mail archives for writing the XSP equivalent of exisiting Java Clients or any literature on the Net, we are facing great problems. If any of you guys have sorted out these kinda XSP cases, pls do reply as it wld b of gr8 help. rgds DEEPAK. __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
2 different versions in one tomcat webapps folder
Hi all Is it possible to have two different versions of cocoon in webapps folder with different folder name. i want to work on 2.01 and on 2.02 dev version. Thanks in advance Regards Sreenivasan. Attitudes are much more important than aptitudes. Nothing is impossible for a willing heart Sreenivasan N. Sony SARD Ext 232 Email. [EMAIL PROTECTED] Per: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
JDBC Drivers for SQL Server ( Cocoon 2.0.2 JDK 1.4 ) ?????
Hello, I have read a few posts regarding JDBC Drivers on this group but I am still having problems. I have been using Cocoon 2.0.1 JDK1.3 just fine for about a year. I started using the JTurbo drivers, and lately, the drivers available from Microsoft. When I upgraded to Cocoon2.0.2 JDK1.4 I got the stack trace included below. I have several connections configured in my cocoon.xconf, much like this: jdbc name=myDatasource pool-controller min=1 max=1/ dburljdbc:microsoft:sqlserver://myServer:1433;databasename=myDatabaseName /dburl usermyUsername/user passwordmyPassword/password /jdbc In my WEB-INF/web.xml I have a load-class param for the driver class: init-param param-nameload-class/param-name param-value !-- For Database Driver: -- com.microsoft.jdbc.sqlserver.SQLServerDriver /param-value /init-param And I have the msutil.jar, mssqlserver.jar and msbase.jar in my WEB-INF directory. This worked just fine before. What has happened ? Thanks in advance, Jason Uithol Data Technologist DatacodeX Pty Ltd [EMAIL PROTECTED] http://www.datacodex.com P.S. The new JTurbo drivers are delivered with a self-extracting shell script that uses a graphical environment ;[ So I haven't tried them out. I know this is a silly question but are there any _open source_ JDBC drivers for sql server ? STACKTRACE ( some of it ) = Cocoon 2 - Internal server error type fatal message Exception in ServerPagesGenerator.generate() description org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionException: No valid JdbcConnection class available sender org.apache.cocoon.servlet.CocoonServlet source Cocoon servlet request-uri /ejbgen/ozhealth/list path-info ozhealth/list stack-trace org.apache.cocoon.ProcessingException: Exception in ServerPagesGenerator.generate(): java.lang.RuntimeException: Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionException: No valid JdbcConnection class available at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenera tor.java:272) at org.apache.cocoon.components.pipeline.AbstractEventPipeline.process(Abstract EventPipeline.java:166) at org.apache.cocoon.components.pipeline.AbstractStreamPipeline.process(Abstrac tStreamPipeline.java:192) at org.apache.cocoon.components.treeprocessor.sitemap.SerializeNode.invoke(Seri alizeNode.java:153) (snip - just Tree processor stack ) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcess or.java:293) at org.apache.cocoon.Cocoon.process(Cocoon.java:575) at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:998) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:243) ( snip - just Catalina application pipeline stuff ) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943) at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java: 1011) at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1106 ) at java.lang.Thread.run(Thread.java:536) Caused by: java.lang.RuntimeException: Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionException: No valid JdbcConnection class available at org.apache.cocoon.www.ejbgenerator.cmp.getSchema.getschema_ozhealth_xsp.gene rate(/usr/local/websites/generator.202/work/localhost/ejbgen/cocoon-files/or g/apache/cocoon/www/ejbgenerator/cmp/getSchema/getschema_ozhealth_xsp.java:3 81) at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenera tor.java:260) ... 53 more java.lang.RuntimeException: Could not get the datasource org.apache.avalon.excalibur.datasource.NoValidConnectionException: No valid JdbcConnection class available at org.apache.cocoon.www.ejbgenerator.cmp.getSchema.getschema_ozhealth_xsp.gene rate(/usr/local/websites/generator.202/work/localhost/ejbgen/cocoon-files/or g/apache/cocoon/www/ejbgenerator/cmp/getSchema/getschema_ozhealth_xsp.java:3 81) at org.apache.cocoon.generation.ServerPagesGenerator.generate(ServerPagesGenera tor.java:260) at org.apache.cocoon.components.pipeline.AbstractEventPipeline.process(Abstract
Re: adapter to DocumentHandler - ContentHandler
On Wed, 26 Jun 2002, Argyn Kuketayev wrote: I want to write a serializer for one 3rd party component. It uses old SAX parser. I wanted to subclass AbstractXMLPipe, but it wants ContentHandler, while I can get only DocumentHandler. The question is: does anybody know about wrapper/adapter for DocumentHandler to make it look like a ContentHandler? Have a look at org.apache.cocoon.xml.DocumentHandlerAdapter. Giacomo - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 2 different versions in one tomcat webapps folder
I think if you name them differently, you should be all set. You *might* want to edit the web.xml doc in cocoon/WEB-INF/ to give each servlet a different name, but I'm not sure if that's necessary. Of course I haven't tried this, but I don't forsee any problems.. Liam Morley Sreenivasan N. wrote: Hi all Is it possible to have two different versions of cocoon in webapps folder with different folder name. i want to work on 2.01 and on 2.02 dev version. Thanks in advance Regards Sreenivasan. Attitudes are much more important than aptitudes. Nothing is impossible for a willing heart Sreenivasan N. Sony SARD Ext 232 Email. [EMAIL PROTECTED] Per: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
saving a generated pdf file in local directory
Hi All, I have a link in a screen, on click of that it will open new browser and a pipeline pattern would be called on that browser displaying a pdf report using XSL:FO. Instead of having this I want like this When I click on that link, a dialog box or folder/directory selector popup window opens and ask for desired directory on which the generated PDF file can be saved. How can I do this? Actually how can I allow the physical pdf file to save in local directory using cocoon-2.0? Pls reply if it needs more clarification. Thanks, Niket - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: 2 different versions in one tomcat webapps folder
Hi Liam Thanks . it worked. Regards Vasan At 01:18 AM 6/27/02 -0400, you wrote: I think if you name them differently, you should be all set. You *might* want to edit the web.xml doc in cocoon/WEB-INF/ to give each servlet a different name, but I'm not sure if that's necessary. Of course I haven't tried this, but I don't forsee any problems.. Liam Morley Sreenivasan N. wrote: Hi all Is it possible to have two different versions of cocoon in webapps folder with different folder name. i want to work on 2.01 and on 2.02 dev version. Thanks in advance Regards Sreenivasan. Attitudes are much more important than aptitudes. Nothing is impossible for a willing heart Sreenivasan N. Sony SARD Ext 232 Email. [EMAIL PROTECTED] Per: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Attitudes are much more important than aptitudes. Nothing is impossible for a willing heart Sreenivasan N. Sony SARD Ext 232 Email. [EMAIL PROTECTED] Per: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
saving a generated pdf file in local directory
Hi All, I have a link in a screen, on click of that it will open new browser and a pipeline pattern would be called on that browser displaying a pdf report using XSL:FO. Instead of having this I want like this When I click on that link, a dialog box or folder/directory selector popup window opens and ask for desired directory on which the generated PDF file can be saved. How can I do this? Actually how can I allow the physical pdf file to save in local directory using cocoon-2.0 WITHOUT OPENING IN new BROWSER? Pls reply if it needs more clarification. Thanks, Niket - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - Please check that your question has not already been answered in the FAQ before posting. http://xml.apache.org/cocoon/faq/index.html To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]