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

itex2MML doesn't support MATHML2.0

From: Li Daobing <lidaobing@gmail.com>
Date: Tue, 21 Sep 2004 23:34:26 +0800
Message-ID: <8eae5a66040921083441913291@mail.gmail.com>
To: www-math@w3.org

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:30:59 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:13:40 UTC