Closed Bug 402888 Opened 18 years ago Closed 17 years ago

Incorrect markup of identifiers in "MathML in Action"

Categories

(www.mozilla.org :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: fcp2007, Unassigned)

References

()

Details

Attachments

(1 file)

In MathML, products of two or more variables should be written like <mrow><mi>x</mi><mo>&InvisibleTimes;</mo><mi>y</mi></mrow> instead of <mi>xy</mi>. The latter form is rendered in upright shape (since it means one identifier consisting of several letters like "sin"). The web page "MathML in Action" is a good place to test installation and configuration of math fonts and MathML. However, this incorrect markup confuses users testing configuration.
For the record, the same issue applies also to items 16 and 17 of "MathML Torture Test" (http://www.mozilla.org/projects/mathml/demo/texvsmml.xhtml). They are reported in Bug 120198 Comment #75 and Bug 120198 Comment #94 and confirmed in Bug 120198 Comment #95, but they have not been fixed.
For the "MathML Torture Test" I have proposed a patch to correct syntactic errors (i.e. make the document W3C-valid... see Bug 267882 Comment #14 ). I did not remember whether I take into account the error you mention. Anyway my patch has not been applied yet. For the two other reports in Bug 120198 , I add that the "d" should in fact be rendered using the symbol "ⅆ" (DifferentialD). See http://www.maths-informatique-jeux.com/international/mathml_test/integrals_and_differentials.xml
karlt, can you review the patch?
Status: UNCONFIRMED → NEW
Component: *.mozilla.org → www.mozilla.org
Ever confirmed: true
Product: Websites → mozilla.org
QA Contact: other-mozilla-org → www-mozilla-org
Version: unspecified → other
Comment on attachment 287712 [details] [diff] [review] A proposed patch to fix the problem in markup This looks fine if xy and xyz are really intended to be products of x and y (and z), but do we know that is really the intention? Is the hat an operator (implying rate perhaps)? Or is the hat in fact just part of the multi-character identifier to distinguish from a corresponding identifier without the hat?
Attachment #287712 - Flags: review?(rbs)
Comment on attachment 287712 [details] [diff] [review] A proposed patch to fix the problem in markup I'm going to agree with you that xy and xyz are probably intended to be products of x and y (and z), as xy and xyz would be strange multi-character identifiers. PLease add the checkin-needed keyword if you do not have a cvs account yourself.
Attachment #287712 - Flags: review?(rbs) → review+
> PLease add the checkin-needed keyword if you do not have a cvs account > yourself. If "you" refers to me, I do not have a cvs account myself.
Checked in, thank you.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Product: mozilla.org → Websites
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: