RE: [F&O] Section 15.3 deep equal examples

David:
The first para in section 14 says...

"For the illustrative examples below assume an XQuery or transformation operating on a PurchaseOrder document containing a number of line-item elements. Each line-item has child elements called description, price, quantity, etc. Quantity has simple content of type xs:decimal. Further assume that variables $item1, $item2, etc. are each bound to single line-item element nodes in the document in sequence and that the value of the quantity child of the first line-item is 5.0."

Perhaps this is too far away from fn:deep-equal but it is defined

All the best, Ashok


-----Original Message-----
From: public-qt-comments-request@w3.org
[mailto:public-qt-comments-request@w3.org]On Behalf Of David Carlisle
Sent: Monday, July 26, 2004 3:09 AMdi
To: public-qt-comments@w3.org
Subject: [F&O] Section 15.3 deep equal examples






I think I've commented on every other draft that deep-equal is an
expensive and useless function to standardise. However this particular
version does at least appear to be self consistent (at last:-) so I
suppose that is something, however the examples still need
clarification,


15.3.1.1 Examples
fn:deep-equal($item1, $item2) returns false.

Since the definition of $item2 has been elided, there is nothing to say
that this has to be false, it could be that the first two items in the
sequence are deep-equal as defined here.


David


________________________________________________________________________
This e-mail has been scanned for all viruses by Star Internet. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

Received on Monday, 13 September 2004 16:46:34 UTC