- From: <bugzilla@farnsworth.w3.org>
- Date: Fri, 16 May 2008 16:33:38 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5690
------- Comment #4 from nick@cbcl.co.uk 2008-05-16 16:33 -------
Similarly for functx-functx-max-line-length-* the function:
declare function functx:max-line-length
( $arg as xs:string? ) as xs:integer {
max(
for $line in functx:lines($arg)
return string-length($line))
} ;
May return at empty-sequence if $arg is an empty sequence, so I think should
have return type xs:integer? in the normal version rather than a static-typing
specific version.
Received on Friday, 16 May 2008 16:34:42 UTC