Re: XPath/XQuery/Data Model : Data Model Inconsistency?

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

/ Svgdeveloper@aol.com was heard to say:
| In XPath Chapter 2 it is stated, "Each node has a unique node identity."
|
| In Data Model Chapter 6 it is stated, "A sequence has no identity".
|
| In XPath Chapter 2 it is stated, "An item is identical to a singleton 
| sequence containing that item."
|
| However, if the item in a singleton sequence is a node then it seems that the 
| sequence with a single node has no identity. However if the node exists "on 
| its own", as it were, it does have identity. ... If you see what I mean. :)
|
| Is there an inconsistency? Or have I missed a caveat somewhere?
|
| Perhaps the seeming problem can be solved by adding some judicious qualifying 
| phrase in an appropriate place?

Reworded:

"Equality comparison of sequences is performed by comparing the
items of the sequences. Whereas you can compare the identity of two nodes,
you cannot compare the identity of two sequences; you can only determine
whether or not they contain the same members."

                                        Be seeing you,
                                          norm

- -- 
Norman.Walsh@Sun.COM / XML Standards Architect / Sun Microsystems, Inc.
NOTICE: This email message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQE/sj+4OyltUcwYWjsRAsaRAJ0TcpVhoikJcnTh5SOur99+5gQj1ACePvbF
aUoieKC1IF48F+7ySmQPi9I=
=Ei3x
-----END PGP SIGNATURE-----

Received on Thursday, 13 November 2003 20:16:48 UTC