From 70ca05407481a1f1dfb87f50c4e67f6efdcc4eec Mon Sep 17 00:00:00 2001 From: Nigel Megitt Date: Thu, 28 Nov 2024 17:26:35 +0000 Subject: [PATCH 1/2] Add xml:id to every Script Event div example --- examples/event-desc-descType.xml | 2 +- examples/event-desc-multiple-descType.xml | 4 ++-- examples/event-desc.xml | 4 ++-- ...ginal-language-with-dub-language-and-adaptation.xml | 2 +- examples/intro-original-language-with-dub-language.xml | 2 +- examples/intro-original-language.xml | 2 +- examples/intro-script-with-embedded-audio.xml | 2 +- examples/intro-script-with-gain.xml | 2 +- examples/intro-script-with-speak.xml | 2 +- examples/intro-times-and-text.xml | 4 ++-- examples/intro-times-only.xml | 4 ++-- examples/intro-top-level.xml | 10 +++++++++- 12 files changed, 24 insertions(+), 16 deletions(-) diff --git a/examples/event-desc-descType.xml b/examples/event-desc-descType.xml index a0a0206..139d484 100644 --- a/examples/event-desc-descType.xml +++ b/examples/event-desc-descType.xml @@ -1,6 +1,6 @@ ... -
+
[oːnʲ]

Eóin looks around at the other assembly members.

diff --git a/examples/event-desc-multiple-descType.xml b/examples/event-desc-multiple-descType.xml index 4096cda..310630b 100644 --- a/examples/event-desc-multiple-descType.xml +++ b/examples/event-desc-multiple-descType.xml @@ -1,6 +1,6 @@ ... -
+
Scene 1 High

@@ -10,7 +10,7 @@ Une femme monte à bord d'un petit bateau à voile.

-
+
Scene 1 Low

diff --git a/examples/event-desc.xml b/examples/event-desc.xml index 46ecfd0..66104ec 100644 --- a/examples/event-desc.xml +++ b/examples/event-desc.xml @@ -1,6 +1,6 @@ ... -

+
Scene 1

A woman climbs into a small sailing boat. @@ -9,7 +9,7 @@ Une femme monte à bord d'un petit bateau à voile.

-
+
Scene 1

The woman pulls the tiller and the boat turns. diff --git a/examples/intro-original-language-with-dub-language-and-adaptation.xml b/examples/intro-original-language-with-dub-language-and-adaptation.xml index 6271ab5..f08189b 100644 --- a/examples/intro-original-language-with-dub-language-and-adaptation.xml +++ b/examples/intro-original-language-with-dub-language-and-adaptation.xml @@ -15,7 +15,7 @@ -

+

Et c'est grâce à ça qu'on va devenir riches.

diff --git a/examples/intro-original-language-with-dub-language.xml b/examples/intro-original-language-with-dub-language.xml index ff648db..b3a5e5f 100644 --- a/examples/intro-original-language-with-dub-language.xml +++ b/examples/intro-original-language-with-dub-language.xml @@ -15,7 +15,7 @@ -
+

Et c'est grâce à ça qu'on va devenir riches.

diff --git a/examples/intro-original-language.xml b/examples/intro-original-language.xml index 0f05de9..36c7ed3 100644 --- a/examples/intro-original-language.xml +++ b/examples/intro-original-language.xml @@ -15,7 +15,7 @@ -
+

Et c'est grâce à ça qu'on va devenir riches.

diff --git a/examples/intro-script-with-embedded-audio.xml b/examples/intro-script-with-embedded-audio.xml index f76e388..46d125a 100644 --- a/examples/intro-script-with-embedded-audio.xml +++ b/examples/intro-script-with-embedded-audio.xml @@ -1,5 +1,5 @@ ... -
+

diff --git a/examples/intro-script-with-gain.xml b/examples/intro-script-with-gain.xml index da1220c..f7c1a3b 100644 --- a/examples/intro-script-with-gain.xml +++ b/examples/intro-script-with-gain.xml @@ -4,7 +4,7 @@ xml:lang="en" daptm:langSrc=""> ... -

+

diff --git a/examples/intro-script-with-speak.xml b/examples/intro-script-with-speak.xml index afbbba6..dd3646e 100644 --- a/examples/intro-script-with-speak.xml +++ b/examples/intro-script-with-speak.xml @@ -1,5 +1,5 @@ ... -

+

The woman pulls the tiller and the boat turns. diff --git a/examples/intro-times-and-text.xml b/examples/intro-times-and-text.xml index c4f8c78..3046a60 100644 --- a/examples/intro-times-and-text.xml +++ b/examples/intro-times-and-text.xml @@ -8,12 +8,12 @@ daptm:scriptRepresents="visual.nonText visual.text" daptm:scriptType="preRecording"> -

+

A woman climbs into a small sailing boat.

-
+

The woman pulls the tiller and the boat turns.

diff --git a/examples/intro-times-only.xml b/examples/intro-times-only.xml index 1c203b3..5b8a2a9 100644 --- a/examples/intro-times-only.xml +++ b/examples/intro-times-only.xml @@ -1,8 +1,8 @@ ... -
+
-
+
... \ No newline at end of file diff --git a/examples/intro-top-level.xml b/examples/intro-top-level.xml index a5e58df..5cd3f2b 100644 --- a/examples/intro-top-level.xml +++ b/examples/intro-top-level.xml @@ -19,6 +19,14 @@ - + +
+

+ +

+

+ +

+
From 8223e16ee55ec56d8e968a40025b208bc80e14d8 Mon Sep 17 00:00:00 2001 From: Nigel Megitt Date: Fri, 29 Nov 2024 12:02:14 +0000 Subject: [PATCH 2/2] Define Unique Identifier as a Shared Property and reference it --- index.html | 41 ++++++++++++++++++++++++++++++++++++++--- 1 file changed, 38 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index bc4d212..ab88cf9 100755 --- a/index.html +++ b/index.html @@ -859,6 +859,7 @@

Shared properties and Value Sets

Would it be better to make a "Timed Object" class and subclass Script Event, Mixing Instruction and Audio Recording from it?

+
Timing Properties

The following timing properties @@ -1045,6 +1046,40 @@

<content-descriptor> values
+ +
+
Unique identifiers
+

Some entities in the data model include unique identifiers. + A Unique Identifier has the following requirements:

+
    +
  • it is unique within the DAPT Script, + i.e. the value of a Unique Identifier can only + be used one time within the document, + regardless of which specific kind of identifier it is.

    +

    If a Character Identifier has the value "abc" + and a Script Event Identifier in the same document has the same value, + that is an error.

    +
  • +
  • its value has to conform to the requirements of + Name as defined by [[XML]]

    +

    It cannot begin with + a digit, + a combining diacritical mark (an accent), + or any of the following characters:

    +
        .
    +    -
    +    ·  // #xB7
    +    ‿  // #x203F
    +    ⁀  // #x2040
    +

    but those characters can be used elsewhere. +

    +
  • +
+

A Unique Identifier for an entity is expressed in a DAPT Document + by an xml:id attribute on the corresponding element.

+

The formal requirements for the semantics and processing of xml:id + are defined in [[xml-id]].

+
@@ -1054,8 +1089,8 @@

Character

This section is mainly relevant to Dubbing workflows.

A character in the programme can be described using a Character object which has the following properties:

    -
  • a mandatory Identifier - which is a unique identifier used to reference the character from elsewhere in the document, +
  • a mandatory Character Identifier + which is a Unique Identifier used to reference the character from elsewhere in the document, for example to indicate when a Character participates in a Script Event.
  • a mandatory Name which is the name of the Character in the programme
  • an optional Talent Name, which is the name of the actor speaking dialogue for this Character.
  • @@ -1149,7 +1184,7 @@

    Character

    Script Event

    A Script Event object represents dialogue, on screen text or audio descriptions to be spoken and has the following properties:

      -
    • A mandatory Script Event Identifier which is unique in the script
    • +
    • A mandatory Script Event Identifier which is a Unique Identifier.
    • An optional Begin property and an optional End and an optional Duration property that together define the Script Event's time interval in the programme timeline

      Typically Script Events do not overlap in time.