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
XPath conformance
v7.6.5
Public
|
Date: 2003-10-06 16:02 Logged In: YES |
| 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 |
Copyright © 2010 Geeknet, Inc. All rights reserved. Terms of Use