W3C home > Mailing lists > Public > www-validator@w3.org > August 2017

Re: [www-validator] <none>

From: David Dorward <david@dorward.me.uk>
Date: Tue, 22 Aug 2017 09:05:23 +0100
To: "Scott A Tovey" <satovey@yahoo.com>
Cc: www-validator@w3.org
Message-ID: <47C12BA3-DC26-4283-85A2-50E428DD40E8@dorward.me.uk>
On 22 Aug 2017, at 6:07, Scott A Tovey wrote:

> It appears that your validator has a problem with dealing with
> the script tag as well as the <?php tag.

Regarding the script tag:

The error message doesn’t appear to be related to the code you’ve 
supplied. You’ll need to provide a complete test case before anyone 
can really tell what is going on. From the fragment of code quoted in 
the error message, it looks like the problem is due to incorrectly used 
conditional comments. These don’t appear in the code sample you 
provided.

Regarding the PHP tag:

PHP is not HTML. The markup validator is not supposed to be able to 
handle it. Run your PHP program, take the HTML output from it, and 
validate that output. You can’t validate the source code of the PHP 
program with a markup validator.
Received on Tuesday, 22 August 2017 08:06:03 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 22 August 2017 08:06:16 UTC