[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
> > <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/
|
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
|