W3C home > Mailing lists > Public > public-evangelist@w3.org > May 2005

Re: Valid XML

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Fri, 20 May 2005 20:22:05 +0200
To: Karl Dubost <karl@w3.org>
Cc: public-evangelist@w3.org
Message-ID: <42a928f7.105740734@smtp.bjoern.hoehrmann.de>

* Karl Dubost wrote:
>I don't have Windows IE (any version). Does it fail or succeed to  
>render this? If yes I guess a bug report should be sent. For the  
>other case too.
>
><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
>      "http://www.w3.org/TR/html4/strict.dtd">
><html lang="en">
><script src="thing.src" type="text/javascript"/>
><title>Chickens!</title>
><body>
><h1>Chickens</h1>
></body>
></html>

I am not sure what you mean by "render" here, clearly the document is
non-compliant and HTML 4.01 does not define processing of non-compliant
content, so any kind of processing would be compliant. Note that

  <script src="thing.src" type="text/javascript"/>

is equivalent to

  <script src="thing.src" type="text/javascript">>

in HTML 4 so at least the "><title>Chickens!" is part of the script
which means that the document lacks the required title element.

>* About C.14
>
>Why do you need this with "XHTML 1.0" served as text/html?

http://www.w3.org/TR/xhtml1/#C_14 does not make any sense, this has been
reported to the HTML Working Group many times, though I am not aware of
any response.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 
Received on Friday, 20 May 2005 18:21:57 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:16:19 UTC