The XSLT EBU-TT2EBU-TT-D calls only the first child of a tt:p element and then the child element applies templates to it's sibling. This works fine if the first child of the tt:p is a tt:span element (because the applied template follows this "sibling" strategy). But if the first child is for example tt:metadata this fails and no further content is processed. For a quick fix in the tt:metadata template the next sibling strategy needs to added. In the long run this sibling strategy needs to be factored out.
The XSLT EBU-TT2EBU-TT-D calls only the first child of a
tt:p
element and then the child element applies templates to it's sibling. This works fine if the first child of thett:p
is a tt:span element (because the applied template follows this "sibling" strategy). But if the first child is for examplett:metadata
this fails and no further content is processed. For a quick fix in thett:metadata
template the next sibling strategy needs to added. In the long run this sibling strategy needs to be factored out.