W3C home > Mailing lists > Public > xproc-dev@w3.org > June 2009

Re: What should happen when you don't try/catch an exception...

From: Norman Walsh <ndw@nwalsh.com>
Date: Tue, 23 Jun 2009 10:08:34 -0400
To: XProc Dev <xproc-dev@w3.org>
Message-ID: <m28wjjoxel.fsf@nwalsh.com>
Philip Fennell <Philip.Fennell@bbc.co.uk> writes:

> Now using Calabash 0.9.11 I get the following message:
>
> Error  : Pipeline failed: com.xmlcalabash.core.XProcException: No
> outputs allowed.

The error messages in XML Calabash really suck.

My guess is that there's something else wrong now. Perhaps you've got
p:error in a p:choose that doesn't have any outputs? In that case,
you need a p:sink after it.
  
> I guess I should be able to allow the exception to bubble-up to the top
> if I so wish. Has this new behaviour been introduced as a result of
> adding an output port on p:error?

It should still bubble up.

                                        Be seeing you,
                                          norm

-- 
Norman Walsh <ndw@nwalsh.com> | Where it is permissible both to die and
http://nwalsh.com/            | not to die, it is an abuse of valour to
                              | die.-- Mencius

Received on Tuesday, 23 June 2009 14:09:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 23 June 2009 14:09:18 GMT