Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 56480 invoked from network); 17 Apr 2008 13:33:03 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Apr 2008 13:33:03 -0000 Received: (qmail 40844 invoked by uid 500); 17 Apr 2008 13:33:01 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 40803 invoked by uid 500); 17 Apr 2008 13:33:00 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 40786 invoked by uid 99); 17 Apr 2008 13:33:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 06:33:00 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [204.239.42.193] (HELO smtp-relay2.uniserve.ca) (204.239.42.193) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Apr 2008 13:32:07 +0000 Received: from mbr.uniserve.ca ([216.113.192.21] helo=mail3.uniserve.ca) by smtp-relay2.uniserve.ca with esmtp (Exim 4.63) (envelope-from ) id 1JmUDx-0004ey-3L; Thu, 17 Apr 2008 06:32:25 -0700 Received: from www by mail3.uniserve.ca with local (Exim 3.35 #1) id 1JmUDw-0001RH-00; Thu, 17 Apr 2008 06:32:24 -0700 Received: from 63.76.213.5 ( [63.76.213.5]) as user hajduk@pop.imag.net by members.uniserve.com with HTTP; Thu, 17 Apr 2008 06:32:24 -0700 Message-ID: <1208439144.48075168a388f@members.uniserve.com> Date: Thu, 17 Apr 2008 06:32:24 -0700 From: Mario Madunic To: Ant Users List , Steve Loughran Subject: Re: XSLT task fail rerouting References: <4806240F.3030307@apache.org> In-Reply-To: <4806240F.3030307@apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.1 X-Scanner: OK. Scanned. X-Uniserve-Spam-Score: 0.0 0 (/) X-Uniserve-Spam-Report: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Checked: Checked by ClamAV on apache.org Thank you Steve for the quick response. How do I post a feature request. I've never used bugzilla and when I went to the site I found it a bit daunting. I've found Antxtras that should be able to help. When I figure it out I'll post it to the list. Marijan (Mario) Madunic Quoting Steve Loughran : > Madunic, Marijan (RBI-US) wrote: > > I've been looking at the attributes available to the XSLT task on do not > > see an attribute to define what to do if the xslt task fails. > > > > > > > > A bit of background first. Myself and a colleague are parsing 10s of > > thousands of XML files and every now and then an ill formed XML doc > > comes along. When this happens the entire process is terminated and we > > would like for the process to continue and to move the offending file to > > a directory to be parsed via tagsoup and then reparsed using the XSLT > > task. > > > > > > > > So my questions are: > > > > > > > > Does the fail task work as a child of xslt? > > > > If not what if anything can we do to stop the termination of the process > > if an ill formed XML doc comes along? > > sounds like that is a bit of feature creep. If it is > xml-well-formedness, then and its child > should do the work...what we want is for them to be able to create a > refid to all the validated files, which could then be used to validate > the components. And a reference to all the invalid files to. > > If such attrs existed you could go > > > > > > > ... > > Something to add as a feature request (better yet, with patches and > docs) to bugzilla > > -steve > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org