[Bug 15982] New: Signature and LF

https://www.w3.org/Bugs/Public/show_bug.cgi?id=15982

           Summary: Signature and LF
           Product: TextTracks CG
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: WebVTT
        AssignedTo: ian@hixie.ch
        ReportedBy: simonp@opera.com
         QAContact: dave.null@w3.org
                CC: mike@w3.org, public-texttracks@w3.org


Before I brought up that there was a mismatch between the text/vtt
registration's "WebVTT files all begin with one of the following byte
sequences:" and the WebVTT parser's handling of the signature. Hixie made a
change to the parser to address it, but they still don't match.

Consider a file that contains "WEBVTT foo" and no LFs. It matches the
text/vtt's registration, but the parser rejects it in step 9, because there's
no LF.

I think the parser step 5 should be changed to collect characters that are not
LF, space or tab, and then check that the collected characters are "WEBVTT",
and then if the next character is space or tab, skip characters that are not
LF, and remove step 9.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Tuesday, 14 February 2012 13:00:50 UTC