You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note gotcha: EBUTTDDocument.create_from_xml has a nasty hack workaround that tweaks the name of the document element to ttd instead of tt. Found during testing, a bug in ebu_tt_live/documents/ebuttd.py - it doesn't check for the presence of the prefix, so only works when the default namespace is the TTML namespace and no prefix is used on the tt element, i.e. fails for tt:tt
Note gotcha:
EBUTTDDocument.create_from_xml
has a nasty hack workaround that tweaks the name of the document element tottd
instead oftt
. Found during testing, a bug inebu_tt_live/documents/ebuttd.py
- it doesn't check for the presence of the prefix, so only works when the default namespace is the TTML namespace and no prefix is used on thett
element, i.e. fails fortt:tt
Fix is:
In other words, test for the prefix.
The text was updated successfully, but these errors were encountered: