PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT
ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW
AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE
DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL
BE LOST SOMEWHERE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3276

*** shadow/3276 Sun Aug 26 19:39:15 2001
--- shadow/3276.tmp.6043        Wed Aug 29 13:21:52 2001
***************
*** 2,9 ****
  | Xpath search containing ">" or "<" (greater or less than) relationships al |
  +----------------------------------------------------------------------------+
  |        Bug #: 3276                        Product: XalanJ2                 |
! |       Status: NEW                         Version: 2.2.x                   |
! |   Resolution:                            Platform: PC                      |
  |     Severity: Blocker                  OS/Version: Other                   |
  |     Priority: Other                     Component: org.apache.xpath        |
  +----------------------------------------------------------------------------+
--- 2,9 ----
  | Xpath search containing ">" or "<" (greater or less than) relationships al |
  +----------------------------------------------------------------------------+
  |        Bug #: 3276                        Product: XalanJ2                 |
! |       Status: RESOLVED                    Version: 2.2.x                   |
! |   Resolution: INVALID                    Platform: PC                      |
  |     Severity: Blocker                  OS/Version: Other                   |
  |     Priority: Other                     Component: org.apache.xpath        |
  +----------------------------------------------------------------------------+
***************
*** 142,144 ****
--- 142,154 ----
  ------- Additional Comments From [EMAIL PROTECTED]  2001-08-26 19:39 -------
  Created an attachment (id=460)
  XML example to use with DOS batch file
+ 
+ 
+ ------- Additional Comments From [EMAIL PROTECTED]  2001-08-29 13:21 -------
+ Actually I don't think this is a bug. I believe 2.1 was wrong. The XPath spec 
+ (section 3.4) says that "When neither object to be compared is a node-set and 
+ the operator is <=, <, >= or >, then the objects are compared by converting 
+ both objects to numbers and comparing the numbers according to IEEE 754". So 
+ when we convert 2001.10.01 to a number, it is converted to a Double.NAN. That's 
+ why the < and the > never match on anything. Note that the "=" operator works 
+ differently! 

Reply via email to