W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 2004

Re: Wrong XHTML encoding

From: Irene Vatton <irene.vatton@inrialpes.fr>
Date: Wed, 25 Aug 2004 14:31:31 +0200
To: Torsten Bronger <bronger@physik.rwth-aachen.de>
Cc: www-amaya@w3.org
Message-Id: <20040825143131.4e649c6f.irene.vatton@inrialpes.fr>

On Mon, 12 Jul 2004 15:18:59 +0200
Torsten Bronger <bronger@physik.rwth-aachen.de> wrote:

> Halloechen!
> 
> Irene Vatton <irene.vatton@inrialpes.fr> writes:
> 

> > Amaya doesn't generate the XML declaration when there is a XHTML
> > DOCTYPE,
> 
> But then it is not well-formed XML.  I send Amaya's output though an
> XSLT processort and it fails because it assumes (correctly) that the
> file is UTF-8 encoded, although it's not.
> 
> > because it's not strictly necessary and some browsers are not
> > confortable with this XML declaration.
> 
> Browsers that can read XHTML at all use one or the other XML parser
> for this, and I've never heard of one not able to read it.  If a
> browser cannot read XHTML but only HTML, well, that's a different
> thing, but in this case you must generate plain HTML with Amaya.

Okay, the XML declaration will be added to each XML documents.

Thanks for your feedback.
     Irene.
-----
Irène Vatton                     INRIA Rhône-Alpes
INRIA                               ZIRST
e-mail: Irene.Vatton@inria.fr       655 avenue de l'Europe
Tel.: +33 4 76 61 53 61             Montbonnot
Fax:  +33 4 76 61 52 07             38334 Saint Ismier Cedex - France
Received on Wednesday, 25 August 2004 12:32:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 20 September 2007 14:24:38 GMT