Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 78201 invoked from network); 20 Jan 2011 22:15:09 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 Jan 2011 22:15:09 -0000 Received: (qmail 58463 invoked by uid 500); 20 Jan 2011 22:15:08 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 58302 invoked by uid 500); 20 Jan 2011 22:15:07 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 58295 invoked by uid 99); 20 Jan 2011 22:15:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 22:15:07 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=10.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Jeffrey.A.Schmitz@boeing.com designates 130.76.64.48 as permitted sender) Received: from [130.76.64.48] (HELO slb-smtpout-01.boeing.com) (130.76.64.48) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 20 Jan 2011 22:14:58 +0000 Received: from slb-av-01.boeing.com (slb-av-01.boeing.com [129.172.13.4]) by slb-smtpout-01.ns.cs.boeing.com (8.14.4/8.14.4/8.14.4/SMTPOUT) with ESMTP id p0KMEZAi008667 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Thu, 20 Jan 2011 14:14:38 -0800 (PST) Received: from slb-av-01.boeing.com (localhost [127.0.0.1]) by slb-av-01.boeing.com (8.14.4/8.14.4/DOWNSTREAM_RELAY) with ESMTP id p0KMEZl9018732 for ; Thu, 20 Jan 2011 14:14:35 -0800 (PST) Received: from XCH-MWHT-04.mw.nos.boeing.com (xch-mwht-04.mw.nos.boeing.com [134.57.113.164]) by slb-av-01.boeing.com (8.14.4/8.14.4/UPSTREAM_RELAY) with ESMTP id p0KMEYwd018720 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=OK) for ; Thu, 20 Jan 2011 14:14:35 -0800 (PST) Received: from XCH-MW-07V.mw.nos.boeing.com ([134.57.118.197]) by XCH-MWHT-04.mw.nos.boeing.com ([134.57.113.164]) with mapi; Thu, 20 Jan 2011 16:14:34 -0600 From: "Schmitz, Jeffrey A" To: "users@cocoon.apache.org" Date: Thu, 20 Jan 2011 16:14:31 -0600 Subject: processPipelineTo and error handling Thread-Topic: processPipelineTo and error handling Thread-Index: Acu472l0qmQGF2DNQLuIZDEwQEvk0A== Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_EC00F1CE70DFEC419A684A37323D39742BB1F830XCHMW07Vmwnosbo_" MIME-Version: 1.0 --_000_EC00F1CE70DFEC419A684A37323D39742BB1F830XCHMW07Vmwnosbo_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello, I have a flowscript which calls processPipelineTo, and I can't figure ou= t how to get back into the script if there is an exception in one of the co= mponents of the pipeline that has been called. For some reason, any error = handling in my sitemap sends its results back to the client (i.e. the brows= er) instead of back to the flowscript via the specified parameter ( transR= esult in the below example) cocoon.processPipelineTo(importURL, null, transResult); In the below handler, I was expecting the saxError.xml file contents to be = sent back to my flowscript, but it ends up being sent to the browser instea= d, and my flowscript never continues on. What am I missing here? --_000_EC00F1CE70DFEC419A684A37323D39742BB1F830XCHMW07Vmwnosbo_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hello,

   I have a flowscript which calls proc= essPipelineTo, and I can’t figure out how to get back into the script= if there is an exception in one of the components of the pipeline that has= been called.  For some reason, any error handling in my sitemap sends= its results back to the client (i.e. the browser) instead of back to the f= lowscript via  the specified parameter ( transResult in the below exam= ple)

 

       = ;         cocoon.processPipelineTo(= importURL, null, transResult);

 

In the below handler, I was e= xpecting the saxError.xml file contents to be sent back to my flowscript, b= ut it ends up being sent to the browser instead, and my flowscript never co= ntinues on.  What am I missing here?

 

<= span style=3D'font-size:10.0pt;font-family:"Courier New";color:black'> = ;  <map:handle-errors>

      <map:se= lect type=3D= "exception">

      <map:when test=3D"sax-parser-error">

         &l= t;map:generate src=3D"xml/saxError.xml"= />

     =     <map:serialize type=3D&qu= ot;xml" /><= /span>

   =    </map:when>

 

 

<= /html>= --_000_EC00F1CE70DFEC419A684A37323D39742BB1F830XCHMW07Vmwnosbo_--