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

Re:

Subject: Re:
From: Elliotte Rusty Harold <elharo@xxxxxxxxxxxxxxx>
Date: Wed, 2 Jan 2002 12:37:30 -0500
 Re:
At 9:54 AM +0100 12/21/01, Miloslav Nic wrote:


========================================
1.
The rules for comparing a node-set to a boolean have changed. In XPath
1.0,
an expression such as $nodeset=true() was evaluated by converting the
node-set to a boolean and comparing the result: so this expression would
return true
if $nodeset was non-empty. In XPath 2.0, this expression is handled in
the same way as other comparisons between a sequence and a singleton: it
is true if
$nodeset contains at least one node whose typed value is true.
----------------------------------------


This bothers me. What if the node set contains multiple nodes, some of which are true, some of which are false, and some of which are indeterminate?
--


+-----------------------+------------------------+-------------------+
| Elliotte Rusty Harold | elharo@xxxxxxxxxxxxxxx | Writer/Programmer |
+-----------------------+------------------------+-------------------+
|          The XML Bible, 2nd Edition (Hungry Minds, 2001)           |
|              http://www.ibiblio.org/xml/books/bible2/              |
|   http://www.amazon.com/exec/obidos/ISBN=0764547607/cafeaulaitA/   |
+----------------------------------+---------------------------------+
|  Read Cafe au Lait for Java News:  http://www.cafeaulait.org/      |
|  Read Cafe con Leche for XML News: http://www.ibiblio.org/xml/     |
+----------------------------------+---------------------------------+

XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list


Current Thread
  • Re:
    • Elliotte Rusty Harold - Wed, 2 Jan 2002 12:38:17 -0500 (EST) <=
      • Michael Kay - Wed, 2 Jan 2002 13:07:17 -0500 (EST)
        • Evan Lenz - Wed, 2 Jan 2002 13:39:24 -0500 (EST)

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.