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

Re: Lexical Error parsing prologue

From: Kravvitz <Kravvitz.css-validator@dynamicsitesolutions.com>
Date: Tue, 1 May 2007 14:16:53 -0400
Message-ID: <12b1d2060705011116j64a4cc71w86d36db3c5f28ab9@mail.gmail.com>
To: "Benjamin Tomos Lewis" <ben.tc1415@gmail.com>
Cc: www-validator-css@w3.org

The problem is in <http://benl.co.uk/sites/all/modules/copyright/copyright.css>.
The first line is a comment, but it's not using CSS comment syntax.
It's using the type that many other languages, including PHP and
JavaScript, allow but CSS doesn't.

I used Firefox's Web Developer extension's
<http://chrispederick.com/work/webdeveloper/> View CSS feature to find
that.

On 5/1/07, Benjamin Tomos Lewis <ben.tc1415@gmail.com> wrote:
> Hi,
>
> I'm at a bit of a loss as to why this is occurring. When I validate the
> CSS of may site (http://benl.co.uk/) I always get the error:
>
>  "Lexical error at line 1, column 5. Encountered: "I" (73), after : "$""
>
> This is implying there is something wrong with the XML prologue - I
> believe - however the markup validator is not complaining, and a quick
> read of both the generated page and it's source in multiple editors
> reveals that the prologue does indeed read:
>
>  "<?xml version="1.0" encoding="utf-8"?>" - no $s at all.
>
> Thanks for your help and sorry if I've missed something obvious - but
> I've double and triple checked everything!
>
> --
>
> Benjamin Lewis
> ben.tc1415@gmail.com
>
> ----------------------------------------------------------------------
> http://benl.co.uk                                  PGP Key: 0x647E480C
>
>
Received on Tuesday, 1 May 2007 18:17:34 GMT

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