W3C home > Mailing lists > Public > www-validator@w3.org > November 1999

Re: {bug?] fake dtd inside html comment beying used

From: Terje Bless <link@tss.no>
Date: Sat, 6 Nov 1999 21:53:05 +0100
Message-Id: <199911062052.VAA08806@vals.intramed.rito.no>
To: W3C Validator <www-validator@w3.org>
cc: Léa Gris <lea.gris@freesbee.fr>
On 06.11.99 at 21:22, Terje Bless <link@tss.no> wrote:

>edit the "check" CGI program on line 1144.
>
>Original: $dttext =~ s/.*doctype\s+html\s+public\s*["']//i;
>     New: $dttext =~ s/.*?doctype\s+html\s+public\s*["']//i;

Oh, or you could just throw in a few newlines in your HTML (3 ought to do
it) after the first DOCTYPE -- so your DOCTYPEs are at least five lines
apart -- and the validator will work correctly.
Received on Saturday, 6 November 1999 15:52:36 GMT

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