← Back to team overview

zorba-coders team mailing list archive

[Bug 924063] [NEW] Sentence is incorrectly incremented when token characters end without sentence terminator, take 2

 

Public bug reported:

The original bug (bug #863320) was fixed, but then it caused other tests
to fail (bug #897800), so the fix was reverted so the release could be
done. This new bug is to fix the original bug without causing any other
tests to fail.

The original bug was:

The following query:

let $x := <msg>hello world</msg>
return $x contains text "hello" ftand "world" same sentence

incorrectly returns "false" because tokenizer incorrectly increments the
sentence number when there are no more characters without encountering a
sentence terminating character.

** Affects: zorba
     Importance: Medium
     Assignee: Paul J. Lucas (paul-lucas)
         Status: New


** Tags: full-text

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

Title:
  Sentence is incorrectly incremented when token characters end without
  sentence terminator, take 2

Status in Zorba - The XQuery Processor:
  New

Bug description:
  The original bug (bug #863320) was fixed, but then it caused other
  tests to fail (bug #897800), so the fix was reverted so the release
  could be done. This new bug is to fix the original bug without causing
  any other tests to fail.

  The original bug was:

  The following query:

  let $x := <msg>hello world</msg>
  return $x contains text "hello" ftand "world" same sentence

  incorrectly returns "false" because tokenizer incorrectly increments
  the sentence number when there are no more characters without
  encountering a sentence terminating character.

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


Follow ups

References