RE: itex2MML doesn't support MATHML2.0

Hello,
The entity ∫ 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">


regards,
 
Bernhard Keil
mailto:Bernhard.Keil@soft4science.com

http://www.soft4science.com
 
  

-----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


Hello,
  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>

</math>

  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">
  <head>
    <title>Optical Radiation</title>
  <body>
<math xmlns='http://www.w3.org/1998/Math/MathML'>
<msubsup><mo>&Integral;</mo> <mi>a</mi> <mi>b</mi></msubsup>

</math>
  </body>
</html>

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??

-- 
http://www.lqqm.net

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