This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
Re: Requirements for XSLT 1.1 (rtf/node set to boolean coercion)
- To: xsl-list at mulberrytech dot com
- Subject: Re: Requirements for XSLT 1.1 (rtf/node set to boolean coercion)
- From: Mike Brown <mike at skew dot org>
- Date: Tue, 29 Aug 2000 11:29:22 -0600 (MDT)
- Reply-To: xsl-list at mulberrytech dot com
David Carlisle wrote:
> The new requirements document is worded so as to imply that the only
> difference between rtf and node-set is the restriction of the allowed
> operators.
>
> I had thought that the other difference was coercion to boolean,
>
> non-empty node sets always being true but non-empty rtf being false if
> they have empty string value.
>
> However perhaps my (and saxon's?) reading of the spec was faulty.
I thought Michael Kay mentioned on the list not too long ago that it was
in fact a misreading to ever think that a result tree fragment was false,
because it always contains a root node and it is, according to the spec,
always treated like a node-set. Unfortunately the error wasn't discovered
in time for his book going to press. I wish I still had the post I am
thinking of...
- Mike
____________________________________________________________________
Mike J. Brown, software engineer at My XML/XSL resources:
webb.net in Denver, Colorado, USA http://www.skew.org/xml/
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list