Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 8396 invoked from network); 21 Jul 2000 07:02:13 -0000 Received: from unknown (HELO www.bct.de) (194.173.12.5) by locus.apache.org with SMTP; 21 Jul 2000 07:02:13 -0000 Received: from bct-technology.com (mail2.bct-technology.com [194.173.12.13]) by www.bct.de (8.9.3/8.9.3) with ESMTP id IAA28437 for ; Fri, 21 Jul 2000 08:59:47 +0200 Sender: aweinmann@www.bct.de Message-ID: <3977F4E3.48863E19@bct-technology.com> Date: Fri, 21 Jul 2000 08:59:47 +0200 From: Alexander Weinmann Organization: BCT X-Mailer: Mozilla 4.61 [en] (X11; I; Linux 2.2.10 i686) X-Accept-Language: en MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Error output in Cocoon Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Hello everybody, If runtime errors (SQLError,FileNotFoundException) occur while processing a page, than Cocoon1 outputs an HTML page containing error message and stack trace. This seems to happen independently of the output format (Formatter) that you specified. I mean: this is usefull only if the client is a web browser or understands HTML. My question is: Shouldn't there be some sort of dependency between the output format and the format of the error message? Example: If I have in my page on the server, than (for my XML-based client) I would like to get any error output also in XML, and not in HTML, on order to be able to handle the error. Maybe, in C2 this problem is taken into account? Or maybe already in C1, and I don't know about it? Alexander Weinmann http://www.bct-portal.com/