- From: Kay, Michael <Michael.Kay@softwareag.com>
- Date: Tue, 24 Jun 2003 11:02:33 +0200
- To: dnovatchev@yahoo.com, public-qt-comments@w3.org
> DN-FO-06: 15.1.8 fn:empty
>
> This function is a synonym for:
>
> not($srcval[1])
>
Not quite: after {let $srcval := false()}, empty($srcval) is false but
not($srcval[1]) is true.
> and does not add any new functionality.
>
I agree that it does not add functionality and I would like to see it go.
For my part I am particularly swayed by the argument that people will
imagine that empty(e) tests to see whether element e is empty (i.e. has no
children).
Michael Kay
Received on Tuesday, 24 June 2003 05:02:40 UTC