proycon/foliapy

foliavalidator looses some t-ref attributes

kosloot opened this issue · 1 comments

When running the foliavalidator on : examples/note-reference.2.1.0.folia.xml some information in the <t ref is lost, see these fragments:
IN

      <p xml:id="example.p.2">
        <s xml:id="example.p.1.s.2">
          <t>We demonstrated this earlier.<t-ref id="example.note.1" type="note" /></t>
        </s>
      </p>

OUT:

    <p xml:id="example.p.2">
      <s xml:id="example.p.1.s.2">
        <t>We demonstrated this earlier.<t-ref type="note"/></t>
      </s>
    </p>

Ok, this is bad indeed. Needs to be fixed soonish.