On Jan 8, 4:16 am, Luke Z <[email protected]> wrote:
>
> After some troubleshooting I determined the cause of the problem was a
> "single right quotation mark" character inside of an attribute value
> instead of an intended single quotation (apostrophe) character.  My
> question is, why does this cause the error in IE?

Because it's not part of the character set IE is expecting your XML to
contain. Firefox is more forgiving.

> How would I
> correctly represent this character in an XML attribute if I actually
> wanted it there?

You encode it as &rsquo; -- but that's not an allowed entity, so it
needs to be encoded itself as &amp;rsquo;. That will be read by the
XML parser, the browser gets &rsquo; and will decode that as a right
single quotation mark.

Andrew
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to