W3C home > Mailing lists > Public > www-math@w3.org > May 2002

Specifying variable type in MathML

From: Kamlesh Pandey, Noida <kamleshp@noida.hcltech.com>
Date: Fri, 3 May 2002 01:58:37 -0400 (EDT)
Message-ID: <E04CF3F88ACBD5119EFE00508BBB212102949649@exch-01.noida.hcltech.com>
To: www-math@w3.org
I'm writing a  quation evaluator which takes equations in form of MathML
content markup. 
It can operate on java objects,functions and constants. 

I have some confusion regarding specifying a data type to a external
Can I extends types defined in MathML?

For example I have a variable 'd' of type "Date" and I want to check if date
is equal to some other date.
Assuming I can process <eq/> correctly depending on data type, is the
following representation correct?
<ci type="Date" definitionURL="URI of definition of Date">d</ci>
<cn type="Date" definitionURL="URI of definition of Date">03-05-2002</cn>

or I should declare the variable to  be of "Date" type?
<declare type="Date" definitionURL="URI of definition of Date">
<ci> d </ci>

Received on Sunday, 5 May 2002 15:34:25 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:27:32 UTC