January 26, 2011

google maps api v3

If you get these errors checking the standard google maps example script for W3C XHTML 1.0 Strict compatibility:

'cannot generate system identifier for general entity "callback"
...script.src = "http://maps.google.com/maps/api/js?sensor=false&callback=initialize";
in function loadScript,

you need to put
<!--<![CDATA[

]]>-->
tags around your script. took me quite some time to figure this out...

UPDATE: it's even more complicated, for more info see: http://lachy.id.au/log/2005/05/script-comments
Posted 7 years, 1 month ago on January 26, 2011

geen commentaar mogelijk bij deze post