[ttml2] add 'prohibited' value to @ttp:validation, making @ttp:validationAction default 'ignore' (issue 325)
authorGlenn Adams <glenn@skynav.com>
Mon, 15 Sep 2014 19:59:33 +0200
changeset 701 d9787c754880
parent 700 35a26d7b2d4c
child 702 12efe9a8eaf7
[ttml2] add 'prohibited' value to @ttp:validation, making @ttp:validationAction default 'ignore' (issue 325)
ttml2/spec/ttml2-changes.html
ttml2/spec/ttml2.xml
--- a/ttml2/spec/ttml2-changes.html	Sun Sep 14 16:12:28 2014 +0200
+++ b/ttml2/spec/ttml2-changes.html	Mon Sep 15 19:59:33 2014 +0200
@@ -103,6 +103,10 @@
 
 * In 6.2, add 'ttp:processorProfileCombination' parameter attribute.
 
+* In 6.2, add 'ttp:validation parameter attribute.
+
+* In 6.2, add 'ttp:validationAction parameter attribute.
+
 * In 6.2, add 'ttp:version' parameter attribute.
 
 * In 6.2.7, deprecate 'ttp:markerMode' parameter attribute, requiring it be
--- a/ttml2/spec/ttml2.xml	Sun Sep 14 16:12:28 2014 +0200
+++ b/ttml2/spec/ttml2.xml	Mon Sep 15 19:59:33 2014 +0200
@@ -2988,7 +2988,7 @@
 is, from either (or both) a syntactic or (and) semantic perspective, a proper superset of the
 feature or extension referenced by the <att>extends</att> attribute.
 The <att>restricts</att> attribute may be used to indicate that the extension being defined
-is, from either (or both) a syntacitc or (and) semantic perspective, a proper subset of the
+is, from either (or both) a syntactic or (and) semantic perspective, a proper subset of the
 feature or extension referenced by the <att>restricts</att> attribute.
 If an <att>extends</att> attribute is specified, then a <att>restricts</att> attribute must
 not be specified on a <el>ttp:extension</el> element; likewise, if a <att>restricts</att> attribute
@@ -3004,7 +3004,7 @@
 element must further adhere to the syntax of an extension designation as
 defined by <specref ref="extension-designations"/>,
 while the URI expressed by the <att>extends</att> attribute and/or the
-<att>restricts</att> attribute must ahdere to the syntax of a feature designation
+<att>restricts</att> attribute must adhere to the syntax of a feature designation
 or an extension designation as defined by <specref ref="feature-designations"/> or
 <specref ref="extension-designations"/>, respectively.</p>
 <p>If the URI expressed by the content of the <el>ttp:extension</el> element,
@@ -4193,19 +4193,23 @@
 <td>
 <eg xml:space="preserve">
 ttp:validation
-  : "optional"
-  | "required"
-</eg>
-</td>
-</tr>
-</tbody>
-</table>
+  : "required"
+  | "optional"
+  | "prohibited"
+</eg>
+</td>
+</tr>
+</tbody>
+</table>
+<p>If this parameter's value is <code>required</code>, then, a <loc href="#terms-validating-content-processor">validating content processor</loc>
+must perform validation processing on a TTML <loc href="#terms-document-instance">document instance</loc> prior to performing
+other types of processing, e.g., presentation or transformation processing.</p>
 <p>If this parameter's value is <code>optional</code>, then, a <loc href="#terms-validating-content-processor">validating content processor</loc>
 may, but need not, perform validation processing on a TTML <loc href="#terms-document-instance">document instance</loc> prior to performing
 other types of processing, e.g., presentation or transformation processing.</p>
-<p>If this parameter's value is <code>required</code>, then, a <loc href="#terms-validating-content-processor">validating content processor</loc>
-must perform validation processing on a TTML <loc href="#terms-document-instance">document instance</loc> prior to performing
-other types of processing, e.g., presentation or transformation processing.</p>
+<p>If this parameter's value is <code>prohibited</code>, then, a <loc href="#terms-validating-content-processor">validating content processor</loc>
+must not perform validation processing on a TTML <loc href="#terms-document-instance">document instance</loc> prior to performing
+other types of processing, e.g., presentation or transformation processing, unless the end-user or application overrides this prohibition.</p>
 <p>If validation processing is performed on a TTML <loc href="#terms-document-instance">document instance</loc> and validation fails, then the computed value of
 the <att>ttp:validationAction</att> parameter property is used to determine what action to take before performing further processing.</p>
 <p>If not specified, the value of this parameter must be considered
@@ -4213,7 +4217,6 @@
 <p>A <att>ttp:validation</att> attribute is considered to be significant only
 when specified on the <el>tt</el> element.</p>
 </div3>
-
 <div3 id="parameter-attribute-validationAction">
 <head>ttp:validationAction</head>
 <p>The <att>ttp:validationAction</att> attribute is used to specify what action is to be taken
@@ -4242,12 +4245,15 @@
 <p>If this parameter's value is <code>ignore</code>, then, a <loc href="#terms-validating-content-processor">validating content processor</loc>
 should not abort and should not warn the end-user when validation processing fails.</p>
 <p>If not specified, the value of this parameter is determined as follows:
-if the computed value of the <loc href="#parameter-attribute-validation"><att>ttp:validation</att></loc> parameter property is <code>optional</code>,
-then the value must be considered to be <code>warn</code>; otherwise, it must be considered to be <code>abort</code>.</p>
+if the computed value of the <loc href="#parameter-attribute-validation"><att>ttp:validation</att></loc> parameter property is <code>required</code>,
+then the value must be considered to be <code>abort</code>;
+if it is <code>optional</code>,
+then the value must be considered to be <code>warn</code>;
+otherwise, if it is <code>prohibited</code>,
+then the value must be considered to be <code>ignore</code>.</p>
 <p>A <att>ttp:validationAction</att> attribute is considered to be significant only
 when specified on the <el>tt</el> element.</p>
 </div3>
-
 <div3 id="parameter-attribute-version">
 <head>ttp:version</head>
 <p>The <att>ttp:version</att> attribute is used to specify which version of the