W3C home > Mailing lists > Public > public-tt@w3.org > March 2005

RE: Timed Text Authoring Format - Distribution Format Exchange Pr ofile (DFXP)

From: Glenn A. Adams <gadams@xfsi.com>
Date: Thu, 17 Mar 2005 09:01:56 -0500
Message-ID: <7249D02C4D2DFD4D80F2E040E8CAF37C03C34C@longxuyen.xfsi.com>
To: <Johnb@screen.subtitling.com>, <public-tt@w3.org>
Actually, DFXP does not support out-of-line styling in the traditional
sense (e.g., CSS sense). The fact that one can place style
specifications in <head/> and share their use among multiple content
elements is merely an optimization of expressing inline styles (by
reference). We call this referential styling.


What you are requesting is a form of rule based applicative styling that
applies independent style rules to content based on matching criteria.
This mechanism will be defined in AFXP, but was explicitly ruled out for
DFXP since it requires either (1) having all content available to apply
rules to, or (2) repeatedly re-evaluating all rules for each content
unit that arrives (e.g., in a streaming scenario).


The basic model for DFXP is completely inlined styles, but the
referential styles were defined as an optimization to allow:


(1)     aggregation and sharing of common inline styles

(2)     pre-delivery or separate packaging of a fragment containing
referential styles from fragments containing content


The decision to simplify DFXP was based on the desire that DFXP content
be more concrete and directly parsable/renderable in a potential
streaming context. The general use of out-of-line applicative style
rules is antithetical to this approach.





From: Johnb@screen.subtitling.com [mailto:Johnb@screen.subtitling.com] 
Sent: Thursday, March 17, 2005 7:56 AM
To: public-tt@w3.org
Subject: RE: Timed Text Authoring Format - Distribution Format Exchange
Pr ofile (DFXP)


Glenn, et al, 

The DXFP specification includes support for styling, both in-line and
out-of-line styling. 
However it does not support a class based styling model. 

In subtitling, styles are most often associated with changes in the text
'role' (e.g. dialogue differs in presentation from music) or 'speaker'
(Joe - red, Frank - blue).

Could a mechanism be added to support this? 

E.g. This might be represented in DXFP by utilising a class based style
mechanism that was sensitive to ttm:role and ttm:agent. Thus:

<style id="s1" style tts:color="white"
<style id="intro" style="s1" tts:fontSize="4%"/> 
<style id="documentary" style="s1" tts:fontSize="10%"
<style id="music" ttm:role="music" tts:fontStyle="oblique"/> 
<style id="joe" ttm:agent="joe" tts:color="red"/> 

<div style="intro"> 
<!-- all text 4% high --> 
<!-- all text monospace-serif --> 
<p ttm:role="music">Quiet Violin music</p> 
<div style="documentary"> 
<!-- all text 5% high --> 
<!-- all text sans-serif --> 
<p>White Large sans-serif</p> 
<p ttm:role="music">White Oblique Large sans-serif</p> 
<p ttm:agent="joe">Red Large sans-serif</p> 

the ttm:role and ttm:agent attributes could be considered as implicitly
adding inline style attribute(s) to their container....


John Birch 
Senior Software Engineer, 
Screen Subtitling Systems Limited, 
The Old Rectory, Claydon Church Lane, 
Claydon, Ipswich, Suffolk. 
Tel: +44 1473 831700 
Fax:+44 1473 830078 

See us at NAB Las Vegas April 18-21st Stand No. SU8956 

This message is intended only for the use of the person(s) ("the
Intended Recipient") to whom it is addressed. It may contain information
which is privileged and confidential within the meaning of the
applicable law. Accordingly any dissemination, distribution, copying or
other use of this message or any of its content by any person other than
the Intended Recipient may constitute a breach of civil or criminal law
and is strictly prohibited. If you are not the Intended Recipient please
destroy this email and contact the sender as soon as possible.

In messages of non-business nature, the views and opinions expressed are
the author's own and do not necessarily reflect the views and opinions
of the Screen Subtitling Systems Limited.

Whilst all efforts are made to safeguard Inbound and Outbound emails, we
cannot guarantee that attachments are Virus-free or compatible with your
systems and do not accept any liability in respect of viruses or
computer problems experienced.

-----Original Message----- 
From: Glenn A. Adams [mailto:gadams@xfsi.com] 
Sent: 14 March 2005 16:51 
To: public-tt@w3.org 
Subject: Timed Text Authoring Format - Distribution Format Exchange 
Profile (DFXP) 

A new update of the Timed Text Authoring Format 1.0 - Distribution 
Format Exchange Profile (DFXP), is now available at [1]: 


The TT WG solicits your comments on this new draft as soon as possible, 
as a very rapid turn-around is expected in order to publish a first Last

Call (LC) draft. 

Please sent comments either to this list or, if you prefer privacy, to 
me directly. 

Glenn Adams 

Received on Thursday, 17 March 2005 14:01:51 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 5 October 2017 18:24:01 UTC