String as document queries fail
Bug #866907 reported by
Paul J. Lucas
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zorba |
New
|
Medium
|
Matthias Brantner |
Bug Description
Queries that have a string as the document fail, e.g.:
"One two. Three four." contains text "one" ftand "three" different sentence
i.e., a simple string is to the left-hand-side of "contains text" rather than an XML document.
It fails because a string (being an atomic item) is tokenized into query (not document) tokens.
Normally, tokenizing a string as a query token is the right thing to do.
The code needs some way to distinguish a string being on the left-hand-side.
This bug affects the following XQFTTS tests:
different-
Changed in zorba: | |
milestone: | 2.8 → 2.9 |
Changed in zorba: | |
milestone: | 2.9 → 3.0 |
Changed in zorba: | |
milestone: | 3.0 → none |
To post a comment you must log in.
Markos -
Can you help with this? Per the description, I somehow need to know when a string is on the left-hand-side of a "contains text" and then synthesize a temporary document so the string is tokenized correctly as document tokens. Any ideas?
- Paul