RE: [xsp-session-fw] NPE when use getxml with empty tag

2003-12-19 Thread Laurent Trillaud
Thanks a lot. Laurent Trillaud -Message d'origine- De : Antonio Gallardo [mailto:[EMAIL PROTECTED] Envoyé : jeudi 18 décembre 2003 20:44 À : [EMAIL PROTECTED] Objet : RE: [xsp-session-fw] NPE when use getxml with empty tag I already posted a patch, it is in the CVS. Best

Re: Problem in passing http request parameters

2003-12-19 Thread Christian Haul
Ashish Kumar wrote: 2) I have to pass second parameter from a simple query, where I m using the line: xsl:attribute name=HREFc_code=xsl:value-of Please remember that starts an entity in XML. Exactly for this reason there is an entity representing : amp; Hence the above code will complain about an

Axis activation

2003-12-19 Thread Mustafa Ali, Halgurt
Hallo all, Can somebody tell me please how can I activate axis components in cocoon and access the axis samples? Another question, where can I find some documentation about using axis with cocoon? Many thanks, Halgurt

Cocoon/Tomcat failed to access localhost:8080/cocoon

2003-12-19 Thread Budi Mulyono
Hi All I am a newbie trying to get cocoon work for the 1st time. I have the following problem for Tomcat 4.1.8 and Cocoon 2.0.4 binary running on windows 2000 sp4 pro using jdk 1.3.0_02 Attached is the log file from web-inf/log of cocoon. What I did was to copy the cocoon.war into the

Re: Python Script Generator

2003-12-19 Thread Laurent Mauron
Well, I-ve made some progress. After copying the jython.jar in the web-inf directory and adding this pipeline map:match pattern="test.py"map:generate src="" type="script"/map:serialize type="xml"//map:match I'm able to execute the test.py python script inside cocoon. Print statements are

complex sitemaps wanted for testing the sitemap-viewer

2003-12-19 Thread Alten, Jelle Paul (sds-sp)
Hi, I made some enhancements to the sitemap-viewer. Now I'd like to test it on complex sitemaps, to see what it can handle. Any people out there that think they have a difficult/complex sitemap and want to share that with me to see if the viewer can handle it? BTW, the viewer is in the CVS, in

Re: Cocoon/Tomcat failed to access localhost:8080/cocoon

2003-12-19 Thread Antonio Gallardo
Hi Budi! If you are starting I recommend you to better start with: Cocoon 2.1.3 Tomcat 4.1.29 J2SDK 1.4.2_03 Best Regards, Antonio Gallardo - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: problems accessing database

2003-12-19 Thread Antonio Gallardo
I think you are right, please try to change the name of the database to ONE word. the spaces inside a database name is not standard and can cause more problems to you. Best Regards, Antonio Gallardo Ian Ross dijo: Hi I am trying to get access to a SQLserver database. I am not sure what the

Re: Axis activation

2003-12-19 Thread Bertrand Delacretaz
...Can somebody tell me please how can I activate axis components in cocoon and access the axis samples? Doesn't http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=106975913508471w=2 answer your question? There's nothing special about running the axis samples AFAIK. Another question, where can

problem transforming elements

2003-12-19 Thread vg
Hi all! I have problems transforming a xml element which was created inside a stylesheet. When I look at the xml right after the first transform, the element is present. In a subsequent transform I need to process this element, but the node cannot be accessed in the second stylesheet. What am I

Improved handling of mod-db and actions in sitemap?

2003-12-19 Thread Derek Hohls
Thanks to Christian and Leo for the suggestions related to a comprehensive database sample. I think, though, that I am trying to get things simpler and not more complex. ie. aim for more and easier reuse of the existing codebase and approaches, rather than adding in more code and more

Re: Improved handling of mod-db and actions in sitemap?

2003-12-19 Thread Christian Haul
Derek Hohls wrote: !-- delete one user -- map:act type=req-params map:parameter name=parameters value=del-user user.uid/ map:act type=mod-db-del map:parameter name=table-set value=user/ /map:act /map:act This approach means that for each new table or table group you need to create a

Disable escaping in a Java string in XSP

2003-12-19 Thread Olivier Billard
Hi all ! I would like to output a java String in an XSP page, containing some html tags that I would like not to be escaped. How could it be possible ? I tried util:include-expr, but it seems only to work with full XML document, not a fragment. To be more precise, my contains \n caracters

Re: Improved handling of mod-db and actions in sitemap?

2003-12-19 Thread Derek Hohls
Chris Thank you for all the help - I will need to go and process this to see how it all works - one quick question ... is it possible for Woody to be part of the process outlined below i.e. could it serve as the form descriptor file and help with validation... or does the db-descriptor file have

[JOBS] Cocoon job offer, Amsterdam

2003-12-19 Thread Arje Cahn
Hi all, We're looking for two Cocoon wizards for a position at our office in Amsterdam, the Netherlands. We need both implementation qualities (building sites with Cocoon) as dev qualities (to work on the Cocoon code itself). If you're interested, please take a look at our postings on

RE: [JOBS] Cocoon job offer, Amsterdam

2003-12-19 Thread Unico Hommes
Gaan de zaken zo goed? Ben benieuwd wie er allemaal zullen reageren .. -Original Message- From: Arje Cahn Sent: vrijdag 19 december 2003 14:49 To: [EMAIL PROTECTED] Subject: [JOBS] Cocoon job offer, Amsterdam Hi all, We're looking for two Cocoon wizards for a position at

[Woody] wd:datatype base=date - setLenient(false) behavior

2003-12-19 Thread Markus Heussen
If the input of the date form field is for example 31.02.2004 after submission this value is automatically set to 02.03.2004. How can I change this behavior? Is there a attribute I can set in the woody binding or definition file to get the behavior like using the setLenient(false) method in java?

RE: [JOBS] Cocoon job offer, Amsterdam

2003-12-19 Thread Unico Hommes
Auch. LOL. Email is a dangerous thing. Luckily Dutch is not a real language, holding real information :-D Unico -Original Message- From: Unico Hommes Sent: vrijdag 19 december 2003 14:56 To: [EMAIL PROTECTED] Subject: RE: [JOBS] Cocoon job offer, Amsterdam Gaan de zaken zo

Re: Improved handling of mod-db and actions in sitemap?

2003-12-19 Thread Christian Haul
Derek Hohls wrote: Chris Thank you for all the help - I will need to go and process this to see how it all works - one quick question ... is it possible for Woody to be part of the process outlined below i.e. could it serve as the form descriptor file and help with validation... Derek, to be

configuring caching and pooling

2003-12-19 Thread Boris Althaus
Hallo, in the section performance-tip for cocoon-2.0.x of the cocoon-documentation is advised to look for the phrase of ... decommissioning instance of .. in the core.log many times i havelines like ... decommissioning instance of org.apache.cocoon.serialization.XMLSerializer. ... How can

AW: configuring caching and pooling

2003-12-19 Thread Marco Rolappe
hi boris, just modify the serializer (or generally the component) declaration appropriately: ... map:serializer name=xml mime-type=text/xml logger=sitemap.serializer.xml pool-min=32 pool-grow=4 pool-max=128

Re: Disable escaping in a Java string in XSP

2003-12-19 Thread Lionel Crine
Hi, I don I was looking for the oppoite of your question and I have found some useful methods in common-lang-2.0. You can get it there : http://jakarta.apache.org/site/binindex.cgi?Preferred=http%3A%2F%2Fapache.crihan.fr%2Fdist In StringEscapeUtils, you ll find some unescape methods like

Re: configuring caching and pooling

2003-12-19 Thread Boris Althaus
Thanks, i searched in the cocoon.xconf before - Original Message - From: Marco Rolappe To: [EMAIL PROTECTED] Sent: Friday, December 19, 2003 4:24 PM Subject: AW: configuring caching and pooling hi boris,just modify the serializer (or generally the

Re: Migration Problems 2.1.2 - 2.1.3 eventcache and headerselector

2003-12-19 Thread Gernot Koller
Thanks Ralph and Geoff for your quick and competent replys! The problem is solved now and the two lines in the cocon.xconf actually had nothing to do with it. Seems that I have been fooled by some other caching (probably the ie cache). Thanks especially for the links to the wiki pages I will

Re: Problem in passing http request parameters

2003-12-19 Thread Lionel Crine
With a variable you can write : option value=new.xls?dis={$var1} instead of option value=new.xls?dis=$var1 But if you need to pass a node the other method (xsl:value-of) is the one. Lionel At 08:27 19/12/2003 +0100, you wrote: Ashish Kumar wrote: 2) I have to pass second parameter from a

Re: Disable escaping in a Java string in XSP

2003-12-19 Thread Lionel Crine
For my part, I use these method because I need to get a string and made a request into an XML base. So, I do not parse the String after. I suggest you to look at the util.xsl of your cocoon. There is a link with the method XSPUtil of cocoon. Also see the API :

testing cache

2003-12-19 Thread Sarah Haff
Hi, I have enabled cache on my cocoon server by using the map:pipeline type=caching Is there a way I can check/test if the caching is functioning properly or not? Thanks. Sarah __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard

AW: testing cache

2003-12-19 Thread Marco Rolappe
hi sarah, first ensure that the debug level for category 'sitemap' is set to DEBUG. then, after accessing cached pipelines have look into sitemap.log and look for lines like: ... DEBUG (2003-12-19) 21:40.14:193 [sitemap] (/emotion/index)

Re: AW: testing cache

2003-12-19 Thread Sarah Haff
Thanks for the response Marco: first ensure that the debug level for category 'sitemap' is set to DEBUG. how can I set this??? Thanks. Sarah __ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree

Re: AW: testing cache

2003-12-19 Thread Sarah Haff
first ensure that the debug level for category 'sitemap' is set to DEBUG. ok I figured this out (in WEB-INF/logkit.xconf) . But I still dont see the : --- validatePipeline: using valid cached content for --- Does that mean the caching is not

AW: testing cache

2003-12-19 Thread Marco Rolappe
hi sarah, it doesn't to be exactly the line I mentioned, just something similar. but I if you don't get something like 'using valid cached content', then there's probably nothing cached. whether something gets cached depends on the components used. e.g. if you generate from XSPs (and don't

Re: AW: testing cache

2003-12-19 Thread Sarah Haff
Marco, Here is the sitemap.xmap (i have also attached it with this email. ?xml version=1.0 encoding=ISO-8859-1? !-- CVS $Id: sitemap.xmap,v 1.16 2003/10/22 11:42:05 joerg Exp $ --map:sitemap xmlns:map=http://apache.org/cocoon/sitemap/1.0; !-- === Components

AW: testing cache

2003-12-19 Thread Marco Rolappe
sarah, I did a quick test with your sitemap. I had to comment out the transformer step as I don't have your stylesheet. a request to the index.html yields following lines (among others): ... DEBUG (2003-12-20) 00:39.51:561 [sitemap] (/cocoon/tmp/index.html)

Re: AW: testing cache - issues with * in the source path

2003-12-19 Thread Sarah Haff
Hello Marco, Thanks for testing the sitemap.xmap. It helped me a lot. I think I have figured why the caching is not working on some of my content. Some of the source paths that I am using have non-alpha-numeric (i.e. NON [a-z][0-9]) characters. e.g. if the source path contain a * then the

Re: AW: testing cache - issues with * in the source path

2003-12-19 Thread Sarah Haff
Hi Marco, No, I mean something like this: map:generate src=/home/xml/app/translation/old*files/address.xml/ Note there is a * in the path . Seems like * is causing the content to be NOT cached. If there is not * in the path, then the caching seems to work. strange. They way our

DO NOT REPLY [PATCH QUEUE] Summary December 20 2003

2003-12-19 Thread nicolaken
--- This mail is generated automatically using Jakarta Ant. Contents are automatically downloaded from Apache's Bugzilla. --- Please do not reply to