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

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