The test 
zorba_data-cleaning_module/data-cleaning/conversion/geocode-from-address.xq
was failing at a point in time because the result returned was not
38.725735 -9.15021
but instead it had more decimals at the end, something like:
38.7257354 -9.150210

This bug was added such that the test is updated to prevent such situations 
from appearing in the future.
One suggestion for this test is to cast the results to xs:integer such that 
only the non-decimal part is checked.
What do you think?

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

Title:
  geocode-from-address results change

Status in Zorba - The XQuery Processor:
  New

Bug description:
  Test case zorba_data-cleaning_module/data-cleaning/conversion/geocode-
  from-address.xq - the results have changed; apparently the geocode for
  Lisbon is a few feet away from where it was. I've marked this as an
  expected failure. Changing the expected results is easy enough, but
  I'd like a little idea of how likely changes like this are in the
  future - is there any way to change the test to make it more stable?

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

-- 
Mailing list: https://launchpad.net/~zorba-coders
Post to     : zorba-coders@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zorba-coders
More help   : https://help.launchpad.net/ListHelp

Reply via email to