W3C home > Mailing lists > Public > www-amaya@w3.org > July to September 1999

Re: MathML parser bug fix.

From: <Irene.Vatton@inrialpes.fr>
Date: Fri, 10 Sep 1999 12:27:53 +0200
Message-Id: <199909101027.MAA02223@tahiti.inrialpes.fr>
To: matmota@linuxfreak.com
cc: www-amaya@w3.org
In-reply-to: Your message of Thu, 09 Sep 1999 23:43:20 +0200."
             <m11PByT-0008f0C@matmota> 
> 
> 	This bug causes Amaya to be unable to recognize the 
> "&DoubleLeftRightArrow;" entity when loading a file.
> 	The cause is in the file "Amaya/amaya/MathMLbuilder.c", in line 
> 30 (for Amaya 2.1), which is:
> 
> typedef UCHAR_T  MathEntityName[20];
> 
> 	The longest entity name, precisely "DoubleLeftRightArrow", is 
> 20 *plus 1* (the ending null) characters long, so this table entry gets 
> corrupted on initialization.
> 	A solution is to make it larger, i.e. 30 characters:
> 
> typedef UCHAR_T  MathEntityName[30];
> 
> 	Whith this change, the above mentioned entity is handled 
> correctrly.
> 
> 	Just my 2 cents.
> -- 
> 	Alberto González Palomo
> 	Toledo, Spain
> 	matmota@linuxfreak.com
> 	agp@diskobolo.mat.ucm.es
> 

OK, that is fixed in the CVS version.
Thanks
  Irene.
Received on Friday, 10 September 1999 06:28:00 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 April 2014 11:01:33 UTC