W3C home > Mailing lists > Public > www-validator@w3.org > July 2004

Re: JavaScript validation bug

From: James Crompton <j.crompton@aiic.net>
Date: Thu, 15 Jul 2004 17:45:51 +0200
Message-ID: <001601c46a84$f0e84e00$4faef63e@schrottdose>
To: "David Dorward" <david@dorward.me.uk>, "James Crompton" <jc@jcrompton.de>
Cc: <www-validator@w3.org>
Thanks. There should have been a question mark in the subject line, but
it got lost in a crash.

When I have a server I can control, I will serve XHTML as I SHOULD.
Meanwhile, I'm building the code future-proofed, just in case it has a
future.

Thanks again and sorry. Next time I'll read the specification first.

James Crompton
Buchenallee 53
16341 Panketal

Tel.: +49 30 / 48 63 73 66
Fax: +49 30 / 48 63 73 67
jc@jcrompton.de
www.jcrompton.de

----- Original Message ----- 




AIIC.MAIL - A service of the International Association of Conference Interpreters to Members
--- http://www.aiic.net

attached mail follows:



>
> 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 12:06:14 GMT

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