Re: Saving an XHTML document adds wrong <meta>

> > Isn't there a way to say "Don't add a meta element that sets the mime
type
> > for XHTML"? I want to the server to decide what media type is used. At
the
> > moment the wrong thing is done. It is wrong to set the media type to
> > text/html for XHTML 1.1.
>
> We thought that the meta element was useful when documents loaded locally?

Yes, but not if it wrong.

XHTML 1.1 should not be served as text/html (see
http://www.w3.org/TR/2002/NOTE-xhtml-media-types-20020430/#summary). But if
I create an XHTML 1.1 document with Amaya, it automatically adds a <meta>
for text/html.

> Amaya does coherent things: the mime type in the meta and the http put
header
> are the same.

I created a local file, and it still used text/html, even if the extension
was .xml.

> If I understand your point of view, the author chooses to create a XHTML
or
> a HTML document but Amaya should not give information about the mime type.

No my opinion is that Amaya shouldn't give the *wrong* information about the
mime type.

Steven

Received on Friday, 14 June 2002 08:45:33 UTC