On May 22, 6:47 pm, stillepost <stillepostad...@gmail.com> wrote:
> On May 21, 5:58 am, Andrew Leach <andrew.leac...@googlemail.com>
> wrote:

> > On May 21, 6:33 am, stillepost <stillepostad...@gmail.com> wrote:
>
> > > If you're so inclined, I'd appreciate any help. Here's an example
> > > event:http://stillepost.ca/calendar/montreal/view_entry2.php?id=1857
>
> > > In this example, here's the string I'm passing to the Javascript,
> > > using GXml.parse (?)
>
> > But you're not passing a string. Strings are delimited by either
> > single or double quotes. You can't do
> >    var xmlDoc = GXml.parse(<?xml version="1.0" encoding="utf-8"
> >    ?><markers>...</markers>);
> > In fact Firefox objects to that with a suitable error message. You
> > could do
> >    var xmlDoc = GXml.parse("<?xml version=\"1.0\" encoding=\"utf-8\"
> >    ?><markers>...</markers>");
> > noting the escaping of quotes inside the string.
>
> Hm... I get you, but Firefox wasn't giving me an error, it just wasn't
> rendering the map.
>
> I've put the XML string in single quotes but it's still not rendering.
> (There are only double quotes in the remainder of the XML.)- Hide quoted text 
> -

IE6 complains about:
Line: 72
Error: Unterminated string constant

because you have a carriage return in the string.

  -- Larry


>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to Google-Maps-API@googlegroups.com
To unsubscribe from this group, send email to 
google-maps-api+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to