openlayers/openlayers — Issue #181: Script protocol doesn't work with Fusion Tables
Author: probins
Created: 2012-01-26 19:01:46+00:00
State: open

I've been trying to use the script protocol to read data on Google's Fusion Tables, but it doesn't work:
Invalid jsonCallback: Must match [a-zA-Z][a-zA-Z0-9_.]*
in other words, it doesn't like having brackets in the callback name.
I could raise this as an issue with Google and ask them to allow brackets, but I'm wondering why registry is an array. GFT works fine with jsonCallback=OpenLayers.Protocol.Script.registry or jsonCallback=OpenLayers.Protocol.Script.callback or even jsonCallback=OpenLayers.Protocol.Script.registry.callback, but not jsonCallback=OpenLayers.Protocol.Script.registry%5B1%5D
You can test with https://www.google.com/fusiontables/api/query?sql=select * from 187777