[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Which engine? (RE: JavaScript and XSL)
| After I realized that SAXON ( which is very good | engine) makes hidden RTF->node-set typecast | ( the thing MS were blamed for ), I feel not | comfortable when somebody says | 'conformant XSLT engine' in public place. This appears to have changed between Saxon 5.4 and Saxon 5.5 I went back and tested the following stylesheet with Saxon 5.4... <?xml version="1.0" encoding="ISO-8859-1"?> <test xsl:version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform"> <xsl:variable name="x"><one><two>three</two></one></xsl:variable> <xsl:value-of select="$x/one/two"/> </test> and Saxon 5.4 yields: At xsl:value-of on line 4 of file:/C:/TEMP/test.xsl: Cannot convert value [** RESULT TREE FRAGMENT **] to a node-set While Saxon 5.5 or 5.5.1 yields: <test>three</test> The September 2000 MSXSL yields: Reference to variable or parameter 'x' must evaluate to a node list. Both Oracle XSLT and Xalan flag it as an error as well. ______________________________________________________________ Steve Muench, Lead XML Evangelist & Consulting Product Manager BC4J & XSQL Servlet Development Teams, Oracle Rep to XSL WG Author "Building Oracle XML Applications", O'Reilly http://www.oreilly.com/catalog/orxmlapp/ XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
|
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
|