- From: <bugzilla@wiggum.w3.org>
- Date: Fri, 10 Mar 2006 17:30:46 +0000
- To: public-qt-comments@w3.org
- CC:
http://www.w3.org/Bugs/Public/show_bug.cgi?id=2998
Summary: fs:eq for string arguments ill-defined
Product: XPath / XQuery / XSLT
Version: Candidate Recommendation
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Formal Semantics
AssignedTo: simeon@us.ibm.com
ReportedBy: jens.teubner@in.tum.de
QAContact: public-qt-comments@w3.org
The semantics for equality testing of strings (fs:eq(string,string)) appears to
be wrong
(http://www.w3.org/TR/2005/CR-xquery-semantics-20051103/#sec_operators):
fs:eq(A as xs:string, B as xs:string) --> op:numeric-equal(fn:compare(A, B),
1)
fn:compare(string,string), however, is supposed to return 0 (not 1) if both
arguments are equal.
fs:ne() has the analogous problem.
Received on Friday, 10 March 2006 17:30:54 UTC