cdanielou / simile-widgets

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

Timeline does not load xml file in Chrome but works in Firefox (JavaScript error) #362

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Loading the timeline in Chrome

What is the expected output? What do you see instead?
Expected to see timeline with locally stored xml. Instead the following error 
was reported : caught exception : typeerror : cannot read property 
"documentElement" of null [image = 
http://i96.photobucket.com/albums/l164/Jubei71/PC/Screenshots/Timeline-
JavaScript-Error.jpg.

The timeline and associated xml file loads properly in Firefox 3.0.17 on the 
same system.

What version of the product are you using? On what browser and what
operating system?
Using Windows XP and the error took place on Google Chrome (5.0.342.8)

Please provide any additional information below.

Original issue reported on code.google.com by ymye...@gmail.com on 30 Mar 2010 at 3:08

Attachments:

GoogleCodeExporter commented 8 years ago
Older versions of Timeline-- ones where the code is not minified-- have this 
error. The latest version of Timeline (which is also minified) does not.

Original comment by Classica...@gmail.com on 28 Jun 2010 at 2:50

GoogleCodeExporter commented 8 years ago
I had the same problem

Original comment by sacros...@gmail.com on 9 Jan 2011 at 3:31

GoogleCodeExporter commented 8 years ago

Original comment by ryan...@csail.mit.edu on 23 Jun 2011 at 9:37

GoogleCodeExporter commented 8 years ago
Hi, actually I have the opposite problem. My timeline views fine on Chrome, but 
the xml doesn't seem to load on Firefox or Safari.

(I am using 2.3.0 - also tried 2.3.1).

The timeline style and scripts all working ok, no errors are issued but the 
events simply don't show up.

Any ideas?
Thanks.

Original comment by sphin...@gmail.com on 20 Feb 2012 at 11:35

GoogleCodeExporter commented 8 years ago
I had the same problem, no display on Firefox.

I'm using WCF Rest with Json response, but the request headers sent by firefox 
was text/xml.

resolved thanks to 
http://stackoverflow.com/questions/3781512/wcf-4-0-webmessageformat-json-not-wor
king-with-wcf-rest-template

Original comment by marketin...@gmail.com on 1 Mar 2012 at 4:51