Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add section about mapping from TTML to the DAPT data model #216

Merged
merged 37 commits into from
Aug 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
671d153
wip commit
nigelmegitt Mar 14, 2024
00a9a93
More wip changes
nigelmegitt Mar 19, 2024
ed2d6f8
Add example unexpected attributes
nigelmegitt Mar 21, 2024
2f27533
More TTML to DAPT model considerations
nigelmegitt Mar 21, 2024
fd02219
Adjust processor requirement to ignore unrecognised attributes
nigelmegitt Mar 21, 2024
d9ef6d1
Move new section to after Constraints
nigelmegitt Apr 15, 2024
da9100d
WIP changes
nigelmegitt Apr 15, 2024
d8c4bd4
Handle unrecognised vocabulary better
nigelmegitt May 8, 2024
822d457
Improve section heading for Proprietary Metadata
nigelmegitt May 9, 2024
2957f06
Mark "Using computed attribute values" as informative
nigelmegitt May 9, 2024
f9a5a70
scriptEventMapping extension, address Respec changes
nigelmegitt May 20, 2024
f8c86e4
Address review feedback
nigelmegitt Jun 20, 2024
3e0538a
minor editorial wording tweak
nigelmegitt Jun 20, 2024
ce3f9fc
Add link to issue #233
nigelmegitt Jun 21, 2024
d3e35b9
Move note to §6.1
nigelmegitt Jun 21, 2024
89d2200
Allow for DAPT documents with other content profiles
nigelmegitt Jun 21, 2024
d8d8732
Warn not to put data in metadata if it depends on the document contents
nigelmegitt Jun 21, 2024
77a4424
Define Unrecognised vocabulary
nigelmegitt Jul 5, 2024
5c6db51
Address review feedback
nigelmegitt Jul 5, 2024
e54804e
Split SHOULD requirement for presentation processors to ignore elemen…
nigelmegitt Jul 5, 2024
a84b863
Rewrite first section of Mapping from TTML to the DAPT Data Model
nigelmegitt Jul 5, 2024
4040a57
Attempt to address feedback
nigelmegitt Jul 5, 2024
f06bfb2
Use xml:space as an example of non-DAPT data model attributes on div
nigelmegitt Jul 5, 2024
58e73c4
Make processorProfiles generic like contentProfiles
nigelmegitt Jul 5, 2024
f69d320
Change pruning/preservation rules to ref unrecognised vocabulary
nigelmegitt Jul 9, 2024
b690c7c
Address review feedback
nigelmegitt Jul 9, 2024
c68a08a
Address review feedback
nigelmegitt Jul 9, 2024
3ec281a
Presentation processors should ignore unrecognised vocabulary
nigelmegitt Jul 9, 2024
5c29509
Clarify sentence about namespace mutability.
nigelmegitt Jul 9, 2024
05cef73
Reword validation warnings section
nigelmegitt Jul 9, 2024
8a9053c
Improve sentence structure re TTML pruning
nigelmegitt Jul 9, 2024
6c1b4ab
Positively identify TTML to DAPT model mappings
nigelmegitt Jul 9, 2024
536bceb
Explicitly state that nested divs are allowed
nigelmegitt Jul 16, 2024
3eed76c
Clarify that a DAPT Document is a "timed text content document instance"
nigelmegitt Jul 22, 2024
ea9c642
Introduce the root `<tt>` element as a note
nigelmegitt Jul 22, 2024
2142861
Tidy the definitions of the TTML representation of DAPT Scripts
nigelmegitt Jul 22, 2024
1e6bd9b
Address review feedback
nigelmegitt Aug 29, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions examples/non-dapt-div-with-begin-and-lang.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<tt ... xml:lang="en">
<body>
<div xml:id="d1" begin="00:01:00" end="00:01:10">
<!-- Script Event beginning at 1 minute, duration 10 seconds -->
<p> <!-- This is a Text, language "en" --> </p>
</div>
<div begin="00:10:00" xml:lang="fr"> <!-- div that is not a Script Event -->
<div xml:id="d2" begin="00:01:00" end="00:01:10">
<!-- Script Event beginning at 11 minutes, duration 10 seconds -->
<p> <!-- This is a Text, language "fr" --> </p>
</div>
</div>
</body>
</tt>
22 changes: 22 additions & 0 deletions examples/non-dapt-divs.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<body>
<div xml:id="d1"> <!-- This is a Script Event -->
<p> <!-- This is a Text --> </p>
</div>
<div> <!-- This cannot be a Script Event because it has no xml:id -->
cconcolato marked this conversation as resolved.
Show resolved Hide resolved
<p> <!-- Would be a Text if its parent were a Script Event --> </p>
</div>
<div> <!-- div parent of another div -->
<div xml:id="d2"> <!-- Possibly a Script Event --></div>
</div>
<div> <!-- double layer of nesting -->
<div>
<div xml:id="d3" begin="..." end="..." xml:lang="ja" foo:bar="baz">
<!-- A Script Event with possibly unexpected attributes -->
</div>
</div>
</div>
<div xml:id="d4_1"> <!-- mixed div and p children -->
<div xml:id="d4_2"> <!-- This possible Script Event has a sibling <p> --> </div>
<p> <!-- Possible Text, but not if its parent is not a Script Event --> </p>
</div>
</body>
Loading
Loading