On 30/05/2022 20:24, Roger L Costello wrote:
> Hi Peter,
>
> If I understand correctly, you are saying that in the following XML
> document:
[...]
> one might want to insert additional markup around the quoted sentences.
> Something like this:
>
> <l>A’ was a merry man—took up the child:</l>
> <l><quote>“Yea,”</quote> quoth he, <quote>“dost thou fall upon thy
> face?</l>
> <l>Thou wilt fall backward when thou hast more wit;</l>
> <l>Wilt thou not, Jule?”</quote> and, by my holidame,</l>
> <l>The pretty wretch left crying and said <quote>“Ay.”</quote></l>
Yes.
> So the overlapping problem is this: Sometimes it's desirable to allow
> start-tag/end-tag pairs that are not properly nested.
>
> Is that right?
No. I don't see that that changing the current containment model would
be practicable.
https://www.balisage.net/Proceedings/topics/Concurrent_Markup~Overlap.html
has a long list of papers which examine various solutions.
Peter