Skip to content

Commit

Permalink
Merge pull request #1131 from w3c/issue-1003-base64-lwsp
Browse files Browse the repository at this point in the history
Ignore linear whitespace in data and chunk element #PCDATA (#1003).
  • Loading branch information
skynavga authored Aug 2, 2019
2 parents 5d09f97 + ec33b04 commit 2c74097
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions spec/ttml2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2113,7 +2113,7 @@ are also explicitly called out in specification text.</p>
fragment, using the Kleene operators <code>?</code>, <code>*</code>
and <code>+</code>. Each element name therein is a hyperlink to its
own illustration.</p>
<p>The term linear white-space (LWSP) is to be interpreted as a non-empty sequence of
<p>The term linear whitespace (LWSP) is to be interpreted as a non-empty sequence of
SPACE (U+0020), TAB (U+0009), CARRIAGE RETURN (U+000D), or LINE FEED (U+000A),
which corresponds to production [3] <code>S</code> as defined by <bibref ref="xml10"/>.</p>
<p>The following conventions are used in the specification of value syntax expressions:</p>
Expand Down Expand Up @@ -7284,6 +7284,8 @@ If no <code>clipEnd</code> attribute is specified, then a value equal to the int
</table>
<p>If an <loc href="#embedded-content-attribute-encoding"><att>encoding</att></loc> attribute is specified, then it must denote the actual encoding of the byte sequence represented by the
<el>chunk</el> element. If no <loc href="#embedded-content-attribute-encoding"><att>encoding</att></loc> attribute is specified, then the encoding must be considered to be <code>base64</code>.</p>
<p>Any linear whitespace (<loc href="#style-value-lwsp">&lt;lwsp&gt;</loc>)
character present in the <code>#PCDATA</code> content of this element must be ignored when performing decoding processing.</p>
<p>If a <att>length</att> attribute is specified, then it must denote the number of decoded bytes in the byte sequence represented by the
<el>chunk</el> element. When decoding, if a specified length value does not match the number of decoded bytes, then the chunk and its container <el>data</el>
element must return a zero length byte sequence.
Expand Down Expand Up @@ -7396,6 +7398,8 @@ may be specified, and, if not specified, must be considered to be <code>base64</
If <loc href="#terms-reference-data-embedding">reference data embedding</loc>, <loc href="#terms-chunked-data-embedding">chunked data embedding</loc>, or <loc href="#terms-sourced-data-embedding">sourced data embedding</loc> is used, then
an <loc href="#embedded-content-attribute-encoding"><att>encoding</att></loc> attribute must not be specified, and, if specified, must be ignored
for the purpose of content processing.</p>
<p>Furthermore, if simple data embedding is used, then any linear whitespace (<loc href="#style-value-lwsp">&lt;lwsp&gt;</loc>)
character present in the <code>#PCDATA</code> content of this element must be ignored when performing decoding processing.</p>
<p>If a <att>length</att> attribute is specified, then it must denote the number of decoded bytes in the byte sequence represented by the
<el>data</el> element. When decoding, if a specified length value does not match the number of decoded bytes, then a zero length byte sequence must be returned.
If no <att>length</att> attribute is specified, then the data resource is considered to have a length equal to the actual number of decoded bytes.
Expand Down Expand Up @@ -19060,7 +19064,7 @@ requirements that apply to the attribute targeted by the animation.</p>
<head>&lt;key-splines&gt;</head>
<p>A &lt;key-splines&gt; expression is used to specify a list of Bezier control points that control the pacing of an
animation, wherein each pair of values is separated by a SEMICOLON (U+003B) character
optionally surrounded by linear white-space (LWSP) characters.</p>
optionally surrounded by linear whitespace (LWSP) characters.</p>
<table id="key-splines-syntax" role="syntax">
<caption>Syntax Representation &ndash; &lt;key-splines&gt;</caption>
<tbody>
Expand Down Expand Up @@ -19095,7 +19099,7 @@ whole, fraction
<head>&lt;key-times&gt;</head>
<p>An &lt;key-times&gt; expression is used to specify a list of relative time values that control the pacing of an
animation, wherein each pair of values is separated by a SEMICOLON (U+003B) character
optionally surrounded by linear white-space (LWSP) characters.</p>
optionally surrounded by linear whitespace (LWSP) characters.</p>
<table id="key-times-syntax" role="syntax">
<caption>Syntax Representation &ndash; &lt;key-times&gt;</caption>
<tbody>
Expand Down

0 comments on commit 2c74097

Please sign in to comment.