[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Ann: Transforming J S O N in pure X S L T
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|