W3C home > Mailing lists > Public > public-qt-comments@w3.org > September 2006

[Bug 3686] fn-matches2args-1 fails static typechecking.

From: <bugzilla@wiggum.w3.org>
Date: Wed, 20 Sep 2006 20:45:46 +0000
CC:
To: public-qt-comments@w3.org
Message-Id: <E1GQ8x0-0005pM-0T@wiggum.w3.org>

http://www.w3.org/Bugs/Public/show_bug.cgi?id=3686


andrew.eisenberg@us.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|andrew.eisenberg@us.ibm.com |carmelo@nist.gov




------- Comment #9 from andrew.eisenberg@us.ibm.com  2006-09-20 20:45 -------
There is the larger question of the inferred static type of constructor
functions that has been brought to the WGs in 3717.

For the several test cases mention in this report, however, a simple fix is to
remove the xs:string constructor function.

The query:

   fn:matches(xs:string("This is a characte"),xs:string("This is a characte"))

can be rewritten as

   fn:matches("This is a characte","This is a characte")
Received on Wednesday, 20 September 2006 20:45:57 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:57:15 UTC