W3C home > Mailing lists > Public > www-math@w3.org > August 1998

Re: Dictionary

From: Robert Miner <rminer@geom.umn.edu>
Date: Mon, 10 Aug 1998 13:50:15 -0500 (CDT)
Message-Id: <199808101850.NAA16117@porthos.geom.umn.edu>
CC: www-math@w3.org
Hi.

Here is my two cents worth on implementing operator dictionaries.

Both David Carlisle and Kostya Serebriany have made recent postings
about their plans for implementing operators dictionaries, since the
MathML spec is a) incomplete/inaccurate when it comes to the entity
listings and operator dictionary, and b) sort of vague as to how it
should be implemented.  

The WebEQ operator dictionary uses Unicode strings for keys.  Thus
"max" consists of three Unicode characters, all of which happen to be
ASCII characters too.  For entities like &langle;, WebEQ first looks
them up in a table to get a Unicode value, and then looks up the
Unicode string containing that single Unicode character in the
dictionary.  

Robert

P.S.  Many thanks to David for posting his entity declarations!
Received on Monday, 10 August 1998 14:46:12 GMT

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