fn-deep-equal/K2-SeqDeepEqualFunc-36
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
Fix Committed
|
High
|
Markos Zaharioudakis |
Bug Description
testcase: fn-deep-
deep-equal(validate type xs:integer {<e>2012</e>}, validate type xs:gYear{
It seems from the spec: http://
If $i1 and $i2 are both atomic values, they are deep-equal if and only if ($i1 eq $i2) is true, or if both values are NaN. If the eq operator is not defined for $i1 and $i2, the function returns false.
And here there is no eq defined between gYear and anything else:
http://
So the test is correct, imo.
But the code doesn't implement this.
I came to the following code: src/runtime/
case store::
case store::
{
return (0 == utf8::compare(
break;
}
tags: | added: fots |
Changed in zorba: | |
importance: | Undecided → High |
tags: | added: performance-problem |
Changed in zorba: | |
status: | New → Fix Committed |