W3C home > Mailing lists > Public > www-validator-css@w3.org > June 2007

Re: Why does URI validation fail but direct input validation pass?

From: Benjamin Niemann <pink@odahoda.de>
Date: Sun, 17 Jun 2007 13:50:46 +0200
To: www-validator-css@w3.org
Message-ID: <f5376m$f7t$1@sea.gmane.org>

Hello,

Allan Abrahamse wrote:

> If I run a validation check for the following URI
> 
> http://orangecountyquakers.org/_css/main.css
> 
> I get a Parse Error for the first block (defining the style for 'body').

The file seems to start with a BOM. If you remove it, the parse error
disappears.
Configure your editor not to save the file with a BOM.

> If I drop the entire file in the "by direct input" box, if passes.

The BOM is not visible in your editor - it's added when the file is saved. 


HTH

-- 
Benjamin Niemann
Email: pink at odahoda dot de
WWW: http://pink.odahoda.de/
Received on Sunday, 17 June 2007 11:56:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:19 GMT