Donate Share

Saxon XSLT and XQuery Processor

Tracker: Bugs

5 string-length()=0 fails - ID: 573314
Last Update: Comment added ( mhkay )

Saxon optimizes the expression string-length(X)=0, and
others similar, to not(string(X)). This optimization is
incorrect in 7.1, because XPath 2.0 treats the strings "0"
and "false" as false.

Affects 7.1 only. Source code corrected, test case
added.


Michael Kay ( mhkay ) - 2002-06-24 20:59

5

Closed

Fixed

Michael Kay

XPath conformance

v7.1

Public


Comment ( 1 )

Date: 2002-08-28 13:14
Sender: mhkayProject Admin

Logged In: YES
user_id=251681

Fixed in 7.2


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2002-08-28 13:14 mhkay
resolution_id None 2002-08-28 13:14 mhkay
close_date - 2002-08-28 13:14 mhkay