W3C home > Mailing lists > Public > html-tidy@w3.org > July to September 2004

Re: Unexpected behavoir converting XHTML -> HTML

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sat, 14 Aug 2004 19:26:54 +0200
To: jh@333.org
Cc: html-tidy@w3.org
Message-ID: <41214a83.1813197960@smtp.bjoern.hoehrmann.de>

* Jim Higson wrote:
>So I run:
>$ tidy -ashtml -qi foo.xhtml > foo.html
>But the file created is NOT really HTML, for a start it has the XML headers:

Yes, this is a known problem, see e.g. http://tidy.sf.net/bug/880681

>?xml version="1.0" encoding="iso-8859-1"?>
><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN">
><html lang="en-GB">
>Which I don't think should be there for HTML 4.01.
>It is also missing a character encoding, while I think it should have used 
>utf8, since that is the default for XML documents.

What do you mean here exactly?
Received on Saturday, 14 August 2004 17:27:40 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:38:55 UTC