- From: David Dorward <david@dorward.me.uk>
- Date: Thu, 15 Jul 2004 14:27:52 +0100
- To: "James Crompton" <jc@jcrompton.de>
- Cc: <www-validator@w3.org>
On 15 Jul 2004, at 13:19, James Crompton wrote: > The validator objects to: > > <script type="text/JavaScript"> > document.write('<ul><li><a Yes, this is not a validator bug, this is a bug in your code. The validator is (as usual) quite correct. You are using XHTML. XHTML is hard (or at least harder the HTML). Why it is throwing an error: <http://www.w3.org/TR/xhtml1/#h-4.8> For some reason you are using XHTML 1.1 and serving it as text/html. You (quote) 'SHOULD NOT' do this. <http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020801/#media- types> See also: <http://www.hixie.ch/advocacy/xhtml> -- David Dorward <http://dorward.me.uk/> <http://blog.dorward.me.uk/>
Received on Thursday, 15 July 2004 09:28:47 UTC