Ticket #203 (closed defect: fixed)
Square brackets: containing well-formed fragments
| Reported by: | gbodard | Owned by: | jsosin |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | ddb xml | Version: | |
| Keywords: | optimization square brackets | Cc: | jcowey |
Description (last modified by jcowey) (diff)
See for example p.berl.leihg.2.42B line 2: <expan>[ὁμ<ex>οίως</ex>]</expan>
The XML between the [ and ] is well-formed, and so the square brackets can be converted to <supplied reason="lost">...</supplied> without any further fixing in advance. (These fragments generally survive because there is another problem with square brackets in the same file.)
In the case of <expan>[...]</expan> in particular, when there is nothing before the first square bracket nor after the second one, then the <supplied> element should ideally appear *outside* the <expan>, as follows:
<supplied reason="lost"><expan>ὁμ<ex>οίως</ex></expan></supplied>
