W3C home > Mailing lists > Public > www-math@w3.org > February 2010

Possible bug in the operator dictionary and mmlalias.ent?

From: Bobby Thomale <bthomale@gmail.com>
Date: Wed, 3 Feb 2010 16:30:51 -0600
Message-ID: <a7ada4d71002031430q149c10c4g20f36972bc576c8d@mail.gmail.com>
To: www-math@w3.org
I have been going through the operator dictionary writing text
descriptions of each mathematical operator. While I was doing this, I
noticed what appears to be an error in the mmlalias.ent file, as well
as the entity tables on the mathml standard website.

At the top of the file it says to report bugs on this list.

If you look at the following entities in mmlalias.ent:

<!ENTITY NotGreater       "&#x0226F;" ><!--alias ISOAMSN ngt -->
<!ENTITY NotGreaterEqual  "&#x02271;" ><!--alias ISOAMSN nge -->
<!ENTITY NotGreaterFullEqual "&#x02266;&#x00338;" ><!--alias ISOAMSN nlE -->
<!ENTITY NotGreaterGreater "&#x0226B;&#x00338;" ><!--alias ISOAMSN nGtv -->

NotGreaterFullEqual is, I believe, in error. If you look at the
glyphs, the symbol being negated: &#x02266; is actually a less than
sign over a full equals.

<!ENTITY LessFullEqual    "&#x02266;" ><!--alias ISOAMSR lE -->

http://www.fileformat.info/info/unicode/char/2266/index.htm

The other "not greater" glyphs are, correctly, variants of greater
than symbols with a negation line through them.

You can also see this problem if you search the following table for
"NotGreaterFullEqual":

http://www.w3.org/TR/MathML/isoamsn.html

Its clearly mapped to "LESS-THAN OVER EQUAL TO with slash." Seems wrong.

Also odd is the fact that NotGreaterFullEqual is defined here and
listed in the operator dictionary, but NotLessFullEqual isn't. There
are 7 entities beginning with "NotGreater..." defined in the operator
dictionary, and only 6 "NotLess..." ones - NotGreaterFullEqual is the
one that does not have a corresponding NotLess... defined.

http://www.w3.org/TR/MathML2/appendixf.html

"&NotGreater;"                       form="infix"
lspace="thickmathspace" rspace="thickmathspace"
"&NotGreaterEqual;"                  form="infix"
lspace="thickmathspace" rspace="thickmathspace"
"&NotGreaterFullEqual;"              form="infix"
lspace="thickmathspace" rspace="thickmathspace"
"&NotGreaterGreater;"                form="infix"
lspace="thickmathspace" rspace="thickmathspace"
"&NotGreaterLess;"                   form="infix"
lspace="thickmathspace" rspace="thickmathspace"
"&NotGreaterSlantEqual;"             form="infix"
lspace="thickmathspace" rspace="thickmathspace"
"&NotGreaterTilde;"                  form="infix"
lspace="thickmathspace" rspace="thickmathspace"


"&NotLess;"                          form="infix"
lspace="thickmathspace" rspace="thickmathspace"
"&NotLessEqual;"                     form="infix"
lspace="thickmathspace" rspace="thickmathspace"
"&NotLessGreater;"                   form="infix"
lspace="thickmathspace" rspace="thickmathspace"
"&NotLessLess;"                      form="infix"
lspace="thickmathspace" rspace="thickmathspace"
"&NotLessSlantEqual;"                form="infix"
lspace="thickmathspace" rspace="thickmathspace"
"&NotLessTilde;"                     form="infix"
lspace="thickmathspace" rspace="thickmathspace"



-- 
Bobby Thomale
Vital Source Technologies
http://www.vitalsource.com
Received on Thursday, 4 February 2010 12:27:57 GMT

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