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

[VE][400] Error Message Feedback

From: GCS <gcstanlib@hotmail.com>
Date: Fri, 19 May 2006 16:26:08 -0400
Message-ID: <BAY104-DAV129C8C2F50711B971E13F5A4A70@phx.gbl>
To: <www-validator@w3.org>
Validating Error [400]: "processing instruction does not start with name"

The mail search link provided when checking on this error does not produce any results:

What caused the warning (that should be an error)
In mass-changing some PHP files to have an "include" statement, I accidentally changed some HTML files to have the include statement as well. Of course, these do not display properly.  The files passes validation but gives the warning.  At first, I could not see what was wrong since I was looking at the file contents as if it were a PHP file.  I am not sure what else can cause this warning but since the file will not display correctly, to me it should be an error.  If it could be determined that a PHP code sequence has been inserted to an HTML file, then the error message should explain this possibility.

Since the original file has been replaced, I do not have a reference to point you to.  Any PHP file with an include statement, renamed to an HTML extension should produce the same error.

I understand that some server side includes could be implemented to work with files having the HTML extension, however, I am not aware of any servers that have this feature.  If they exist, surely they will not use the same syntax as the PHP include statement.

Best of luck.

Thanking you in advance;

Received on Sunday, 21 May 2006 08:25:02 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:17:48 UTC