Project

Profile

Help

Bug #1657

closed

Incorrect optimization for count(X) eq NaN

Added by Michael Kay over 11 years ago. Updated about 11 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
XPath conformance
Sprint/Milestone:
-
Start date:
2012-12-07
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
Fix Committed on Branch:
Fixed in Maintenance Release:
Platforms:

Description

Given the expression count(X) = N, where N is an expression that can be statically evaluated and that evaluates to NaN, Saxon optimizes the expression incorrectly such that on evaluation, it returns true.

A patch is being placed in Subversion.

Found in QT3 test case cbcl-count-192.

Please register to edit this issue

Also available in: Atom PDF