[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE : Re: saxon:try()

Subject: RE : Re: saxon:try()
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Fri, 4 Jan 2008 19:01:30 +0100 (CET)
 RE : Re:  saxon:try()
Colin Paul Adams wrote:

> 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.

  Yes, I misused "lexicaly".  I had in mind the simplest
case:

    <xsl:variable name="v" .../>
    <ex:error-safe>
       <ex:try>
          <xsl:sequence select="$v"/>

  You are right, this is instead related to the "sequence
construction".

  But my point was that because the variable declaration is
not evaluated in the sequence constructor of the ex:try, the
error it could raise should not be caught (even if a
processor can evaluating the value of the variable while
evaluating the seq ctor).

  Regards,

--drkm























      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2011 All Rights Reserved.