- From: Bill Naylor <Bill.Naylor@mcs.vuw.ac.nz>
- Date: Mon, 3 Nov 2003 14:22:04 +1300 (NZDT)
- To: www-math@w3.org
Unless I am doing something totally wrong(!) it seems to me that
⁢ is missing from the MathML dtd. In mozilla, the document:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE math
PUBLIC "-//W3C//DTD MathML 2.0//EN"
"http://www.w3.org/Math/DTD/mathml2/mathml2.dtd"
>
<html xmlns:htm="http://www.w3.org/TR/html4/">
<head/>
<body>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi><mo>⁢</mo><mi>y</mi>
</mrow>
</math>
</body>
</html>
gives me the message:
XML Parsing Error: undefined entity
Location: file:///u/staff/bill/doesntwork.mml
Line Number 11, Column 25:
<mi>x</mi><mo>⁢</mo><mi>y</mi>
------------------------^
whereas If I add an Entity def:<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE math
PUBLIC "-//W3C//DTD MathML 2.0//EN"
"http://www.w3.org/Math/DTD/mathml2/mathml2.dtd"
[<!ENTITY InvisibleTimes "⁢">]
>
<html xmlns:htm="http://www.w3.org/TR/html4/">
<head/>
<body>
<math xmlns="http://www.w3.org/1998/Math/MathML">
<mrow>
<mi>x</mi><mo>⁢</mo><mi>y</mi>
</mrow>
</math>
</body>
</html>
I get what I wanted,
cheers
Bill.
Received on Sunday, 2 November 2003 20:22:07 UTC