Re: Wrong XHTML encoding

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 UTC