Re: [xsl] saxon:try()

Subject: Re: [xsl] saxon:try()
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: Fri, 04 Jan 2008 17:38:20 +0000
>>>>> "Florent" == Florent Georges <lists@xxxxxxxxxxxx> writes:

    Florent>     Dynamic errors are reported only if the instructions
    Florent> or expressions that cause them are actually evaluated.

    Florent>   So the error could remain not evaluated, couldn't it?
    Florent> And if it is actually evaluated, the transformation
    Florent> should fail because the error occured outside of an
    Florent> ex:error-safe.

Now, that is assuming that ex:error-state is an instruction. And
indeed, you created it as such.

So if ex:error-state is an instruction, then it should expect to see
errors caused by evaluating variables within that instruction.

But you seem to be arguing that the error trapping should be lexically
associated. In which case it should be part of a declaration, not an
instruction.
-- 
Colin Adams
Preston Lancashire

Current Thread