From a8186ab7b78735a9de9d54890994aea134d698b7 Mon Sep 17 00:00:00 2001 From: Pierre Lemieux Date: Thu, 4 Feb 2016 10:52:37 -0800 Subject: [PATCH 1/2] Addresses issue #111 --- spec/ttml-ww-profiles.html | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/spec/ttml-ww-profiles.html b/spec/ttml-ww-profiles.html index ef09fe01..03502599 100644 --- a/spec/ttml-ww-profiles.html +++ b/spec/ttml-ww-profiles.html @@ -117,6 +117,10 @@

Terms and Definitions

Document Instance. See Section 2.2 at [[!TTML1]].

+

Document Interchange Context. See Section 2.2 at [[!TTML1]].

+ +

Document Processing Context. See Section 2.2 at [[!TTML1]].

+

Intermediate synchronic document. See Section 9.3.2 at [[!TTML1]].

Processor. Either a Presentation processor or a Transformation processor.

@@ -212,6 +216,39 @@

Image Profile

The Image Profile consists of Sections and .

+ + + +
+

Profile Resolution Semantics

+ + +

For the purpose of content processing, the determination of the resolved + profile SHOULD take into account both the signaled profile, as defined + in , and profile metadata, as designated by either (or both) + the Document Interchange Context or (and) the Document Processing + Context, which MAY entail inspecting document content.

+ +

If the resolved profile is a not a profile supported by the Processor + but is feasibly interoperable with the Text Profile, then the resolved + profile is the Text Profile; otherwise, if the resolved profile is a not + a profile supported by the Processor but is feasibly interoperable with + the Image Profile, then the resolved profile is the Image Profile.

+ + +

If the resolved profile is a profile supported by the Processor, then + the Processor SHOULD process the Document Instance according to the + resolved profile. If the resolved profile is neither Text Profile nor + Image Profile, processing is outside the scope of this specification.

+ + +

If the resolved profile is undetermined or not supported by the + Processor, then the Processor SHOULD nevertheless process the Document + Instance using one of its supported profiles, with a preference for the + Text Profile over the Image Profile; otherwise, processing MAY be + aborted.

+ +
From c67e42fe6c9c7baa334b246b0789e24a16af3b80 Mon Sep 17 00:00:00 2001 From: Pierre Lemieux Date: Sat, 6 Feb 2016 10:44:50 -0800 Subject: [PATCH 2/2] Addresses https://github.com/w3c/imsc/pull/154#discussion_r52008485 --- spec/ttml-ww-profiles.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/ttml-ww-profiles.html b/spec/ttml-ww-profiles.html index 03502599..bce2ac6c 100644 --- a/spec/ttml-ww-profiles.html +++ b/spec/ttml-ww-profiles.html @@ -229,9 +229,9 @@

Profile Resolution Semantics

the Document Interchange Context or (and) the Document Processing Context, which MAY entail inspecting document content.

-

If the resolved profile is a not a profile supported by the Processor +

If the resolved profile is not a profile supported by the Processor but is feasibly interoperable with the Text Profile, then the resolved - profile is the Text Profile; otherwise, if the resolved profile is a not + profile is the Text Profile; otherwise, if the resolved profile is not a profile supported by the Processor but is feasibly interoperable with the Image Profile, then the resolved profile is the Image Profile.