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

Re: Re: Bug in treating an RTF by Saxon 6.5 and MSXML

Subject: Re: Re: Bug in treating an RTF by Saxon 6.5 and MSXML
From: Dimitre Novatchev <dnovatchev@xxxxxxxxx>
Date: Thu, 16 May 2002 22:29:25 -0700 (PDT)
 Re: Re: Bug in treating an RTF by Saxon 6.5 and MSXML
michael dot h dot kay at ntlworld dot com wrote

> Here's the template with the offending lines again:
> 
>     <xsl:template match="str-split2words-func:*">
>       <xsl:param name="arg1" select="/.."/>
>       <xsl:param name="arg2"/>
>          
> <!--Right--> <xsl:copy-of select="vendor:node-set($arg1)/*[1]"/>
> <!--Err--> <xsl:copy-of select="$arg1/word[position() != last()]"/>
> 
> 
> Dimitre, you have discovered a feature in Saxon which I have never 
> advertised. The saxon:node-set() function really does convert an RTF 
> to a node set. That's right, it doesn't create a node-set that is a 
> copy of the RTF, it really changes the RTF into a node-set, so once 
> you have called saxon:node-set($rtf) you can thereafter use $rtf as a
> node-set.
> 
> (In fact, saxon:node-set() simply unsets the bit that says "the user
> isn't allowed to do useful things with this tree").
> 
> It might seem a very un-functional way of doing things, but it's 
> perfectly conformant, because extension functions are allowed to have
> side-effects.
> 
> Michael Kay

Mike are you joking? Should I stop immediately using Saxon 6.5 or will
this be fixed in a future release?

Cheers,
Dimitre.



__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com

 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.