xinyouqingxi / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

Bug with special Caracter ("&" may be others) in title definition with XML events #459

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. With XML format
2. Special caracter like "&" in event definition => title
3. Caught exception : undefined 
TypeError: D has no properties

Browser independant

Original issue reported on code.google.com by lionel.m...@gmail.com on 23 Nov 2011 at 6:49

GoogleCodeExporter commented 9 years ago
Please add some clarification.  is this a bug in timeline?  exhibit?  do you 
have some sample code that can be included here?  or a link to an example?

Original comment by david.ka...@gmail.com on 25 Nov 2011 at 4:40

GoogleCodeExporter commented 9 years ago
Timeline 2.2.3 error only ; no exhibit or other product.

Exemple in event definition : exemple.xml
<event start="Jul 02 2007 00:00:00 GMT-0000" end="Sep 13 2007 00:00:00 
GMT-0000" durationEvent="true" title="XXX 1.0 XXXX XXX & XXXXX"><!-- The 
event's description --></event>

The "&" in title generate this error :
Caught exception : undefined 
TypeError: D has no properties

Could you give me some help on this subject too : what i have to do to have the 
title in event bar like 
http://simile.mit.edu/timeline/examples/religions/religions.html and not beyond 
event bar like 
http://simile-widgets.googlecode.com/svn/timeline/tags/latest/src/webapp/example
s/test_example2/test_example2.html
is it a version problem or change ? thanx a lot. Timeline is a very good tool, 
better documentation will be perfect !

Original comment by lionel.m...@gmail.com on 26 Nov 2011 at 5:44