TBX: 0.8.3, XTZ import, "out-of text-to-edit" elements tokenised and indexed if an OTTO elements contains sub-elements
If one declares two out-of-text-to-edit elements that may be nested in the document, tokenisation and indexing resume after the nested element inside the out-of-text-to-edit ancestor.
This happens with identical (note // note) or different (teiHeader // note) elements or if an OTTO element contains any other element (head // sic or head //hi).
The reason probably is that tokenization resumes at any end tag of OTTO element.
Update 2024-09-24 Possible partial solution: check that the end tag element is the same as the tag that opened the OTTO span. Will work for most cases except nested OTTO elements.
(from redmine: issue id 2220, created on 2017/06/16 by Alexey Lavrentev)
Validation test
- Import test.xml and L0001.xml with XTZ import module
- SET front,back,head as OUTSIDE TEXT TO EDIT
- Run the import and check the words of front and back are not indexed AND visible in the edition
Edited by Matthieu Decorde