[Xpath-ng] List constructor syntax
David Carlisle
davidc at nag.co.uk
Tue Dec 3 08:40:43 MST 2002
Also, if we adopt the XPath 2.0 convention of using an empty list to
mean an unknown or invalid value,
I'm fairly sure that's a bad convention, one that the xpath2 drafts seem
to have been moving away from as far as possible.
Initially they tried to use () as an "unknown" value and give logical
operators three valued logic sematics using true() false() and ()
but using () as an exceptional value doesn't fit well with the fact that
it's a perfectly normal and expected return value for any path
expression, what used to be called an empty node set...
So later xpath2 drafts seem to be backing off the 3 valued logic idea.
David
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.
More information about the Xpath-ng
mailing list