TBX: 0.7.8, XTZ import, <num> and <w> tags indexed even if they are located in an element declared in the 'out-of text-to-edit' plan
To reproduce the bug, take strasbBfm.xml from BFM repository, import via XTZ with teiHeader in out-of-text-to-edit and search for [word=“[0-9]+”].
- element should not be transformed into
- no element placed inside “out-of-text-to-edit” should be indexed
Currently to implement the “out-of-text-to-edit” plan, the compiler and the pager steps use the words (w elements) identified by the Tokenizer. So if an “out-of-text-to-edit” plan contains already word tags ( or ), these are indexed by the search engine.
Solution
The pager and compiler steps must use the “out-of-text-to-edit” plan import parameter instead of relying on the Tokenizer result.
(from redmine: issue id 2098, created on 2017/04/03 by Alexey Lavrentev)
- Relations:
- relates #2220 (closed)