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: <5.2.0.9.0.20040220172527.00b23f28@mail.btinternet.com>
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:

	http://www.vickytickner.34sp.com/DolphinPod/index.php

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:

	http://www.vickytickner.34sp.com/DolphinPod/index2.html

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.

Regards.

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

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:07 UTC