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 explicit exceptions to ignoring element semantics with condition … #772

Merged
merged 5 commits into from
Jun 5, 2018
Merged
Changes from all commits
Commits
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
44 changes: 30 additions & 14 deletions spec/ttml2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1700,6 +1700,12 @@ active time interval of the feature.</p>
about which see also <specref ref="style-attribute-textOrientation"/>.</p>
</def>
</gitem>
<gitem id="terms-timed-element">
<label>[timed element]</label>
<def>
<p>Any element of a type that permits the specification of a <loc href="#timing-attribute-begin"><att>begin</att></loc> attribute.</p>
</def>
</gitem>
<gitem id="terms-timed-text">
<label>[timed text]</label>
<def>
Expand Down Expand Up @@ -6042,6 +6048,16 @@ attribute that evaluates to <code>false</code>, then the content of that element
<p>In certain cases, ignoring (excluding) the semantics of an element by means of a <att>condition</att> attribute consists
of partially rather than wholly ignoring the semantics of the element, about which see specific element definitions.</p>
</note>

<p>Unless a <loc href="#terms-higher-level-protocol">higher level protocol</loc> applies, the following exceptions apply for the
purpose of determining which semantics are to be ignored when a <loc href="#content-value-condition">&lt;condition&gt;</loc> expression
value evaluates to <code>false</code>:</p>
<ulist>
<item><p>the <loc href="#semantics-timing">timing semantics</loc> of a <loc href="#terms-timed-element">timed element</loc> are not ignored;</p></item>
<item><p>the <loc href="#semantics-style-association-chained-referential">chained referential semantics</loc> of a
<loc href="#styling-vocabulary-style"><el>style</el></loc> element are not ignored;</p></item>
</ulist>

</div3>
<div3 id="content-attribute-xlink-arcrole">
<head>xlink:arcrole</head>
Expand Down Expand Up @@ -6966,7 +6982,7 @@ by a fragment identifier used in a <loc href="#terms-data-binding-context">data
</note>
<p>When a <el>data</el> element appears in a <loc href="#terms-data-binding-context">data binding context</loc>, it
serves as a non-sharable definition of a data resource that implies binding semantics, i.e., that it is intended to bound to (associated with) its immediate context
of reference. In this case, the active time interval of the <el>data</el> element is the same as the active time interval of its closest ancestor timed element.
of reference. In this case, the active time interval of the <el>data</el> element is the same as the active time interval of its closest ancestor <loc href="#terms-timed-element">timed element</loc>.
</p>
<note role="elaboration">
<p>A non-sharable definition of a data resource may or may not specify an <loc href="#content-attribute-xml-id"><att>xml:id</att></loc> attribute, but this
Expand Down Expand Up @@ -17311,19 +17327,19 @@ vocabulary catalog.</p>
</div2> <!-- timing-element-vocabulary -->
<div2 id="timing-attribute-vocabulary">
<head>Timing Attribute Vocabulary</head>
<p>This section defines the following basic timing attributes for use with timed elements:</p>
<p>This section defines the following basic timing attributes for use with <loc href="#terms-timed-element">timed elements</loc>:</p>
<ulist>
<item><p><specref ref="timing-attribute-begin"/></p></item>
<item><p><specref ref="timing-attribute-dur"/></p></item>
<item><p><specref ref="timing-attribute-end"/></p></item>
</ulist>
<p>In addition, this section defines the <specref
ref="timing-attribute-timeContainer"/> attribute for use with timed elements
ref="timing-attribute-timeContainer"/> attribute for use with <loc href="#terms-timed-element">timed elements</loc>
that serve simultaneously as timing containers.</p>
<div3 id="timing-attribute-begin">
<head>begin</head>
<p>The <att>begin</att> attribute is used to specify the begin
point of a temporal interval associated with a timed element. If
point of a temporal interval associated with a <loc href="#terms-timed-element">timed element</loc>. If
specified, the value of a <att>begin</att> attribute must adhere to
a &lt;time-expression&gt; specification as defined by <specref
ref="timing-value-time-expression"/>.</p>
Expand All @@ -17334,15 +17350,15 @@ by <bibref ref="smil3"/>, &sect;5.4.3,
while taking into account any overriding semantics defined by this specification.</p>
<note role="clarification">
<p>As defined by <bibref ref="smil3"/>, &sect;5.4.3,
if no <att>begin</att> attribute is explicitly specified on a timed element, then a default (implicit) value
if no <att>begin</att> attribute is explicitly specified on a <loc href="#terms-timed-element">timed element</loc>, then a default (implicit) value
is determined by the nearest time container ancestor; however, in TTML, that ancestor is either
a parallel time container or a sequential time container, both of which apply a default value of <code>0</code>.</p>
</note>
</div3>
<div3 id="timing-attribute-dur">
<head>dur</head>
<p>The <att>dur</att> attribute is used to specify the duration of a
temporal interval associated with a timed element. If specified,
temporal interval associated with a <loc href="#terms-timed-element">timed element</loc>. If specified,
the value of a <att>dur</att> attribute must adhere to a
&lt;time-expression&gt; specification as defined by <specref
ref="timing-value-time-expression"/>.</p>
Expand Down Expand Up @@ -17371,7 +17387,7 @@ the <att>dur</att> attribute and the difference between the value of the
<div3 id="timing-attribute-end">
<head>end</head>
<p>The <att>end</att> attribute is used to specify the ending point
of a temporal interval associated with a timed element. If
of a temporal interval associated with a <loc href="#terms-timed-element">timed element</loc>. If
specified, the value of an <att>end</att> attribute must adhere to a
&lt;time-expression&gt; specification as defined by <specref
ref="timing-value-time-expression"/>.</p>
Expand Down Expand Up @@ -17582,7 +17598,7 @@ use of the <code>utc</code> clock mode, about which see <specref ref="parameter-
<div2 id="semantics-timing">
<head>Timing Semantics</head>
<p>The semantics of time containment, durations, and intervals defined by
<bibref ref="smil3"/> apply to the interpretation of like-named timed elements and timing
<bibref ref="smil3"/> apply to the interpretation of like-named <loc href="#terms-timed-element">timed elements</loc> and timing
vocabulary defined by this specification, given the following
constraints:</p>
<!--
Expand Down Expand Up @@ -23676,11 +23692,11 @@ M = referenceBegin + 3600 * hours + 60 * minutes + seconds + ((frames + (subFram
<sitem>
where <code>referenceBegin</code> is determined according to whether the nearest ancestor time container employs
parallel (<code>par</code>) or sequential (<code>seq</code>) semantics: if parallel or if sequential and no prior sibling
timed element exists, then <code>referenceBegin</code>
<loc href="#terms-timed-element">timed element</loc> exists, then <code>referenceBegin</code>
is the media time that corresponds to the beginning of the nearest ancestor time container or
zero (0) if this time container is the <loc href="#terms-root-temporal-extent">root temporal extent</loc>; otherwise, if sequential and a prior sibling
timed element exists, then <code>referenceBegin</code> is the media time that corresponds to the active end of the
immediately prior sibling timed element;
<loc href="#terms-timed-element">timed element</loc> exists, then <code>referenceBegin</code> is the media time that corresponds to the active end of the
immediately prior sibling <loc href="#terms-timed-element">timed element</loc>;
</sitem>
<sitem/>
<sitem>
Expand Down Expand Up @@ -23944,11 +23960,11 @@ must be considered to be invalid for purposes of validation assessment.
<sitem>
where <code>referenceBegin</code> is determined according to whether the nearest ancestor time container employs
parallel (<code>par</code>) or sequential (<code>seq</code>) semantics: if parallel or if sequential and no prior sibling
timed element exists, then <code>referenceBegin</code>
<loc href="#terms-timed-element">timed element</loc> exists, then <code>referenceBegin</code>
is the SMPTE time that corresponds to the beginning of the nearest ancestor time container or
zero (0) if this time container is the <loc href="#terms-root-temporal-extent">root temporal extent</loc>; otherwise, if sequential and a prior sibling
timed element exists, then <code>referenceBegin</code> is the SMPTE time that corresponds to the active end of the
immediately prior sibling timed element;
<loc href="#terms-timed-element">timed element</loc> exists, then <code>referenceBegin</code> is the SMPTE time that corresponds to the active end of the
immediately prior sibling <loc href="#terms-timed-element">timed element</loc>;
</sitem>
<sitem/>
</slist>
Expand Down