W3C home > Mailing lists > Public > public-qt-comments@w3.org > November 2003

[F&O] string-length

From: Alberto Massari <amassari@progress.com>
Date: Mon, 17 Nov 2003 16:27:14 +0100
To: public-qt-comments@w3.org
Message-id: <>

The signature for string-length is

   fn:string-length($arg as xs:string) as xs:integer

but the description says:

"If the value of $arg is the empty sequence, the xs:integer 0 is returned".

It seems to me that the signature should be changed to be

   fn:string-length($arg as xs:string?) as xs:integer

so that an empty sequence can be recognized as a valid argument

Received on Monday, 17 November 2003 10:27:23 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:14:28 GMT