W3C home > Mailing lists > Public > www-validator@w3.org > March 2008

Re: Whats wrong with W3C Validator?

From: Otto <w3c@lmen.net>
Date: Thu, 20 Mar 2008 00:19:10 +0100
Message-ID: <722893706.20080320001910@lmen.net>
To: www-validator@w3.org

Good evening,

I got the same error message like described in the mail of Jozef
Rusn?<jozef@boberdoo.com>  from Date: Tue, 18 Mar 2008 10:14:24 +0100

The reason for this is obviously a change in W3C Validator about PHP
in XHTML.

I checked usually my files via file-upload, so the php-code is still
in the file.

The first lines of all my XHTML-files are:

<?php
include (//XXXXXXXXX);
?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

In the past W3C-Validator ignored the <?php ... ?> and checked only the rest. From Today all my files are marked in error with the same error message:

,----- [  ]
|     This page is *not* Valid (no Doctype found)!
| 
| Validation Output: 1 Error Error /Line 1, Column 0/: end of document in 
| prolog.
`-----

If the files are checked via an URI, all is fine!


Regards

Otto
Received on Thursday, 20 March 2008 04:20:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 25 April 2012 12:14:28 GMT