Re: meta-data in the VTT file header, a strawman proposal

On Apr 23, 2012, at 18:45 , Silvia Pfeiffer wrote:

> OK, a more complete "spec" then:
> 
> 1.
> Name-value pairs of header metadata are given with a name-string
> separated from the value by a colon.
> No control characters or separators are allowed in the name-string.
> No white space is allowed between the name and the colon.
> White space immediately after the colon is not part of the value-string.
> 
> 2.
> If the value-string is a single "|" character followed by CRLF, the
> value is multi-line, starting on the next line and ending with a line
> that only contains a single dot.
> The newline just before the dot-line is not part of the value.
> Empty lines are not allowed, but there is an escape character "\"
> which can be used at the beginning of lines and needs to be removed
> when decoding the multi-line value.
> "\" escapes empty lines and the lines that just contain a single dot.

and lines that already start with a \

> 
> Does that summarize it?
> 
> Cheers,
> Silvia.

David Singer
Multimedia and Software Standards, Apple Inc.

Received on Tuesday, 24 April 2012 01:56:04 UTC