[xiph-commits] r3274 - standards

silvia at svn.annodex.net silvia at svn.annodex.net
Sun Nov 18 07:57:45 PST 2007


Author: silvia
Date: 2007-11-18 07:57:44 -0800 (Sun, 18 Nov 2007)
New Revision: 3274

Modified:
   standards/draft-pfeiffer-cmml-current.xml
Log:
Created CMML 3.1, which has a 'caption' element added to the 'clip' element.
A caption can have one or more paragraphs of text, each wih their separate styling.
Plus there are 'div' elements to provide substyling for subparts of text inside a 'p' element.
Throw in a 'br' element to get newlines into the text inside the 'p' element.
Hopefully that provides all we need for the moment.



Modified: standards/draft-pfeiffer-cmml-current.xml
===================================================================
--- standards/draft-pfeiffer-cmml-current.xml	2007-11-12 08:08:22 UTC (rev 3273)
+++ standards/draft-pfeiffer-cmml-current.xml	2007-11-18 15:57:44 UTC (rev 3274)
@@ -13,7 +13,7 @@
 <rfc category="info" ipr="full3667" docName="draft-pfeiffer-cmml-xx">
 
   <front>
-    <title abbrev="CMML">The Continuous Media Markup Language (CMML), Version 3.0</title>
+    <title abbrev="CMML">The Continuous Media Markup Language (CMML), Version 3.1</title>
 
     <author initials="S.P." surname="Pfeiffer" fullname="Silvia Pfeiffer">
         <organization abbrev="CSIRO">Commonwealth Scientific and
@@ -73,7 +73,7 @@
 
     <abstract>
       <t>This specification defines the Continuous Media Markup
-      Language (CMML), version 3.0, an <xref
+      Language (CMML), version 3.1, an <xref
       target="XML">XML-based</xref> markup language for
       time-continuous data. It is a sister document to the
       specification of the <xref target="ANX">Annodex</xref>
@@ -1162,11 +1162,102 @@
 	the text in the description, the "id" attribute a unique identifier
         for the element, the "class" attribute a style-sheet mapping, and
         the "title" attribute a brief description to be displayed in e.g.
-        a table of clips or as caption.
+        a table of clips.
 	</t>
 
       </section>
+
+      <!--*****************-->
+      <!-- Caption element -->
+      <!--*****************-->
+      <section title="The 'caption' element">
+	
+        <t>The "caption" element functions as a logical container for one
+        or more textual content units represented as logical paragraphs.
+        It is created according to the <xref 
+        target="DFXP">Timed Text standards of W3C</xref>.
+        It is bound by the start and end time of the clip tag in which it
+        is contained. The "caption" element is declared as the following:
+	</t>
+
+        <figure>
+          <artwork><![CDATA[
+<!ELEMENT caption  (p*)>
+<!ATTLIST caption
+  %attrs;
+>
+	    ]]></artwork>
+        </figure>
+
+      </section>
       
+      <!--***********-->
+      <!-- p element -->
+      <!--***********-->
+      <section title="The 'p' element">
+	
+        <t>The "p" element contains a human readable piece of text that
+        may be a transcription, caption, sub-title or similar type of
+        textual description of a temporal subsection of the clip tag
+        in which it is contained. The "p" element is
+        declared as the following:
+	</t>
+
+        <figure>
+          <artwork><![CDATA[
+<!ELEMENT p (span*, br*, #PCDATA)>
+<!ATTLIST p
+  %attrs;
+  start       %Timestamp;    #REQUIRED
+  end         %Timestamp;    #IMPLIED
+>
+	    ]]></artwork>
+        </figure>
+
+      </section>
+      
+      <!--**************-->
+      <!-- span element -->
+      <!--**************-->
+      <section title="The 'span' element">
+	
+        <t>The "span" element functions as a logical container and a
+        temporal structuring element for a subpart of a textual content
+        unit contained in a 'p' element having inline-level formatting
+        semantics. The "span" element is declared as the following:
+	</t>
+
+        <figure>
+          <artwork><![CDATA[
+<!ELEMENT span (#PCDATA)>
+<!ATTLIST span
+  %attrs;
+>
+	    ]]></artwork>
+        </figure>
+
+      </section>
+
+      <!--**************-->
+      <!-- br element -->
+      <!--**************-->
+      <section title="The 'br' element">
+	
+        <t>The "br" element denotes an explicit line break.
+        The "br" element is declared as the following:
+	</t>
+
+        <figure>
+          <artwork><![CDATA[
+<!ELEMENT br EMPTY>
+<!ATTLIST br
+  %attrs;
+>
+	    ]]></artwork>
+        </figure>
+
+      </section>
+      
     </section>
 
 
@@ -2060,6 +2151,16 @@
         </list>
       </t>
 
+      <t>draft-pfeiffer-cmml-05:
+        <list style="symbols">
+
+	  <t>CMML version 3.1: extending the CMML with a caption and p tags
+          that allow the creation of tags, captions, subtitles and similar.
+          </t>
+
+        </list>
+      </t>
+
     </section>
 
   </middle>
@@ -2268,6 +2369,26 @@
 	<seriesInfo name="W3C" value="CSS" />
       </reference>
 
+      <reference anchor="DFXP" target="http://www.w3.org/TR/ttaf1-dfxp/">
+        <front>
+	  <title>Timed Text (TT) Authoring Format 1.0 - Distribution Format Exchange Profile (DFXP)</title>
+	  <author initials="G." surname="Adams" fullname="Glenn Adams">
+	    <organization abbrev="W3C">World Wide Web Consortium</organization>
+	    <address>
+	      <postal>
+		<street>MIT Laboratory for Computer Science</street>
+		<street>545 Technology Square</street>
+		<city>Cambridge</city> <region>MA</region> <code>02139</code>
+		<country>US</country>
+	      </postal>
+	      <uri>http://www.w3c.org</uri>
+	    </address>
+	  </author>
+	  <date month="November" year="2006" />
+	</front>
+	<seriesInfo name="W3C" value="DFXP" />
+      </reference>
+
       <reference anchor="URI" target="http://www.ietf.org/rfc/rfc3986.txt">
 	<front>
 	  <title>Uniform Resource Identifiers (URI): Generic
@@ -2634,12 +2755,26 @@
 <clip id="intro" start="0">
   <a href="http://example.com/fish.html">Read more about fish</a>
   <desc>This is the introduction to the film Joe made about fish.</desc>
+  <caption>
+    <p id="subtitle1" start="0" end="1" style="text-align: left;">
+      This is a left aligned subtitle.
+    </p>
+    <p id="subtitle2" start="1" end="2" style="text-align: right;">
+      This is a right aligned subtitle.
+    </p>
+  </caption>
 </clip>
 
 <clip id="dolphin" start="npt:3.5" end="npt:0:05:05.9">
   <img src="dolphin.jpg"/>
   <desc>Here, Joe caught sight of a dolphin in the ocean.</desc>
   <meta name="Subject" content="dolphin"/>
+  <caption>
+    <p id="subtitle3">
+      This is a <div style="fontWeight: bold;">lengthy</div><br/>
+      subtitle that is split over two lines.
+    </p>
+  </caption>
 </clip>
 
 <clip id="goldfish" start="npt:0:05:05.9">



More information about the commits mailing list