W3C home > Mailing lists > Public > www-validator-css@w3.org > February 2004

[www-validator-css] <none>

From: Victoria Tickner <victoria.tickner@btinternet.com>
Date: Fri, 20 Feb 2004 17:41:32 +0000
Message-Id: <>
To: www-validator-css@w3.org
I have a problem validating a PHP file for CSS. I have used the W3C CSS 
validator before to validate previous PHP files without any problem. My PHP 
code validates against XTML 1.1 (using the W3C HTML validator). The 
following page is the one that I am having problems validating using the 
W3C CSS validator:


The error I receive when trying to use the W3C CSS validator is:

	Please, validate your XML document first!
	Line 1
	Column 1
	Content is not allowed in prolog.

However, if I save the output generated by my PHP file as an HTML file i.e. 
exactly the same information the W3C CSS validator can validate the page - see:


Can you please let me know what is going on as I don't understand why the 
W3C CSS validator won't validate my PHP page, but will validate the exact 
same information as an HTML page.


Victoria Tickner
Received on Friday, 20 February 2004 12:43:38 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:40:39 UTC