[Bug 4828] Unicode BOM at beginning of file not stripped, causes parse errors

http://www.w3.org/Bugs/Public/show_bug.cgi?id=4828

           Summary: Unicode BOM at beginning of file not stripped, causes
                    parse errors
           Product: CSSValidator
           Version: CSS Validator
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Parser
        AssignedTo: dave.null@w3.org
        ReportedBy: ot@w3.org
         QAContact: www-validator-cvs@w3.org


A lot if windows-world editors tend to prepend a BOM to unicode files, and the
CSS parser of the validator does not appear to strip the BOM. 

In some cases (especially when stylesheet starts with @media ) it causes a
parse error and false invalidation. In other cases it only adds spurrious
characters to the output.

Received on Thursday, 28 June 2007 00:46:56 UTC