Closed skynavga closed 4 years ago
@nigelmegitt see https://github.com/w3c/ttml2/pull/1162/commits/e716bcb60f070c70dbf0858b26c93d71c4ed7984. It is not necessary to add any informative text re-stating the XML specification that an IDREF must reference a specified ID, and that, as a consequence, the elements referenced by @region
and @animate
must indeed specify xml:id
. Note that the same can be said of @style
.
Need to remove remnants that refer to removed requirement for xml:id
in definitions of out-of-line region (animation) terms.
@skynavga To summarize, the requirement for @xml:id
to be present on out-of-line region is simply removed, right?
Correct
On Wed, Sep 25, 2019 at 12:54 PM Pierre-Anthony Lemieux < notifications@github.com> wrote:
@skynavga https://github.com/skynavga To summarize, the requirement for @xml:id to be present on out-of-line region is simply removed, right?
— You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/w3c/ttml2/pull/1162?email_source=notifications&email_token=AAC4E37IXSXPLCLS3AGUJILQLLVI5A5CNFSM4IZBEHQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7QS56Y#issuecomment-534851323, or mute the thread https://github.com/notifications/unsubscribe-auth/AAC4E33UYU4QTNMMM7FS77DQLLVI5ANCNFSM4IZBEHQA .
This would result the same (strange) behavior in TTML1 and TTML2 that if layout
contains any region
(with or without xml:id
they are considered as out-of-line regions), then content does not use a region
attribute will not be rendered because no default region would be created. Am I correct?
@cconcolato correct; I agree it is strange, but that is the current TTML1 behavior, and it is best that TTML2 be consistent with TTML1
@cconcolato giving this some more thought, we could add a new rule to the [associate region] procedure just after the current rule 3 and before the current rule 4 that states:
if a single, unidentified, i.e., lacking an
xml:id
attribute, out-of-line region is present, then the element is associated with that region;
this (or its equivalent) could also be back-ported to TTML1 4e.
@skynavga then what to do if there is more than one unidentified region
element child of layout
?
I'm not sure that specifying an anonymous default region like that is something that anyone has asked for - it does not seem like a bad idea per se, I'm just aware that we should be resistant to adding features without any documented requirement or use case.
@nigelmegitt we can conclude this thread at the upcoming call; i'm happy to proceed with the current PR as is, which is consistent with TTML1 as far as I know;
I do not see a clear use case for the scenario at https://github.com/w3c/ttml2/pull/1162#issuecomment-536098929 , so the resulting, perhaps weird, behavior is not fatal. As indicated in https://github.com/w3c/ttml2/pull/1162#issuecomment-536126863 , we should strive to keep alignment with TTML1. I therefore like the idea of proceeding with the PR as-is.
The Timed Text Working Group just discussed Remove constraint on presence of xml:id (#989). ttml2#1162
, and agreed to the following:
RESOLUTION: Proceed with this PR as is and add associated tests.
Tests at w3c/ttml2-tests#234.
Closes #989.