[Bug 18529] New: Existence of separators in token should throw SyntaxError

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

           Summary: Existence of separators in token should throw
                    SyntaxError
           Product: WebAppsWG
           Version: unspecified
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: File API
        AssignedTo: arun@mozilla.com
        ReportedBy: saurabhanandiit@gmail.com
         QAContact: public-webapps-bugzilla@w3.org
                CC: public-webapps@w3.org


Created attachment 1173
  --> https://www.w3.org/Bugs/Public/attachment.cgi?id=1173
Test Case

http://tools.ietf.org/html/rfc2616#section-3.7 says that media-type should be
type "/" subtype *( ";" parameter ) , where type and subtype both are tokens.
http://tools.ietf.org/html/rfc2616#page-17 says that tokens should not contain
CTL's or separators, hence according to section 4.B.d of
http://dev.w3.org/2006/webapi/FileAPI/#slide-method-algo, it should throw a
SyntaxError, but it does not.

I feel the spec doesn't match implementation.

-- 
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 Friday, 10 August 2012 18:07:41 UTC