- From: Thomas Fischbacher <Thomas.Fischbacher@Physik.Uni-Muenchen.DE>
- Date: Wed, 12 May 2004 15:59:34 +0200 (CEST)
- To: site-comments@w3.org
If a MathML newbie like me has a very specific problem, such as
auto-generating XML code to display formulae with lots of overbars and
such in them, then _certain_ pages such as
http://www.w3.org/Math/testsuite/testsuite/Presentation/TokenElements/mo/moAaccent10.xml
are - to state it mildly - less than helpful by lying about what's going on.
We see on this page (if viewed with a MathML enabled browser) a formula
with a few overbars in it, and below a block of XML code that claims to be
the source for that formula. Alas, it is not.
Rather, the math part is:
<mrow>
<mover>
<mrow>
<mi>G</mi>
<mo>-</mo>
<mn>1</mn>
</mrow>
<mo accent="false">¯</mo>
</mover>
<mo accent="false">+</mo>
<mover accent="true">
<mrow>
<mi>G</mi>
<mo>-</mo>
<mn>1</mn>
</mrow>
<mo accent="false">¯</mo>
</mover>
<mo accent="true">+</mo>
<mover accent="false">
<mrow>
<mi>G</mi>
<mo>-</mo>
<mn>1</mn>
</mrow>
<mo accent="false">¯</mo>
</mover>
</mrow>
</math>
and the text claims the math part to be:
<pre>
<math>
<mrow>
<mover>
<mrow>
<mi>G</mi>
<mo>-</mo>
<mn>1</mn>
</mrow>
<mo accent='false'>&OverBar;</mo>
</mover>
<mo accent='false'>+</mo>
<mover accent='true'>
<mrow>
<mi>G</mi>
<mo>-</mo>
<mn>1</mn>
</mrow>
<mo accent='false'>&OverBar;</mo>
</mover>
<mo accent='true'>+</mo>
<mover accent='false'>
<mrow>
<mi>G</mi>
<mo>-</mo>
<mn>1</mn>
</mrow>
<mo accent='false'>&OverBar;</mo>
</mover>
</mrow>
</math>
</pre>
Please notice that the displayed text claims that the XML source uses
<mo accent='false'>‾</mo>
while indeed, it _does_ use
<mo accent="false">¯</mo>
Not only that the documentation makes obviously false claims here -
which is a sin by itself - the ‾ construction does _not_ work with
e.g. the Mozilla version in Debian GNU/Linux 3.0 (Woody).
Now, wouldn't it be much simpler, better, nicer, easier, and more
reliable to auto-generate the "Source is ..." part from the XML math code?
After all, if XML is such a hot thing, this should be no big issue at
all, right?
--
regards, tf@cip.physik.uni-muenchen.de (o_
Thomas Fischbacher - http://www.cip.physik.uni-muenchen.de/~tf //\
(lambda (n) ((lambda (p q r) (p p q r)) (lambda (g x y) V_/_
(if (= x 0) y (g g (- x 1) (* x y)))) n 1)) (Debian GNU)
Received on Wednesday, 12 May 2004 10:37:15 UTC