[Ogg a11y] OggText SRT format (Re: <video> + srt)

Henri Sivonen hsivonen at iki.fi
Sun Dec 7 18:30:21 PST 2008


On Dec 7, 2008, at 16:38, Silvia Pfeiffer wrote:

> I would suggest to support the little formatting tags that the doom9
> page describes, even though most srt files don't use them.

Supporting HTML-like formatting tags is a can of worms: In addition to  
the tags, you need a mechanism for escaping '<'. Even with an escaping  
mechanism, there'd be the problem that a given string would mean a  
different sequence of rendered characters in normal SRT and in the  
extended flavor.

RSS <title> is a case study of extending a datum that originally  
contained plain text to contain markup. Not pretty. The result is that  
there are strings that cannot be represented reliably.

Further, with HTML-like tags, you'd need to define a parsing algorithm  
for them. The little tags would open up a lot of complexity in the  
direction of DFXP.

I would keep the text payload of SRT as plain text (with Unicode bidi  
controls explicitly allowed).

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/




More information about the Accessibility mailing list