- From: <bugzilla@farnsworth.w3.org>
- Date: Fri, 16 May 2008 16:03:31 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=5690
------- Comment #3 from nick@cbcl.co.uk 2008-05-16 16:03 -------
For most of the changes I'm seeking to make static-typing specific tests using
static=name="...", but for functx-functx-substring-before-match-* I'd like to
change the return type for the normal version, unless anyone objects. So
currently we have:
declare function functx:substring-before-match
( $arg as xs:string? ,
$regex as xs:string ) as xs:string {
tokenize($arg,$regex)[1]
} ;
The current function will return an empty sequence if $arg is empty, so really
should be defined as xs:string?
Received on Friday, 16 May 2008 16:04:09 UTC