Sentence is incorrectly incremented when token characters end without sentence terminator

Bug #863320 reported by Paul J. Lucas
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zorba
Fix Released
Low
Paul J. Lucas

Bug Description

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.

Tags: full-text

Related branches

Changed in zorba:
importance: Undecided → Low
assignee: nobody → Paul J. Lucas (paul-lucas)
Changed in zorba:
status: New → Fix Committed
status: Fix Committed → Fix Released
Changed in zorba:
status: Fix Released → Fix Committed
milestone: none → 2.1
Changed in zorba:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.