From dev-return-62907-apmail-cocoon-dev-archive=cocoon.apache.org@cocoon.apache.org Fri Jul 02 09:59:55 2004 Return-Path: Delivered-To: apmail-cocoon-dev-archive@www.apache.org Received: (qmail 70923 invoked from network); 2 Jul 2004 09:59:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 2 Jul 2004 09:59:55 -0000 Received: (qmail 44741 invoked by uid 500); 2 Jul 2004 10:00:09 -0000 Delivered-To: apmail-cocoon-dev-archive@cocoon.apache.org Received: (qmail 44571 invoked by uid 500); 2 Jul 2004 10:00:05 -0000 Mailing-List: contact dev-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@cocoon.apache.org Delivered-To: mailing list dev@cocoon.apache.org Received: (qmail 44480 invoked by uid 99); 2 Jul 2004 10:00:03 -0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=HTML_50_60,HTML_MESSAGE X-Spam-Check-By: apache.org Received: from [202.81.18.186] (HELO ausmtp01.au.ibm.com) (202.81.18.186) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 02 Jul 2004 03:00:02 -0700 Received: from sd0112e0 (d23rh903.au.ibm.com [202.81.18.201]) by ausmtp01.au.ibm.com (8.12.10/8.12.10) with ESMTP id i629xc5u094234 for ; Fri, 2 Jul 2004 19:59:38 +1000 Received: from d23m0174.in.ibm.com (d23av02.au.ibm.com [9.190.250.243]) by sd0112e0 (8.12.10/NCO/VER6.6) with ESMTP id i62A05GA071230 for ; Fri, 2 Jul 2004 20:00:09 +1000 To: dev@cocoon.apache.org MIME-Version: 1.0 Subject: Why Cocoon Stops processing all Requests URI the moment one of them has an exception;CInclude X-Mailer: Lotus Notes Release 6.0.2CF1 June 9, 2003 Message-ID: From: Arnab Sengupta Date: Fri, 2 Jul 2004 15:30:08 +0530 X-MIMETrack: Serialize by Router on d23m0174/23/M/IBM(Release 6.0.2CF2HF259 | March 11, 2004) at 02/07/2004 15:29:50, Serialize complete at 02/07/2004 15:29:50 Content-Type: multipart/alternative; boundary="=_alternative 00363EE565256EC5_=" X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N This is a multipart message in MIME format. --=_alternative 00363EE565256EC5_= Content-Type: text/plain; charset="US-ASCII" Hi All, I have a Cocoon pipeline that takes a huge xml as input. The stucture of xml is: Now I have an xsltc transformer taking an xsl, internally calls same cocoon URI, based on occurance of "" tag. cocoon://labData?messageNo= Now when any one of these URI's fired through CInclude gets an exception, other URI's are never processed at all. I mean i am not very sure whether other URI's gets fired or they are aborted. Can someone please tell me what will happen, if URI fired by the occurance of 2nd gets an exception. Will the URI for 3rd Message be fired at all? Or if fired it will be aborted in middle..? Also can anyone tell me whether CInclude waits for response of the URL fired by it to return an xml ? Thanks And Best Regards, Arnab Sengupta IBM Global Services Plot X1-7, Block - EP/GP, Saltlake Kolkata - 700 091 Telephone: +91 33 23579110 extn 3460(office) Email: arnabsen@in.ibm.com --=_alternative 00363EE565256EC5_= Content-Type: text/html; charset="US-ASCII"
Hi All,

I have a Cocoon pipeline that takes a huge xml as input. The stucture of xml is:

<Root>
<Message>
<!--- Other elements inside it -->
</Message>
<Message>
<!--- Other elements inside it -->
</Message>
<Message>
<!--- Other elements inside it -->
</Message>
</Root>

Now I have an xsltc transformer taking an xsl, internally calls same cocoon URI, based on occurance of "<Message>" tag.

<xsl:foreach select="Message>
            <xsl:variable name="messageURL">cocoon://labData?messageNo=<xsl:value-of select="position()"/></xsl:variable>
            <cinclude:include ignoreErrors="true" src="{$messageURL}" />

</xsl:foreach>

Now when any one of these URI's fired through CInclude gets an exception, other URI's are never processed at all. I mean i am not very sure whether other URI's gets fired or they are aborted. Can someone please tell me what will happen, if URI fired by the occurance of 2nd <Message> gets an exception. Will the URI for 3rd Message be fired at all? Or if fired it will be aborted in middle..?

Also can anyone tell me whether CInclude waits for response of the URL fired by it to return an xml ?

Thanks And Best Regards,

Arnab Sengupta
IBM Global Services
Plot X1-7, Block - EP/GP, Saltlake
Kolkata - 700 091
Telephone: +91 33 23579110 extn 3460(office)
Email: arnabsen@in.ibm.com
--=_alternative 00363EE565256EC5_=--