Closed nigelmegitt closed 2 months ago
The Timed Text Working Group just discussed Remove Script Event Type, use Represents instead w3c/dapt#241
, and agreed to the following:
SUMMARY: Reviewers to consider the PR and if necessary comment regarding the requirements, in the issue.
If verbosity was not a concern, we should say:
daptm:represents
attribute and maybe, that contains a single value daptm:represents
. In the meeting @nigelmegitt said that there could be values listed at the top level that are not listed in script events, e.g. after editing or to indicate that the document tried to represent that dimension but could not find any content. We could live with that. Alternatively, we could also specify that either:
daptm:represents
is not present on a Script Event, it inherits the first value of the daptm:represents
attribute on the document. It would behave like the default language.daptm:defaultRepresents
that is used to avoid the use of "first value".BTW, the property is mandatory on the DAPT script but it shall also be non-empty.
@cconcolato see also https://github.com/w3c/dapt/issues/227#issuecomment-2348776405
I'm happy to take the approach you're suggesting - it's one of the options I also considered:
daptm:represents
mandatory and non-empty and maybe single value on Script Events<content-descriptor>
registry. I would prefer to constrain it to 2 levels to minimise implementation complexity, i.e. to prevent the need to generate a tree, which would happen if we permitted a value to be a sub-type of another value that is also a sub-type of a 3rd one, and so forth.If verbosity is a concern, perhaps we could shorten the attribute name, e.g to repr
which is an abbreviation for "represents" or "representation" used in Python and Rust.
If verbosity is a concern, perhaps we could shorten the attribute name, e.g to repr which is an abbreviation for "represents" or "representation" used in Python and Rust.
The verbosity concern is not really about the length of the attribute name, but more about the repetition of the attribute in the case the document represents
contains a single value that matches all the values on all the script events. But that concern is probably outweighed by the clear identification of what div matches a script event.
This doesn't build properly because of https://github.com/speced/respec/issues/4806
@cconcolato I think all of your comments have now been resolved, please check.
Closes #227 by removing Script Event Type, reusing Represents instead.
eventType
and<content-descriptor>
(removing theeventType
registry)#represents-div
featurePreview | Diff