RE: i18n in combination with xsp:attribute

2003-01-07 Thread Nico Bekema
Hi, unfortunately that did not help and I am still wondering what is causing this. i18n:text xsp:attribute name=key prefix=i18n myKey /xsp:attribute defaultValue /i18n:text This always results in the defaultValue (myKey is defined) If I look at the an intermediate result using a

Looking for advice

2003-01-07 Thread Anna Afonchenko
Hi all. I need an advice. I am using HTMLGenerator to tidy the html files that are requested. Since JTidy sometimes messes up the original file (like with scripts inside tables - I posted a message about it few weeks ago), I would want to preprocess the original html file before passing it

Re: Looking for advice

2003-01-07 Thread Bertrand Delacretaz
Hi Anna, Since JTidy sometimes messes up the original file (like with scripts inside tables - I posted a message about it few weeks ago), I would want to preprocess the original html file before passing it to the HTMLGenerator. In order to use a Cocoon pipeline you need to generate SAX events

FW: [BUG] : java.util.EmptyStackException on EnvironmentStack

2003-01-07 Thread Amir Rosen
Hi, I'm using cocoon 2.0.4, and after calling a request that causes an exception, sometimes I get an EmptyStackException from the environment stack. I traced this behavior, and found out that, the environment stack is sometimes not initialized, when the request is just starting to process,

Re: xslt processor and utf-8

2003-01-07 Thread Joerg Heinicke
Hello Lars, Kirchhoff, Lars wrote: Hello, I have some problems with the xsl transformation in combination with utf-8 characters and am wondering if somebody could explain me this. I used this code to select specific items depending on there letter, which means the letter they start with.

AW: xslt processor and utf-8

2003-01-07 Thread Kirchhoff, Lars
I'm sorry i mixed the xml and the xsl stylesheet a bit up in the example... this is the stylesheet that just puts the required letter in the xml file before the xmlform action will enroll the data from the dom. xsl:template match=xf:itemset xf:itemset xsl:attribute

validation declaration

2003-01-07 Thread Hong Gia Dinh
Title: validation declaration Hi all, In validation, we often has constraint declarations such as : parameter name=persons type=long min=2 default=9 nullable=yes/ parameter name=deposit type=double min=10.0 max=999.99/ parameter name=email type=string max-len=50

Re: cocoon book [was: pdf problem]

2003-01-07 Thread Kavitha Ramesh
Hi, I could recommend Professional XSLT Programming from the wrox publishers. Kavitha Ramesh --- Ines Robbers [EMAIL PROTECTED] wrote: Hi, Many thanks for your reply! * (and get a more recent book). Can you recommend one that is suitable for a beginner like me with some XML and

Problem with return-value from store procedure in a XSP page

2003-01-07 Thread Igor . Kozlov
Title: Problem with return-value from store procedure in a XSP page Hello I have a cocoon version number 2.0.3, a tomcat version number 4.0.16 and an Oracle 8i database I have a store procedure in my database called sp_add_user. I tested the store procedure manually and it doesn't have

calling neighbour sitemap

2003-01-07 Thread Michael Wechner
Hi Is it (would it be) possible to call a pipeline within a neighbouring sitemap, e.g. root-sitemap | --- | | sub-sitemap1 sub-sitemap2 sub-sitemap1

Re: cocoon book [was: pdf problem]

2003-01-07 Thread Jeremy Aston
Wrox do another excellent XSLT book - Beginning XSLT which I thoroughly recommend for even quite experienced XSLT coders. It has loads of best practice and well worked examples. There is a link from my site (http://www.pigbite.com) Best regards Jeremy P.S. (said in complete side whisper)

RE: i18n in combination with xsp:attribute

2003-01-07 Thread Lai, Harry
Hi Nico, You need to use BOTH the prefix and uri attributes. So you should have: xsp:attribute name=key prefix=i18n uri=http://apache.org/cocoon/i18n/2.0; myKey /xsp:attribute Just as a caveat, I haven't actually tried this, but based on the documentation, that should work. =) Harry

Trouble Passing Parameters

2003-01-07 Thread Jacob Arnold
I'm having difficulty passing parameters to my XSP. I'm using the following in my sitemap: map:match pattern=*/test.html map:generate src=docs/test.xsp type=serverpages map:parameter name=id value={1}/ /map:generate map:transform src=stylesheets/encode-html.xsl/ map:serialize/

RE: i18n in combination with xsp:attribute

2003-01-07 Thread Nico Bekema
Hi Harry, you are absolutely right. It's working fine now. thx very much. Nico [EMAIL PROTECTED] 01/07/03 04:53PM From: [EMAIL PROTECTED] Sent: Tuesday, January 07, 2003 4:53 PM To: '[EMAIL PROTECTED]' [EMAIL PROTECTED] Subject:RE: i18n in combination with xsp:attribute

Re: Trouble Passing Parameters

2003-01-07 Thread Michael Wechner
Jacob Arnold wrote: I'm having difficulty passing parameters to my XSP. I'm using the following in my sitemap: map:match pattern=*/test.html map:generate src=docs/test.xsp type=serverpages map:parameter name=id value={1}/ /map:generate map:transform src=stylesheets/encode-html.xsl/

Problem with serializers

2003-01-07 Thread Robert Ellis Parrott
From the latest 2.1 dev out of CVS, I'm having trouble with serializers in general, so something in general is haywire. I have a very minimal sitemap, which is below an even more minimal sitemap. I'm just trying (for now) to read an xml file with a generator, then serialize it as xml or text or

RE: Trouble Passing Parameters

2003-01-07 Thread Jacob Arnold
That worked. Thanks for the help. J -Original Message- From: Michael Wechner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 9:44 AM To: [EMAIL PROTECTED] Subject: Re: Trouble Passing Parameters Jacob Arnold wrote: I'm having difficulty passing parameters to my XSP. I'm

access http://localhost:PORT/

2003-01-07 Thread Charlene Mitchell
Hi, I have another WebLogic *only* problem with Cocoon2.0.4 - anyone else seen this? (it works fine in JBoss Jetty/TomCat). It is impossible to access the root resource e.g. http://localhost:8080 or http://localhost:8080/ even though I have a match in my sitemap for both / and for What

Re: Problem with serializers

2003-01-07 Thread Joerg Heinicke
Hello Robert, it's the old JAR problem using Java 1.4. Copy xalan-xx.jar, xerces-xx.jar and xml-apis.jar (the versions used in current Cocoon) for example into %TOMCAT_HOME%/common/endorsed. Regards, Joerg Robert Ellis Parrott wrote: From the latest 2.1 dev out of CVS, I'm having trouble

Problem with serializers

2003-01-07 Thread aps olute
This looks very similar to my problem with 2.1-dev and jdk1.4 and Tomcat4.1.12 per my posting: http://marc.theaimsgroup.com/?l=xml-cocoon-usersm=104041952007585w=2 I have to create that endorsed directory in Tomcat and copied xalan*.jar, xerces*.jar and xml-apis.jar from cocoon/WEB-INF/lib

General sitemap questions

2003-01-07 Thread Miles Elam
The following snippet is the guide example for the first two questions. map:pipeline map:match pattern=sub/* map:mount check-reload=yes src=sub/sitemap.xmap uri-prefix=sub/ /map:match map:handle-errors map:transform src=errors.xsl/ map:serialize status-code=500/

Re: calling neighbour sitemap

2003-01-07 Thread Michael Wechner
[EMAIL PROTECTED] wrote: Hi, you can call other resources also by scr=cocoon://other-resource right, this way you are able to call the root-sitemap, but not the neighbouring sub-sitemap2 (or at least it doesn't work in my case) Thanks Michael I think you can use that to use other

Logkit configuration

2003-01-07 Thread Maximilian A. Ott
I have been trying to start cocoon within a few servlet and application servers. While I successfully can serve pages I always get heaps of debug messages on the console of the type: 18:09:11.050 EVENT DEBUG (2003-01-07) 18:09.11:040 [] (/forms/emplo yee)

Re: Logkit configuration

2003-01-07 Thread Michael Wechner
Just replace DEBUG by ERROR within the file WEB-INF/logkit.xconf and restart Tomcat. HTH Michael Maximilian A. Ott wrote: I have been trying to start cocoon within a few servlet and application servers. While I successfully can serve pages I always get heaps of debug messages on the

RE: Logkit configuration

2003-01-07 Thread Maximilian A. Ott
Michael, Tried that, but no change. What would I see if the logkit.xconf file is missing (just to check I changed the right one)? Thanks, -max -Original Message- From: Michael Wechner [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 6:38 PM To: [EMAIL PROTECTED]

Re: General sitemap questions

2003-01-07 Thread Miles Elam
Okay...answering some of my own questions... Miles Elam wrote: 1) What is the accepted correct behavior for subsitemaps: errors in subsitemaps elicit errors up the chain to parent (sub)sitemaps or subsitemap validity has no bearing at all on parents? If foo/sitemap.xmap is missing, is not

RE: Realms and Cocoon

2003-01-07 Thread Geoff Howard
Not sure if this works for you, but I've set up a standard database realm and use a generic role in web.xml (say, authorized). Then, I have a simple action that checks specific roles for sitemap level control of other resources. To give access I assign a user the generic authorized role and also

Re: General sitemap questions

2003-01-07 Thread Miles Elam
*sigh* ... Feeling foolish for wasting bandwidth... 3) Do subsitemaps require a components section at all? Just defaults? If so, why do they need to be specified in each subsitemap? Why not inherit the defaults of the parent if they're not specified? I ask because I'd like subsitemaps to

Re: Problem with return-value from store procedure in a XSP page

2003-01-07 Thread Christian Haul
On 07.Jan.2003 -- 03:46 PM, [EMAIL PROTECTED] wrote: Hello I have a cocoon version number 2.0.3, a tomcat version number 4.0.16 and an Oracle 8i database Cocoon 2.0.4 is released and fixes a number of bugs and Tomcat 4.1.18 is out containing security related fixes. I have a store procedure