Re: Saving an XHTML document adds wrong <meta>

> > > The point is not about encoding.  If a user creates an XHTML 1.1
> document
> > > and saves it as 'application/xhtml+xml', Amaya MUST NOT say 'text/html'
> > > with the meta element.
> >
> > Well, when Amaya does that, the server refuses to save a document with the
> > MIME type
> > 'application/xhtml+xml' because it was previously saved with the MIME type
> > "text/html'.
> > As you are aware about that, you can change the configuration parameter in
> > Special/Prefenrces/Publishing to set "Use the application/xhtml+xml MIME
> type
> > for XHTML documents".
> 
> 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?
Amaya does coherent things: the mime type in the meta and the http put header
are the same.
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. 
The server is enough intelligent to determine it by itself.
That's easier to implement for us.

What about the encoding? Servers give self-decided encodings too and that 
generates
errors when the document is saved in UTF-8 and served with ISO-8859-1.

> 
> Thanks.
> 
> Steven Pemberton
> 
> 
> 

Received on Thursday, 13 June 2002 06:30:24 UTC