[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

Subject: RE: Ann: Transforming J S O N in pure X S L T
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Wed, 9 May 2007 22:30:55 +0100
RE:  Ann: Transforming J S O N in pure X S L T
> >    <xsl:variable name="vLexResults" as="item()+"
> >     select="if(empty($pCurLexeme)) ... else ()"/>
> 
> 
> Thanks for reporting this.  I did't have any problems running 
> the tests with Saxon Basic 8.9.2J
> 

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.

Michael Kay
http://www.saxonica.com/

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-2013 All Rights Reserved.