From 8afa3f1bcc8ce9e6d1a6bfcebb5de848d1dea230 Mon Sep 17 00:00:00 2001 From: Glenn Adams Date: Fri, 4 Oct 2019 10:04:21 +0800 Subject: [PATCH 1/2] Clarify escape in literal convention (#987). --- spec/ttml2.xml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/spec/ttml2.xml b/spec/ttml2.xml index 19469f777..d0fb114c3 100644 --- a/spec/ttml2.xml +++ b/spec/ttml2.xml @@ -2185,8 +2185,12 @@ SPACE (U+0020), TAB (U+0009), CARRIAGE RETURN (U+000D), or LINE FEED (U+000A), which corresponds to production [3] S as defined by .

The following conventions are used in the specification of value syntax expressions:

-

a literal term (specified within quotation marks), when present, must appear exactly as specified - (excluding the quotation marks themselves);

+

a literal term (specified within double or single quotation marks), when present, must appear exactly as specified + (excluding the quotation marks themselves and after performing escape processing);

+ +

For example, the literal '\\' is interpreted as a single backslash, i.e., REVERSE SOLIDUS (U+005C).

+
+

concatenated (juxtaposed) terms mean that all terms must appear in the stated order, e.g., a b means that the terms a and b are present and the former precedes the latter;

a vertical bar (|) separates two or more alternatives, of which exactly one must appear;

@@ -15293,7 +15297,7 @@ non-ascii-or-c1 : [^\0-\237] escape - : "\\" char + : '\\' char From d309a40f8063ee18a9afe55cb7f04f29f5744199 Mon Sep 17 00:00:00 2001 From: Glenn Adams Date: Thu, 7 Nov 2019 15:05:34 -0700 Subject: [PATCH 2/2] Address https://github.com/w3c/ttml2/pull/1173#issuecomment-551168745. --- spec/ttml2.xml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/spec/ttml2.xml b/spec/ttml2.xml index d0fb114c3..b6295b230 100644 --- a/spec/ttml2.xml +++ b/spec/ttml2.xml @@ -2185,12 +2185,9 @@ SPACE (U+0020), TAB (U+0009), CARRIAGE RETURN (U+000D), or LINE FEED (U+000A), which corresponds to production [3] S as defined by .

The following conventions are used in the specification of value syntax expressions:

-

a literal term (specified within double or single quotation marks), when present, must appear exactly as specified - (excluding the quotation marks themselves and after performing escape processing);

- -

For example, the literal '\\' is interpreted as a single backslash, i.e., REVERSE SOLIDUS (U+005C).

-
-
+

a literal term (specified within quotation marks), when present, must appear exactly as specified + (excluding the quotation marks themselves);

+

the literal '\\' is interpreted as a single backslash, i.e., REVERSE SOLIDUS (U+005C);

concatenated (juxtaposed) terms mean that all terms must appear in the stated order, e.g., a b means that the terms a and b are present and the former precedes the latter;

a vertical bar (|) separates two or more alternatives, of which exactly one must appear;