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

RE: Assignment Vs conditions

From: Plechsmíd Martin <Martin.Plechsmid@merlin.cz>
Date: Fri, 26 Apr 2002 13:59:29 +0200
Message-ID: <E50028F23FC6D3118B7D00609761083F015E7201@merkur.merlin.cz>
To: "'Kamlesh Pandey, Noida'" <kamleshp@noida.hcltech.com>, www-math@w3.org
Maybe I'm mistaken in what <declare> means in MathML, but in general there
is a big difference between assignment and declaration. If you declare
something, the declaration holds forever (in the declaration scope), while
you can reassign a value. You can emulate declarations via assignments, but
not the other way around.

Therefore it doesn't seem to me a good idea to use <declare> for
assignments. This would be a misuse of the <declare> operator, though I
understand that the MathML language probably dosn't offer a better
alternative.

	Martin.


> -----Pùvodní zpráva-----
> Od: Kamlesh Pandey, Noida [mailto:kamleshp@noida.hcltech.com]
> Odesláno: 26. dubna 2002 7:41
> Komu: www-math@w3.org
> Pøedmìt: RE: Assignment Vs conditions
> 
> 
> I thank all of you for our quick and comprehensive reply.
> 
> I'm writing and equation processor and this was the major 
> stumbling block
> for me.
> I've decided to use <declare> for assignment. Although the 
> problem remains
> that it is not
> rendered as per specification. However IBM Techexplorer plugin for IE
> renders <declare>.
> 
> I agree with Tim when he writes
> "I do find it somewhat puzzling that the same element should 
> be used for
> both mere declarations and definitions, but not rendered. Giving an
> identifier a value is probably significant for what follows, 
> so omitting
> the fact when presenting the content to a human seems likely to cause
> confusion"
> 
> I've facing problems with IE plugins in displaying MathML content. 
> Both Techexplorer and mathplayer does not display the content 
> markup example
> shown in the 
> website http://www.w3.org/Math/XSL.
> 	
> I think that the XSL mathml.xsl is doesn't work correctly. 
> Has anyone faced
> similar problems with these plugins?
> Are there any other good plugins available?
> 
Received on Friday, 26 April 2002 08:00:34 GMT

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