[Home] [By Thread] [By Date] [Recent Entries]

  • From: Peter Flynn <peter@s...>
  • To: xml-dev@l...
  • Date: Mon, 30 May 2022 22:58:13 +0100

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


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member