Re: Q. about <meta http-equiv="Content-Type" content="text/html" /> in 8.3-pre

On Fri, 27 Feb 2004 14:14:44 -0500 (EST)
Pierre St-Laurent <p_st_laurent@globetrotter.net> wrote:

> Hi,
> 
> Starting a new xhtml1.1 file in Amaya 8.3-pre gives a
> 
> <meta http-equiv="Content-Type" content="text/html" />
> 
> line in the source (even if the default mime type selected in 
> Preferences is xhtml+xml). If the file is xhtml, why is it 
> content="text/html"?

You're right. We should change the meta too.

> By the way, should I use a .xhtml suffix for my xhtml1.1 files? My 
> browser (Mozilla) reacts differently if I'm using .html of .xhtml on the 
> same file.

Normally the doctype, or the xml declaration, or the xml namespace says
that the HTML document must be parsed by an xml parser instead of an html parser.
Some browsers only take into account the suffix and/or the content type.

> Thanks,
> 
> Pierre

     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 Monday, 1 March 2004 09:38:30 UTC