Donate Share

Saxon XSLT and XQuery Processor

Tracker: Bugs

5 Operands of "is" are miscompiled - ID: 810644
Last Update: Comment added ( mhkay )

The static type analysis and other compile-time checks
are not performed on the operands of the "is" operator.
This can have fairly unpredictable effects. In the case
encountered, it caused a call on the key() function to
fail with a NullPointerException.

Reported by James Cummings.

Source fix: add
operands[0] = operands[0].analyze(env);
operands[1] = operands[1].analyze(env);
to start of analyze() method in
net.sf.saxon.expr.IdentityComparison.


Michael Kay ( mhkay ) - 2003-09-22 14:54

5

Closed

Fixed

Michael Kay

XPath conformance

v7.6.5

Public


Comment ( 1 )

Date: 2003-10-06 16:02
Sender: mhkayProject Admin

Logged In: YES
user_id=251681

Fixed in 7.7


Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
resolution_id None 2003-10-06 16:02 mhkay
close_date - 2003-10-06 16:02 mhkay
status_id Open 2003-10-06 16:02 mhkay