[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

Re: [xsl] Ann: Transforming J S O N in pure X S L T


Subject: Re: [xsl] Ann: Transforming J S O N in pure X S L T
From: Florent Georges <darkman_spam@xxxxxxxx>
Date: Wed, 9 May 2007 23:56:47 +0200 (CEST)

Michael Kay wrote:

  Hi

> As a result of investigating Jeni's Levenshtein distance
> stylesheet last weekend, the next Saxon version will push
> compile-time type checking down into the branches of a
> conditional, which will give you a compile-time error for
> the above construct. At the moment, you'll only get an
> error if the else branch is actually taken at run-time.

  With 8.9J and 8.9.0.2J, the error is encountered in SA and
not B.  And in SA the error is encountered at runtime (at
least the XSLT stack trace and the error message look like
it is).

  I don't know if this deserves to be looked further at.

  BTW, is it legal to have a compile error for the
following:

    <xsl:variable name="..." as="item()" select="
        if ( $... ) then ... else ()"/>

?  Note I'm just curious, I love having early reporting on
such issues.

  Regards,

--drkm


















      
___________________________________________________________________________ 
Dicouvrez une nouvelle fagon d'obtenir des riponses ` toutes vos questions ! 
Profitez des connaissances, des opinions et des expiriences des internautes sur Yahoo! Questions/Riponses 
http://fr.answers.yahoo.com


Current Thread
Keywords