← Back to team overview

zorba-coders team mailing list archive

[Bug 960083] Re: NaN comparison error has no location hint

 

There are a few places where this error is mentioned:

runtime/booleans/BooleanImpl.cpp lines 514, 678
store/naive/simple_index_general.cpp line 1060

The first two lines were modified by me, but those lines only check for
the error and return false, i.e., they're not points where the exception
is thrown.

The last line is a point where the exception is thrown with no error
location. That code was last touched by Markos. Hence, this bug should
be assigned to him.

** Changed in: zorba
     Assignee: Paul J. Lucas (paul-lucas) => Markos Zaharioudakis (markos-za)

-- 
You received this bug notification because you are a member of Zorba
Coders, which is the registrant for Zorba.
https://bugs.launchpad.net/bugs/960083

Title:
  NaN comparison error has no location hint

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The follwing code fails with a NaN comparison error:

  fn:number(<x/>) lt 100

  The resulting error message
  Zorba store error [zerr:ZSTR0041]: NaN comparison

  has no location information. It may be very hard for a user to find
  the cause of the error in his code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/zorba/+bug/960083/+subscriptions


References