Gabe,

Thanks so much. I just found the same thing by the inelegant means of 
putting a ] after every list element until it failed to balance. Grep 
would have been much quicker, but I didn't know what I was grepping for.

Jon

On Mon, 6 Aug 2007, Gabriel Durazo wrote:

> Hi Jon,
>
> A quick grep of your json file revealed that several of the names,
> e.g. Pont-De-L'Arche , had single quotes in them. This,
> understandably, would confuse exhibit since it would interpret the
> apostrophe in L'Arche to be the end of the string instead of the
> single quote at the very end of the line.
>
> I don't see any of the places having double quotes in the names,
> however, so why don't you try using double quotes instead of single.
> If the string begins with a double quote, then Javascript will ignore
> any single ones within, and parse it correctly, i.e. "Pont-De-
> L'Arche" should work just fine.
>
> Hope this helps,
> Gabe
>
>
> On Aug 6, 2007, at 7:13 PM, Jon Crump wrote:
>
>> David, Mason, et al.
>>
>> Per your suggestion, I modified my python to emit json. When the page
>> http://home.myuw.net/jjcrump/Timelines/JohnItinerary2.html tries to
>> load
>> it, ff complains:
>>
>> "The page at http://home.myuw.net says:
>>
>> Caught exception: SyntaxError: missing } after property list"
>>
>> Could you, when you have a moment, have a look at
>> http://home.myuw.net/jjcrump/Timelines/Itinerary.js to see if you
>> can see
>> what I've done wrong?
>>
>> Jon
>>
>>
>> _______________________________________________
>> General mailing list
>> [email protected]
>> http://simile.mit.edu/mailman/listinfo/general
>
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general
>
_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to