[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: Which engine? (RE: JavaScript and XSL)

Subject: Re: Which engine? (RE: JavaScript and XSL)
From: "Steve Muench" <smuench@xxxxxxxxxxxxx>
Date: Sun, 22 Oct 2000 19:03:02 -0700
javascript oracle xsl transformer
| 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


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.