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

Entities in test suite .mml files

From: Michael Day <mikeday@yeslogic.com>
Date: Sat, 24 Jan 2004 10:28:05 +1100 (EST)
To: www-math@w3.org
Message-ID: <Pine.LNX.4.44.0401241014350.31697-100000@lorien.yeslogic.com>


Hi,

There appears to be some discrepancies between the xml and mml files in
the MathML test suite regarding character entities.
Here is a line from mover1.xml:

<mtext> &#x02002;&#x02002;vs&#x02002;&#x02002; </mtext>

Here is the corresponding line from mover1.mml:

<mtext> &#x02002;&amp;#x02002;vs&amp;#x02002;&amp;#x02002; </mtext>

This problem affects the following files:

ErrorHandling/BadChildren/badBvar1.mml
Presentation/GeneralLayout/merror/merrorB3.mml
Presentation/ScriptsAndLimits/mover/mover1.mml
Presentation/ScriptsAndLimits/mover/mover3.mml
Presentation/ScriptsAndLimits/mover/mover2.mml
Presentation/ScriptsAndLimits/munder/munder2.mml
Presentation/TokenElements/mtext/mtext2.mml
Presentation/TokenElements/mtext/mtextspaces7.mml
TortureTests/Complexity/complex3.mml
TortureTests/Complexity/complex4.mml
TortureTests/Complexity/complex1.mml

It only seems to happen when multiple character entity references occur on
the same line. Then all but the first will be redundantly escaped.

Best regards,

Michael

-- 
YesLogic Prince prints XML!
http://yeslogic.com
Received on Friday, 23 January 2004 19:32:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Saturday, 20 February 2010 06:12:55 GMT