faustedition / faust-gen-html

Pipelines to generate HTML for the Faust edition's reading texts and prints.
1 stars 4 forks source link

Extra content in subst #467

Closed thvitt closed 6 years ago

thvitt commented 6 years ago

Consequence of #366 probably

INFO : target/xproc/print2html.xpl:45:23:ERROR: extra content in subst: <subst xmlns="http://www.tei-c.org/ns/1.0"
       xmlns:f="http://www.faustedition.net/ns"
       hand="G">
   <del>
      <speaker>Schatzmeister</speaker>
   </del>
   <wit f:is-base="true" wit="faust://document/faustedition/2_H">H</wit>
   <add>
      <speaker>Marschalck</speaker>
   </add>
</subst>
thvitt commented 6 years ago

No, isn’t my bug, it’s hard-coded in app12norm_special-cases.xml

gerritbruening commented 6 years ago

Feel free to amend it if this is easier than instructing me what is wrong here.

thvitt commented 6 years ago

<subst> must not have <wit> as a child, only one add and one del are allowed.