Re: MathML as object

On Fri, 13 Jan 2006 11:36:10 +0100, Bartolomé Sintes Marco  
<bartolomesintes@ono.com> wrote:

> But when I insert a MathML file (*.mml) in a XHTML 1.0 or 1.1 document  
> using the object element, Amaya changes the document doctype into XHTML  
> 1.1 + MathML 2.0. Is it necessary to do it? Is it possible to maintain  
> the XHTML 1.0 or 1.1 doctype? What would be the correct MIME type  
> (application/mathml+xml perhaps)?

This sounds like a bug. If there is no MathML code in the XHTML document,  
just in a file that it loads via object, then there is no reason for it  
not to stay as XHTML. And the correct MIME type for the XHTML document is  
application/xhtml+xml (although many people will probably serve it as  
text/html)... or did you mean for the MathML document (in which case it is  
the mathml MIME type).

cheers

Chaals


-- 
Charles McCathieNevile                     chaals@opera.com
   hablo español  -  je parle français  -  jeg lærer norsk
      Peek into the kitchen: http://snapshot.opera.com/

Received on Friday, 13 January 2006 13:19:56 UTC