WebVTT signature

IANA considerations says:

Magic number(s):
WebVTT files all begin with one of the following byte sequences:

EF BB BF 57 45 42 56 54 54 0A
EF BB BF 57 45 42 56 54 54 0D
EF BB BF 57 45 42 56 54 54 20
EF BB BF 57 45 42 56 54 54 09
57 45 42 56 54 54 0A
57 45 42 56 54 54 0D
57 45 42 56 54 54 20
57 45 42 56 54 54 09
(An optional UTF-8 BOM, the ASCII string "WEBVTT", and finally a space,  
tab, or line break.)

However, the parser accepts files that contain only "WEBVTT" (or BOM  
followed by "WEBVTT"), without a newline. The syntax requires two  
newlines, though.

Is the above intended to match what the parser accepts? Or what the syntax  
allows?

-- 
Simon Pieters
Opera Software

Received on Friday, 2 December 2011 13:00:06 UTC