Re: c:errors

> in theory its possible, in actual practice I have not seen it

Yes I know. I'm looking for real life use cases, out of curiosity :)

Romain.

Le 3 juin 11 à 17:24, James Fuller a écrit :

> On Fri, Jun 3, 2011 at 5:08 PM, Romain Deltour <rdeltour@gmail.com>  
> wrote:
>> Hi all,
>>
>> The error document [1] appearing on the "error" input port of a  
>> p:catch is
>> basically a c:errors element with c:error children.
>>
>> In all the use cases I've met so fat it typically contains only one  
>> c:error
>> child. Are there existing use cases where it is contains either  
>> none or
>> several children ?
>>
>> I'd like to re-throw an error using p:error in a p:catch sub- 
>> pipeline, and
>> I'm trying to find the best approach when there are none/several  
>> c:error
>> children...
>
> c:errors is defined as follows;
>
> <c:errors>
>    c:error*
> </c:errors>
>
> so in theory its possible, in actual practice I have not seen it ...
> it remains to be seen if there are scenarios such as nested
> try/catches where multiple c:error children; maybe other impl have
> discovered such situations ?
>
> Jim Fuller

Received on Friday, 3 June 2011 15:44:14 UTC