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


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>


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




David Fosberry





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

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