Whoa, sorry about all those duplicate posts...seems that Google Groups
is acting up today.

-Lane

On May 23, 11:31 am, "Lane LiaBraaten (Google)"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> Glad to see you've mostly worked this out.  The thread you referenced
> points out the subtle difference between XML escaping and HTML
> encoding.  It may be possible to move the XML escaping into the client
> libraries so you don't have to worry about it.
>
> Don't forget about apostrophe (') --> &apos;
>
> Cheers,
> Lane
>
> On May 23, 10:15 am, Marsupi <[EMAIL PROTECTED]> wrote:
>
> > Hi Matt
>
> > Thanks for the hint with the XML-Encode. I found out, that they were
> > discussing this topic here some time ago.
> > see:http://groups.google.com/group/google-calendar-help-dataapi/browse_th...
>
> > I changed my implementation to go with XML-Encoding:
> >       string content = appointment.Notes;
> >       content = content.Replace("\"", "&quot;");
> >       content = content.Replace("<", "&lt;");
> >       content = content.Replace(">", "&gt;");
> >       content = content.Replace("&", "&amp;");
> >       eventEntry.Content.Content = content;
>
> > It works perfect so far.
>
> > Cheers,
> > Adrian
>
> > On 23 Mai, 16:09, "Matt (GooSync)" <[EMAIL PROTECTED]> wrote:
>
> > > Yeah your right Adrian.
>
> > > What a bummer swapping one problem for another.
>
> > > I did find another way around it if you XML encode the "&" as "&amp"
> > > then it works using the regular text content type.
>
> > > I also found that we get the same problem with "<" although that can
> > > be replaced with "&lt" and that works, however the ">" works fine on
> > > its own.
>
> > > I'm not sure if I need to work around this for the moment or wait to
> > > see if Google have a simple fix for it their end.
>
> > > Mattwww.GooSync.com


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data 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-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to