W3C home > Mailing lists > Public > www-math@w3.org > September 2004

RE: itex2MML doesn't support MATHML2.0

From: Bernhard Keil <Bernhard.Keil@soft4science.com>
Date: Tue, 21 Sep 2004 18:42:10 +0200
To: "'Li Daobing'" <lidaobing@gmail.com>, <www-math@w3.org>
Message-ID: <E1C9nha-0001sh-Vu@frink.w3.org>

The entity &Integral; is defined in the MathML 2.0 dtd, but you have
to reference the dtd in a doctype declaration like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN"  "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd">

Bernhard Keil


-----Original Message-----
From: www-math-request@w3.org [mailto:www-math-request@w3.org] On Behalf Of Li Daobing
Sent: Tuesday, September 21, 2004 5:34 PM
To: www-math@w3.org
Subject: itex2MML doesn't support MATHML2.0

  I use itex2MML to generate MATHML code.
  for example:

$ echo '$\int_a^b$' | itex2MML
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<msubsup><mo>&Integral;</mo> <mi>a</mi> <mi>b</mi></msubsup>


  but I find that mathml2.0 doesn't support `&Integral;', 
for example

<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="http://www.w3.org/Math/XSL/mathml.xsl"?>
<html xmlns="http://www.w3.org/1999/xhtml">
    <title>Optical Radiation</title>
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<msubsup><mo>&Integral;</mo> <mi>a</mi> <mi>b</mi></msubsup>


when I use Mozilla Firefox 0.8 to view this page, I got an error.
XML Parsing Error: undefined entity
Location: file:///home/nichloas/public_html/WebWiki/mathml.xml
Line Number 8, Column 14:

<msubsup><mo>&Integral;</mo> <mi>a</mi> <mi>b</mi></msubsup>

What's the problem??

Received on Tuesday, 21 September 2004 16:41:15 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:35 UTC