ubermichael / isetools

Tools for parsing data for the Internet Shakespeare Editions
GNU General Public License v2.0
2 stars 3 forks source link

marg handled incorrectly in XMLWriter #37

Closed telic closed 6 years ago

telic commented 8 years ago

This affects Malcolm's code, which I'm not sure whether it has been merged yet.

See doc_Lr_Q1, near QLN 412 for an example where MARG is not getting serialized correctly. That line should result in markup something like this:

<l>
  <s k="123"></s>
  <marg>
    <l><sd t="entrance"><i>er Edgar</i></sd></l>
  </marg>
  <s k="123"><i>Edgar</i>; and out hee comes ...</s>
</l>

but instead we're getting

<l>
  <s k="123"></s>
  <marg/>
  <sd t="entrance"><i>er Edgar</i></sd>
  <i>Edgar</i>; and out hee comes ...
</l>
telic commented 6 years ago

Malcolm has since fixed this issue.