W3C home > Mailing lists > Public > www-amaya@w3.org > January to March 2006

Re: MathML as object

From: Charles McCathieNevile <chaals@opera.com>
Date: Fri, 13 Jan 2006 14:19:47 +0100
To: Bartolomé Sintes Marco <bartolomesintes@ono.com>, www-amaya@w3.org
Message-ID: <op.s3bja9cawxe0ny@pc063.qadoc.oslo.opera.com>

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

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:30:50 UTC