Best practices for validating request params?

2003-06-28 Thread Sonny Sukumar
Hi guys,

I was wondering what the best way is to validate request parameters.  I have 
a few questions:

1.) What is the best way to validate the *existence* of all expected request 
params (both for simple queries and for posting form data)?

By this, I mean I'd ideally like to notify the client if any request param 
wasn't sent.  I was thinking I could write a dedicated action to do this 
validation before another action extracts/formats the values.

2.) Do you think it is even a good practice to take the time/effort/cpu 
power to validate that all expected request params were sent and notify the 
client if they were not?

Otherwise, my action that extracts/formats the values would just end up 
throwing things like NullPointerExceptions, NumberFormatExceptions, etc. 
when it tries to extract/format the values.  This doesn't seem very elegant 
at all to me, even if I do wrap them in ProcessingExceptions before throwing 
them.

One other reason I don't want to throw these seemingly odd and random 
exceptions is because they'll just give a stack trace that says my code 
failed on Line XXX.  On my team we have another development group that is 
working on buiding the actual XHTML webpages and making sure they work with 
the backend.  So these sorts of exceptions and stack traces won't help them 
at all to figure out what went wrong.  If I notify them they forgot a param, 
they can say Oh , I forgot to pass the XYZ param--that's why it's failing 
and fix their XHTML code in short order.

I'm interested to hear all of your thoughts!

Thanks,

Sonny

_
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*  
http://join.msn.com/?page=features/junkmail

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


simple question

2003-06-21 Thread Sonny Sukumar
Hi guys,

I'm trying to use the xsl:output element in my logicsheet (for an 
accompanying XSP) to remove the XML declaration (the ?xml version=1.0?) 
from my output doc.  I just put xsl:output method=xml 
omit-xml-declaration=yes/ right inside my opening xsl:stylesheet tag.

However, in the processing of the stylesheet itself, this 
ProcessingException is thrown:

org.apache.cocoon.ProcessingException: Exception during processing of 
file:/jakarta-tomcat-4.1.12/webapps/cocoon/mysite/stylesheets/my_logicsheet.xsl: 
java.io.UTFDataFormatException: invalid byte 1 of 1-byte UTF-8 sequence 
(0xa0)

I also tried adding the 'encoding=UTF-8' attribute/value to the xsl:output 
tag, but I got the same error.

Can anyone shed some light on this for me?

Thanks,

Sonny

_
Protect your PC - get McAfee.com VirusScan Online  
http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Jumping within sitemap?

2003-02-11 Thread Sonny Sukumar

Hi guys,

I'm wondering if it's possible to jump from one place
in the sitemap to another.  I made up the following
code, but it's basically what I'm aiming to do:

map:match pattern=checkout
  map:act type=is-logged-in/
!-- Customer is logged in, so proceed to first 
 checkout step --
map:jump jumpto=customer-info-entry/
  /map:act

  !-- Customer isn't logged in, so jump to login
page. --
  map:jump jumpto=customer-login/
/map:match

map:match pattern=customer-info-entry
  map:generate src=customerInfoEntry.xsp/
  map:transform src=someTransform.xsl/
  map:serialize type=html/
/map:match

map:match pattern=customer-login
  map:read src=customerLogin.html/
/map:match

It's like calling a function/method in a programming
language, and it thus supports reuse of factored out
code.

Does it make sense?

Please let me know how we can do it! :-)

Thanks,

Sonny

__
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.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]




Sessions stomping on xsp:init-page!!

2002-11-08 Thread Sonny Sukumar

Hi guys,

I found that if I put the xmlns:xsp-session=http://apache.org/xsp/session/2.0; 
namespace in any XSP document, then xsp-init-page tag isn't processed.  Thus, all the 
variables I declare/initialize in xsp-init-page (which should go at the start of 
generate()) are nonexistent, which obviously causes compilation problems.  

The only thing that gets put at the start of the generate method is: 
Session session = request.getSession(true);.

Anybody know how to keep this from happening??

Btw, I'm using:
Cocoon 2.0.3
Tomcat 4.1.12
Redhat 7.3

Thanks!

Sonny

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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: Simple XSP Ordering Problem

2002-10-15 Thread Sonny Sukumar


Hmmm, I didn't read about the request object in my Cocoon book.  Where is it defined 
exactly?  Do I need to import anything to use it?

Thanks again,

Sonny

--- Nathaniel Alfred [EMAIL PROTECTED] wrote:


-Original Message-
From: Sonny Sukumar [mailto:[EMAIL PROTECTED]]
Sent: Montag, 14. Oktober 2002 21:56
To: [EMAIL PROTECTED]
Subject: Simple XSP Ordering Problem

Product
  xsp:logic
String productId = xsp-request:get-parameter 
name=productid default=/;
  /xsp:logic
 ...

Try:

  xsp:logic
String productId = request.getParameter(productid);
if (productId == null ) productId = ;
  /xsp:logic

Cheers, Alfred.

This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission.
If you receive this message in error, please notify the sender urgently
and then immediately delete the message and any copies of it from your
system. Please also immediately destroy any hardcopies of the message.
You must not, directly or indirectly, use, disclose, distribute, print,
or copy any part of this message if you are not the intended recipient.
The sender's company reserves the right to monitor all e-mail
communications through their networks. Any views expressed in this
message are those of the individual sender, except where the message
states otherwise and the sender is authorised to state them to be the
views of the sender's company. 

-
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]

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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: Simple XSP Ordering Problem

2002-10-15 Thread Sonny Sukumar


Somebody suggested that documentation for the request object could be found in the 
generated Java file for the XSP..but there isn't any documentation in there that I can 
see.  Just curious to learn more about it. :-)

Instead of:

Product
  xsp:logic
String productId = xsp-request:get-parameter 
name=productid default=/;
  /xsp:logic
 ...

Try:

  xsp:logic
String productId = request.getParameter(productid);
if (productId == null ) productId = ;
  /xsp:logic

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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]




Can anybody solve this?

2002-10-15 Thread Sonny Sukumar


Hi guys,

I sent the following message (below the line) yesterday and got one good suggestion to 
use 

xsp:logic
String productId = request.getParameter(productid);
/xsp:logic

instead of 

xsp:logic
String productId = xsp-request:get-parameter name=productid/;
/xsp:logic

However, it did not work..same problem with the ordering of the generated Java code 
for the XSP which causes productId to try to be used (to create an attribute value for 
the root element) before it is declared.  I would REALLY appreciate any insight into 
this.

Thanks. :-)
__
Using: Cocoon 2.0.3 with Tomcat 4.1.12 on Redhat 7.3

My problem is this:  I'm writing an XSP and trying to insert an attribute
in the root element of my document.  The root element is Product, as this
doc stores product info.  

Anyhow, a logicsheet inserts an
xsp:attribute
  xsp:exprproducts.getCategory(productId)/xsp:expr
/xsp:attribute

into my XSP within the Product element.  Now, the productId variable is
declared like this *right* below the root Product element in the XSP:

Product
  xsp:logic
String productId = xsp-request:get-parameter name=productid default=/;
  /xsp:logic
 ...

The problem is that in the Java class generated for the XSP declares productId
AFTER the attribute code tries to call products.getCategory using productId
as a parameter.  This is the ONLY thing causing the error as far as I can
tell, as the code works fine without putting in the attribute.

Note that NO MATTER WHERE the xsp:attribute../xsp:attribute code gets
inserted within the Product/Product block, the generated Java code still
has the same ordering problem.

Does anybody know how to fix this?  I would have put the productId declaration
above the root element (i.e. made it a class member of the generated Java
class), but apparently one can't use the xsp-request logicsheet tags at the
class level.  I don't know why this is the case either.

Thanks for the help!

Sonny

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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: Can anybody solve this?

2002-10-15 Thread Sonny Sukumar


Artur,

Somehow I couldn't move the the productId declaration  initialization before the 
Product tag because this would move it to class level and 1.) the 
xsp-request:get-parameter tag must be used within the root element of the generated 
document (for some reason) and 2.) I get a NullPointerException when I try to use 
request.getParameter at the class level.  I have *very* little knowledge of the 
request object and its XML logicsheet wrapper (I'm a newbie :-), so I unfortunately 
can't shed any light on the exact reasons for these things.

HOWEVER: I tried the xsp:init-page tag under the xsp:page tag (before the 
Product tag) and it worked!!  The productId declaration now comes first in the 
generate method so the attribute value can be computed with no problem.

Thanks Artur! :-)

Sonny

--- Artur Bialecki [EMAIL PROTECTED] wrote:

Can you move your xsp:logic before the Product tag?
Or try this
xsp:init-page
   String productId = request.getParameter(productid);
xsp:init-page/

although the init-page tag might only work as a child
of xsp:page.

Artur...

 -Original Message-
 From: Sonny Sukumar [mailto:[EMAIL PROTECTED]] 
 Sent: October 15, 2002 1:58 PM
 To: [EMAIL PROTECTED]
 Subject: Can anybody solve this?
 
 
 
 Hi guys,
 
 I sent the following message (below the line) yesterday and 
 got one good suggestion to use 
 
 xsp:logic
 String productId = request.getParameter(productid);
 /xsp:logic
 
 instead of 
 
 xsp:logic
 String productId = xsp-request:get-parameter name=productid/;
 /xsp:logic
 
 However, it did not work..same problem with the ordering of 
 the generated Java code for the XSP which causes productId to 
 try to be used (to create an attribute value for the root 
 element) before it is declared.  I would REALLY appreciate 
 any insight into this.
 
 Thanks. :-)
 __
 
 Using: Cocoon 2.0.3 with Tomcat 4.1.12 on Redhat 7.3
 
 My problem is this:  I'm writing an XSP and trying to insert 
 an attribute
 in the root element of my document.  The root element is 
 Product, as this
 doc stores product info.  
 
 Anyhow, a logicsheet inserts an
 xsp:attribute
   xsp:exprproducts.getCategory(productId)/xsp:expr
 /xsp:attribute
 
 into my XSP within the Product element.  Now, the productId 
 variable is
 declared like this *right* below the root Product element 
 in the XSP:
 
 Product
   xsp:logic
 String productId = xsp-request:get-parameter 
 name=productid default=/;
   /xsp:logic
  ...
 
 The problem is that in the Java class generated for the XSP 
 declares productId
 AFTER the attribute code tries to call products.getCategory 
 using productId
 as a parameter.  This is the ONLY thing causing the error as 
 far as I can
 tell, as the code works fine without putting in the attribute.
 
 Note that NO MATTER WHERE the 
 xsp:attribute../xsp:attribute code gets
 inserted within the Product/Product block, the generated 
 Java code still
 has the same ordering problem.
 
 Does anybody know how to fix this?  I would have put the 
 productId declaration
 above the root element (i.e. made it a class member of the 
 generated Java
 class), but apparently one can't use the xsp-request 
 logicsheet tags at the
 class level.  I don't know why this is the case either.
 
 Thanks for the help!
 
 Sonny
 
 _
 Conserve wilderness with a click (free!) and get your own 
 EcologyFund.net email (free!) at http://www.ecologyfund.com.
 
 _
 Select your own custom email address for FREE! Get 
 [EMAIL PROTECTED] w/No Ads, 6MB, POP  more! 
 http://www.everyone.net/selectmail? campaign=tag
 
 
 
 -
 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]


_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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: Can anybody solve this?

2002-10-15 Thread Sonny Sukumar


I looked in a few places and didn't find any documentation for the xsp:init-page tag 
either.  Artur must be the all-knowing Cocoon person. :-)

--- Werner Guttmann [EMAIL PROTECTED] wrote:
Now, where would one find documentation on the xsp:init-tag tag, iima ?
I've been using Cocoon for 2+yrs now (in production environments, that is),
and I've never come across this ...

Werner

Artur Bialecki wrote:

 Can you move your xsp:logic before the Product tag?
 Or try this
 xsp:init-page
String productId = request.getParameter(productid);
 xsp:init-page/

 although the init-page tag might only work as a child
 of xsp:page.

 Artur...

  -Original Message-
  From: Sonny Sukumar [mailto:[EMAIL PROTECTED]]
  Sent: October 15, 2002 1:58 PM
  To: [EMAIL PROTECTED]
  Subject: Can anybody solve this?
 
 
 
  Hi guys,
 
  I sent the following message (below the line) yesterday and
  got one good suggestion to use
 
  xsp:logic
  String productId = request.getParameter(productid);
  /xsp:logic
 
  instead of
 
  xsp:logic
  String productId = xsp-request:get-parameter name=productid/;
  /xsp:logic
 
  However, it did not work..same problem with the ordering of
  the generated Java code for the XSP which causes productId to
  try to be used (to create an attribute value for the root
  element) before it is declared.  I would REALLY appreciate
  any insight into this.
 
  Thanks. :-)
  __
  
  Using: Cocoon 2.0.3 with Tomcat 4.1.12 on Redhat 7.3
 
  My problem is this:  I'm writing an XSP and trying to insert
  an attribute
  in the root element of my document.  The root element is
  Product, as this
  doc stores product info.
 
  Anyhow, a logicsheet inserts an
  xsp:attribute
xsp:exprproducts.getCategory(productId)/xsp:expr
  /xsp:attribute
 
  into my XSP within the Product element.  Now, the productId
  variable is
  declared like this *right* below the root Product element
  in the XSP:
 
  Product
xsp:logic
  String productId = xsp-request:get-parameter
  name=productid default=/;
/xsp:logic
   ...
 
  The problem is that in the Java class generated for the XSP
  declares productId
  AFTER the attribute code tries to call products.getCategory
  using productId
  as a parameter.  This is the ONLY thing causing the error as
  far as I can
  tell, as the code works fine without putting in the attribute.
 
  Note that NO MATTER WHERE the
  xsp:attribute../xsp:attribute code gets
  inserted within the Product/Product block, the generated
  Java code still
  has the same ordering problem.
 
  Does anybody know how to fix this?  I would have put the
  productId declaration
  above the root element (i.e. made it a class member of the
  generated Java
  class), but apparently one can't use the xsp-request
  logicsheet tags at the
  class level.  I don't know why this is the case either.
 
  Thanks for the help!
 
  Sonny
 
  _
  Conserve wilderness with a click (free!) and get your own
  EcologyFund.net email (free!) at http://www.ecologyfund.com.
 
  _
  Select your own custom email address for FREE! Get
  [EMAIL PROTECTED] w/No Ads, 6MB, POP  more!
  http://www.everyone.net/selectmail? campaign=tag
 
 
 
  -
  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]

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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

Re: Can anybody solve this?

2002-10-15 Thread Sonny Sukumar


Wow, Jerry, that's complicated for an XSL newbie like me.  I will definitely keep it 
around and try to crack the code sometime. ;-)  Btw, do you know of any XSL/XPath 
book of which you think highly?  I have an XML book but it doesn't go into all that 
much depth.

Thanks,

Sonny

--- Jerry Fowler [EMAIL PROTECTED] wrote:
I think this snippet that I gleaned from the list a while back
(didn't thank the author in my comment, unfortunately, so I don't
remember who) addresses what you're asking:

!--
 Allows initialization code to be executed exactly once.
 This was expressed as:
 xsl:template match=xsp:page/*[not(starts-with(name(.), 'xsp:'))]
 in the xsp docs with Cocoon, but I think what's below is prettier.
   --
xsl:template match=xsp:page/*[not(self::xsp:*)]
   xsl:copy
 xsl:apply-templates select=@*/
   xsp:logic
 // This code ends up inside populateDocument() before any user code
  String productId = request.getParameter(productid);
   /xsp:logic
 xsl:apply-templates/
   /xsl:copy
/xsl:template


Sonny Sukumar wrote:
 Hi guys,
 
 I sent the following message (below the line) yesterday and got one good suggestion 
to use 
 
 xsp:logic
 String productId = request.getParameter(productid);
 /xsp:logic
 
 instead of 
 
 xsp:logic
 String productId = xsp-request:get-parameter name=productid/;
 /xsp:logic
 
 However, it did not work..same problem with the ordering of the generated Java code 
for the XSP which causes productId to try to be used (to create an attribute value 
for the root element) before it is declared.  I would REALLY appreciate any insight 
into this.
 
 Thanks. :-)
 __
 Using: Cocoon 2.0.3 with Tomcat 4.1.12 on Redhat 7.3
 
 My problem is this:  I'm writing an XSP and trying to insert an attribute
 in the root element of my document.  The root element is Product, as this
 doc stores product info.  
 
 Anyhow, a logicsheet inserts an
 xsp:attribute
   xsp:exprproducts.getCategory(productId)/xsp:expr
 /xsp:attribute
 
 into my XSP within the Product element.  Now, the productId variable is
 declared like this *right* below the root Product element in the XSP:
 
 Product
   xsp:logic
 String productId = xsp-request:get-parameter name=productid default=/;
   /xsp:logic
  ...
 
 The problem is that in the Java class generated for the XSP declares productId
 AFTER the attribute code tries to call products.getCategory using productId
 as a parameter.  This is the ONLY thing causing the error as far as I can
 tell, as the code works fine without putting in the attribute.
 
 Note that NO MATTER WHERE the xsp:attribute../xsp:attribute code gets
 inserted within the Product/Product block, the generated Java code still
 has the same ordering problem.
 
 Does anybody know how to fix this?  I would have put the productId declaration
 above the root element (i.e. made it a class member of the generated Java
 class), but apparently one can't use the xsp-request logicsheet tags at the
 class level.  I don't know why this is the case either.
 
 Thanks for the help!
 
 Sonny
 
 _
 Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.
 
 _
 Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 
6MB, POP  more! http://www.everyone.net/selectmail?campaign=tag
 
 -
 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]
 


-- 
Jerry Fowler
Bioinformatics, Xeotron Corporation
+1 713.842.2121 x292
8275 El Rio, Suite 130
Houston, Texas 77054


-
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]

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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: Can anybody solve this?

2002-10-15 Thread Sonny Sukumar

Just an update...

xsp:init-page
String productId = xsp-request:get-parameter name=productid default=/;
/xsp:init-page

works just as well as 

xsp:init-page
  String productId = request.getParameter(productid);
xsp:init-page/

which means that the xsp-request:get-parameter tag doesn't need to always be used 
within the generated doc's root element (as someone previously said).

Sonny
--- Artur Bialecki [EMAIL PROTECTED] wrote:

Can you move your xsp:logic before the Product tag?
Or try this
xsp:init-page
   String productId = request.getParameter(productid);
xsp:init-page/

although the init-page tag might only work as a child
of xsp:page.

Artur...


_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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]




Simple XSP Ordering Problem

2002-10-14 Thread Sonny Sukumar


Using: Cocoon 2.0.3 with Tomcat 4.1.12 on Redhat 7.3

My problem is this:  I'm writing an XSP and trying to insert an attribute in the root 
element of my document.  The root element is Product, as this doc stores product 
info.  

Anyhow, a logicsheet inserts an
xsp:attribute
  xsp:exprproducts.getCategory(productId)/xsp:expr
/xsp:attribute

into my XSP within the Product element.  Now, the productId variable is declared 
like this *right* below the root Product element in the XSP:

Product
  xsp:logic
String productId = xsp-request:get-parameter name=productid default=/;
  /xsp:logic
 ...

The problem is that in the Java class generated for the XSP declares productId AFTER 
the attribute code tries to call products.getCategory using productId as a parameter.  
This is the ONLY thing causing the error as far as I can tell, as the code works fine 
without putting in the attribute.

Note that NO MATTER WHERE the xsp:attribute../xsp:attribute code gets inserted 
within the Product/Product block, the generated Java code still has the same 
ordering problem.

Does anybody know how to fix this?  I would have put the productId declaration above 
the root element (i.e. made it a class member of the generated Java class), but 
apparently one can't use the xsp-request logicsheet tags at the class level.  I don't 
know why this is the case either.

Thanks for the help!

Sonny

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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]




Possible with XSPs?

2002-10-13 Thread Sonny Sukumar


Hi guys,

Is it possible to access request parameters from within an XSP or logicsheet?

For example, when I go to http://localhost:8080/cocoon/test?param=12345678 I'd like to 
use the value of param in my XSP or logicsheet as a basis for calling Java functions.

In my pipeline, I currently just have the XSP as the generator and 1 XSL stylesheet to 
output to HTML.  I think I could introduce another XSL stylesheet before this one 
which has use-request-paramters set to true and get the param that way, but it seems 
like it'd be slower to do 2 transforms with 2 separate stylesheets rather than 1 
transform with 1 stylesheet.

Thanks!

Sonny

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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: Possible with XSPs?

2002-10-13 Thread Sonny Sukumar


Aha! That fixed it.  I'd love to know why one can only use xsp-request elements inside 
the document (root element).  Anyone know?

--- Katzigas Dimitris [EMAIL PROTECTED] wrote:
I think that your code is OK.

 xsp:logic
  String productId = xsp-request:get-parameter name=productid/;
 /xsp:logic

 This code is right above my root document element

But i think that you have to put the whole xsp:logic fragment inside your
root element. I think that in order to use the xsp-request:xx tag it
has to be inside your root element.

I Hope that will help.

Dimitris Katzigas

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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]




Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Sonny Sukumar


Hi guys,

I'm following along in the book Cocoon: Building XML Applications and trying to get 
the Hello World example to work.  BEFORE you delete my email, PLEASE take a quick 
look at the really simple files and config info below and see if you can help me.  I 
would REALLY appreciate the help so that I can learn.

First, the version info:

Cocoon 2.0.3 (latest stable release, obtained in binary form)
JDK: 1.4
Tomcat 4.1.12 (just obtained about a week ago in binary form)
OS: Redhat 7.3

The error: The requested URI /cocoon/helloworld was not found.

Now, the pipeline config info in sitemap.xmap:

map:pipelines
  map:pipeline
map:match pattern=helloworld
  map:generate src=helloworld.xml/
  map:transform src=helloworld2html.xsl/
  map:serialize/
/map:match
  /map:pipeline
/map:pipelines

Note that, for ultra simplicity, this is the ENTIRE map:pipelines section (I deleted 
the rest).

Ok, now here's the simple contents of the helloworld.xml file:

?xml version=1.0
document
  textHello World/text
/document 

And of the helloworld2html.xsl file:

?xml version=1.0?
xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
  xsl:template match=document
html
  body
h1xsl:value-of select=text//h1
  /body
/html
  /xsl:template
/xsl:stylesheet

Basically, with the modified sitemap the URI helloworld can't be mapped to anything 
and yet the original Cocoon welcome page and other pages it links to still come up.  
Also, here's the
sitemap tag in $COCOON_HOME/WEB-INF/cocoon.xconf:

sitemap check-reload=yes class=org.apache.cocoon.sitemap.SitemapManager
file=sitemap.xmap logger=sitemap reload-method=synchron/

*The check-reload and reload-methods look like what they should be for the
sitemap to be reloaded upon being changed and before serving any new requests.
*I also tried stopping and restarting Tomcat.
*I both flushed and turn off Konqueror's cache as well.

Could it have something to do with Cocoon's cache itself??

I would be very happy if one of you could take the time to point me in the
right direction.  I'm a newbie, I know, but I'd like to become the next happy
Cocoon user.

All the best,

Sonny

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Sonny Sukumar


Hi,

I should have mentioned that sitemap.xmap is in $COCOON_HOME, where it is supposed to 
be from what I've read.  I tried your suggestion, and got the same error.

Btw, can anyone tell me why there are MULTIPLE sitemap.xmap files in $COCOON_HOME 
subdirectories?  I thought there was only supposed to be the one in $COCOON_HOME.

If anyone can help me out with my original Hello World question, I would REALLY 
appreciate it..I want to get this to work sooo much.

Thanks again. :-)

Sonny

--- Kjetil Kjernsmo [EMAIL PROTECTED] wrote:
On Monday 07 October 2002 19:24, Sonny Sukumar wrote:

The error: The requested URI /cocoon/helloworld was not found.

Now, the pipeline config info in sitemap.xmap:

Anyway, try access with 
cocoon/helloworld/helloworld
instead. You'll need that if your sitemap is a dir of its own.

Best,

Kjetil

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Sonny Sukumar


Sure, here's a quick copy and paste of $COCOON_HOME (same thing as 
$TOMCAT_HOME/webapps/cocoon):

cocoon.xconf.moved   i18n resources sitemap.xmap.bak  tutorial
docs logicsheets  samples   stylesheets   WEB-INF
documentationMETA-INF searchsub   welcome
helloworld2html.xsl  mountsitebuilder   sunspotdemo
helloworld.xml   protectedsitemap.xmap  templates

The problem *is* a Cocoon problem.  The Tomcat servlet engine works just fine and 
Cocoon runs on it, but I can't get this Hello World example to work.  I also don't 
understand why the other Cocoon pages still come up after I deleted ALL the other 
stuff inside the map:pipelines tag other than my map:pipeline for the Hello World 
example that generates from helloworld.xml, transforms with helloworld2html.xsl and 
serializes the output.

Does it make sense now?  If I need to clarify anything at all or paste some things 
from my first email, please let me know and I will gladly do so.

Thanks again,

Sonny
--- Steven Noels [EMAIL PROTECTED] wrote:
Sonny Sukumar wrote:

  If anyone can help me out with my original Hello World question, I
  would REALLY appreciate it..I want to get this to work sooo much.

I have trouble understanding your problem, too. Could you give us a 
dirlisting of $TOMCAT_HOME/webapps/cocoon - assuming you have deployed 
Cocoon over there?

The error message you get is a Tomcat one, I guess, so maybe the Cocoon 
context isn't properly set up.

/Steven
-- 
Steven Noelshttp://outerthought.org/
Outerthought - Open Source, Java  XML Competence Support Center
[EMAIL PROTECTED]  [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]

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Sonny Sukumar


On a fresh Tomcat (4.1.12) installation I copied the file cocoon.war (this is Cocoon 
2.0.3) into the $TOMCAT_HOME/webapps directory.  I then started Tomcat using 
$TOMCAT_HOME/bin/startup.sh, navigated to http://localhost:8080/cocoon and Tomcat 
expanded cocoon.war into $TOMCAT_HOME/webapps/cocoon, started the Cocoon servlet, and 
displayed the Cocoon intro page.

As I said before, to do this Hello World example, I modified the map:pipelines 
section of sitemap.xmap to just contain the map:pipeline for the Hello World 
example. Actually, first I tried just adding the Hello World pipeline...when that 
didn't work I deleted the rest.  It still doesn't work.  And I'm not sure how Tomcat 
could be running some other Cocoon instance either.  But I am obviously missing 
something somewhere.

And thanks for the info on the parent-child sitemaps..I guess I'll get to that later, 
once I get this to work. :-)

--- Hunsberger, Peter [EMAIL PROTECTED] wrote:
 I also don't understand why the other Cocoon pages still come up after I
deleted ALL the other stuff  inside the map:pipelines tag other than my
map:pipeline for the Hello World example that 
 generates from helloworld.xml, transforms with helloworld2html.xsl and
serializes the output.

That tends to suggest that the copy of Cocoon you are modifying isn't the
same one that Tomcat is running...  How are you deploying Cocoon (expanding
the EAR manually and copying?)? 

BTW, to answer another question you had earlier, the reason you see
sitemap.xconf in multiple directories is that a parent sitemap can mount
sub-sitemaps.  It's a parent child relationship from the main sitemap...

-
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]

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Sonny Sukumar


I switched treeprocessor by commenting out one sitemap tag and uncommenting the 
other one in cocoon.xconf.

Btw, what is stored in Tomcat's work directory?  This might sound like a dumb question 
to you, but I'm still on Hello World. :-)

Likewise, I haven't done anything with error handling, so if you feel this is 
something important that I should do here and now to diagnose the problem, I humbly 
ask for a small explanation so I can understand what's going on.  For example, what 
XML source does the error2html.xsl file in your sample code operate on?

Lastly, I know for a fact I'm editing sitemap.xmap and not the sitemap.xmap.bak file I 
created to simply backup the original sitemap.xmap file before I started playing 
around with it.  But it is good of you to point out. :-)

Sonny

--- Steven Noels [EMAIL PROTECTED] wrote:
Sonny Sukumar wrote:

  The problem *is* a Cocoon problem.  The Tomcat servlet engine works
  just fine and Cocoon runs on it, but I can't get this Hello World
  example to work.  I also don't understand why the other Cocoon pages
  still come up after I deleted ALL the other stuff inside the
  map:pipelines tag other than my map:pipeline for the Hello World
  example that generates from helloworld.xml, transforms with
  helloworld2html.xsl and serializes the output.
 
  Does it make sense now?  If I need to clarify anything at all or
  paste some things from my first email, please let me know and I will
  gladly do so.

It does make sense and indeed it seems like your changed sitemap isn't 
loaded. Did you clean out the 'work' directory of Tomcat when restarting 
- not that this should be the problem, but one never knows.

Also, adding a error-handling section in your pipeline configuration 
might provide you with some useful info:

   ...
   map:handle-errors
 map:transform src=stylesheets/error2html.xsl/
 map:serialize/
   /map:handle-errors
 /map:pipeline

Another idea: switching to the (interpreting instead of compiling) 
treeprocessor, by swapping it with the normal sitemap engine configation 
with
 sitemap logger=sitemap/

Oh, BTW, it's not that you are editing the wrong sitemap file (.bak)?

/Steven
-- 
Steven Noelshttp://outerthought.org/
Outerthought - Open Source, Java  XML Competence Support Center
[EMAIL PROTECTED]  [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]

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Sonny Sukumar


I cleared out error.log and accessed http://localhost:8080/cocoon/helloworld again and 
there's no errors that are logged.  The page just comes up blank.  When I click on 
View Source, the document source is COMPLETELY empty.  Should I be using something 
other than serialize/?  I just copied the example straight from the book.

--- Steven Noels [EMAIL PROTECTED] wrote:
Sonny Sukumar wrote:

  HOWEVER: Cocoon now recognizes the URI when I navigate to
  http://localhost:8080/cocoon/helloworld, but it is nothing but a
  blank page.  This started happening after switching the sitemap
  tag, and this behavior is still there after deleting the contents of
  $TOMCAT_HOME/work.  I guess this is a step forward though.
 
  Any idea why I could be getting a blank page?  If not, then I guess
  I'll have try that error handling stuff eh?  I'm scared. :-/

You shouldn't ;-)

Two choices now: dig in the log files 
($COCOON_HOME/WEB-INF/logs/error.log) or have that error handling stuff 
set up.

But I'm off to bed soon now :-)

/Steven
-- 
Steven Noelshttp://outerthought.org/
Outerthought - Open Source, Java  XML Competence Support Center
[EMAIL PROTECTED]  [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]

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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: Stuck on Hello World, with non-FAQ Problem

2002-10-07 Thread Sonny Sukumar


Man, Steven, thanks for pointing that out--the Hello World example works now.  The 
really weird thing is that I *did* check that quite a few times and fixed the missing 
? mark before.  However, I had made a backup copy of the helloworld.xml file so that I 
could delete my whole cocoon directory and reinstall cocoon from scratch (I thought I 
might have messed up the installation somehow).  So I guess the backed up 
helloworld.xml file still had the missing ? and that's been a major culprit here. 
Sigh

Also weird: Remember that I kept getting the error about cocoon/helloworld being an 
unknown URI?  That error has mysteriously gone away...could it have been cleaning out 
the $TOMCAT_HOME/work directory that did it??

In any case, the example finally works!! Hooraaay!!!  And it was supposed to be a 
trivial example too. :-)

Go get some sleep--you have earned it. :-)

Thanks!

Sonny
--- Steven Noels [EMAIL PROTECTED] wrote:
Sonny Sukumar wrote:

  I cleared out error.log and accessed
  http://localhost:8080/cocoon/helloworld again and there's no errors
  that are logged.  The page just comes up blank.  When I click on View
  Source, the document source is COMPLETELY empty.  Should I be using
  something other than serialize/?  I just copied the example
  straight from the book.

Damn, my bad. So finally, I copied your code into files and fed that 
through Cocoon. Hm...  org.xml.sax.SAXParseException: a pseudo attribute 
name is expected on my error page and in my logs...

What could this be...? Load up your helloworld.xml in an XML editor, 
press validate and tada, typo found:

?xml version=1.0?
^

Yup, that stupid - didn't had anything to do with Cocoon. Do you have 
your error page up  running now? The error message isn't particularly 
helpful (plain wrong in this case), but at least you get a feeling where 
to look at.

OK now?

/Steven
-- 
Steven Noelshttp://outerthought.org/
Outerthought - Open Source, Java  XML Competence Support Center
[EMAIL PROTECTED]  [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]

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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]




*Bizarre* Sitemap Problem

2002-10-06 Thread Sonny Sukumar

Hi guys,

I am new to Cocoon, but I have read the FAQ and tried searching some archives as well 
as on Google, and haven't found the solution to this. Still, I am *really* sorry if 
this has been touched on before.

Anyhow, onto the problem.  I'm following along in the book Cocoon: Building XML 
Applications and trying to get the Hello World example to work.  For ultra 
simplicity I modified sitemap.xmap so that the map:pipelines section is ONLY the 
following (after backing up the original sitemap.xmap, of course):

map:pipelines
  map:pipeline
map:match pattern=helloworld
  map:generate src=helloworld.xml/
  map:transform src=helloworld2html.xsl/
  map:serialize/
/map:match
  /map:pipeline
/map:pipelines 

What's strange is that even after stopping and restarting Tomcat, when I go to 
http://localhost:8080/cocoon, the original Cocoon welcome page comes up that says 
something like Congratulations, you got me running.  I flushed the cache in 
Konqueror and turned off its cache as well.  Also, here's the sitemap tag in 
$COCOON_HOME/WEB-INF/cocoon.xconf:

sitemap check-reload=yes class=org.apache.cocoon.sitemap.SitemapManager 
file=sitemap.xmap logger=sitemap reload-method=synchron/

The check-reload and reload-methods look like what they should be for the sitemap to 
be reloaded upon being changed and before serving any new requests.

Ok, now here's the contents of the helloworld.xml file:

?xml version=1.0
document
  textHello World/text
/document 

And of the helloworld2html.xsl file:

?xml version=1.0?
xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
  xsl:template match=document
html
  body
h1xsl:value-of select=text//h1
  /body
/html
  /xsl:template
/xsl:stylesheet

Btw, both of these files are in $COCOON_HOME.  Here is the error I get when I try to 
load http://localhost:8080/cocoon/helloworld:

The requested URI /cocoon/helloworld was not found.

There is no stacktrace given.  So..with the new sitemap it *can't* map the URI 
helloworld and yet it can still find the files for http://localhost:8080/cocoon.  This 
is really baffling me.

Lastly, here's my version info:
Cocoon 2.0.3 (latest stable release, obtained in binary form  meant for JDK 1.4, 
which I have)
Tomcat 4.1.12 (just obtained about a week ago in binary form)
JDK: 1.4
OS: Redhat 7.3

I would be very happy if one of you could take the time to point me in the right 
direction.  I'm a newbie, I know, but I'd like to become the next happy Cocoon user.

All the best,

Sonny

_
Conserve wilderness with a click (free!) and get your own EcologyFund.net email 
(free!) at http://www.ecologyfund.com.

_
Select your own custom email address for FREE! Get [EMAIL PROTECTED] w/No Ads, 6MB, 
POP  more! http://www.everyone.net/selectmail?campaign=tag

-
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]