Skip to content

Commit

Permalink
Add #originalLang-root extension and require it
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelmegitt committed Aug 3, 2023
1 parent 8f632fd commit cd34f86
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
21 changes: 20 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ <h4>Original Language</h4>
</p>
<p>The <a>Original Language</a> is represented in a <a>DAPT Document</a> by the following structure and constraints:
<ul>
<li>the <code>daptm:originalLang</code> attribute MUST be present on the <code>&lt;tt&gt;</code> element
<li>the <dfn><code>daptm:originalLang</code></dfn> attribute MUST be present on the <code>&lt;tt&gt;</code> element
and its value MUST NOT be empty.</li>
<li>the value of the attribute MUST be a language identifier as defined by [[BCP47]].</li>
</ul>
Expand Down Expand Up @@ -2431,6 +2431,14 @@ <h4>Disposition of Features and Extensions</h4>
This is the profile expression of <a href="#on-screen"></a>.
</td>
</tr>

<tr>
<td><a href="#originallang-root"><code>#originallLang-root</code></a></td>
<td><span class="required label">required</span></td>
<td>
This is the profile expression of <a href="#original-language"></a>.
</td>
</tr>
<tr>
<td><a href="#profile-root"><code>#profile-root</code></a></td>
<td><span class="prohibited label">prohibited</span></td>
Expand Down Expand Up @@ -2591,6 +2599,17 @@ <h3>#onScreen</h3>
<a><code>daptm:onScreen</code></a> attribute on the <code>&lt;div&gt;</code> element.</p>
</section>

<section>
<h3>#originalLang-root</h3>
<p>A <a>transformation processor</a> supports the <code>#originalLang-root</code> extension if
it recognizes and is capable of transforming values of the
<a><code>daptm:originalLang</code></a> attribute on the <code>&lt;tt&gt;</code> element.</p>

<p>A <a>presentation processor</a> supports the <code>#originalLang-root</code> extension if
it implements presentation semantic support of the
<a><code>daptm:originalLang</code></a> attribute on the <code>&lt;tt&gt;</code> element.</p>
</section>

<section>
<h3>#profile-root</h3>
<p>A <a>transformation processor</a> supports the <code>#profile-root</code> extension if
Expand Down
1 change: 1 addition & 0 deletions profiles/dapt-content-profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@
<extensions xml:base="http://www.w3.org/ns/ttml/profile/dapt/extension/">
<!-- required (mandatory) extension support -->
<extension value="required">#contentProfiles-root</extension>
<extension value="required">#originallLang-root</extension>
<extension value="required">#scriptType-root</extension>
<extension value="required">#serialization</extension>
<extension value="required">#textLanguageSource</extension>
Expand Down
1 change: 1 addition & 0 deletions profiles/dapt-processor-profile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
<extension value="required">#agent</extension>
<extension value="required">#contentProfiles-root</extension>
<extension value="required">#onScreen</extension>
<extension value="required">#originallLang-root</extension>
<extension value="required">#scriptType-root</extension>
<extension value="required">#serialization</extension>
<extension value="required">#textLanguageSource</extension>
Expand Down

0 comments on commit cd34f86

Please sign in to comment.