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

=%5BVE%5D%5B64%5D%20Add%20Subject%20Here&body=%0D%0AValidating%20http%3A%2F%2Fwww.fosberry.com%2Fcgi%2FGuestBook.pl%0D%0AError%20%5B64%5D%3A%20%22document%20type%20does%20not%20allow%20element%20X%20here%22%0D%0A

From: David Fosberry <david.fosberry@fosberry.com>
Date: Wed, 14 May 2008 11:39:45 +0200
To: <www-validator@w3.org>
Message-ID: <001001c8b5a6$72269970$1f12fea9@bc.int>
Hi,

 

Whilst validating  <http://www.fosberry.com/cgi/GuestBook.pl>
www.fosberry.com/cgi/GuestBook.pl, I received error 64, about a <span>
element "not allowed here".

 

I believe this is a bug in the validator. The <span> element is included in
a literal string in a <script> element, and as such should not be parsed by
the HTML validator.

 

I will of course attempt a work-around, by embedding the JavaScript in HTML
comment markers (inside the <script> element), but it really should not be
necessary.

 

Regards,

 


David Fosberry


Email:

David.Fosberry@fosberry.com

 

 

 
Received on Wednesday, 14 May 2008 14:02:41 GMT

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