I'm not sure exactly what encoding is going on, but this: <entry xmlns=''http://www.w3.org/2005/Atom''%20xmlns:gCal=''http:// schemas.google.com/gCal/2009''%3E%3Ccontent%20type=''html''%3ETennis %20with%20John%20December%2023%203pm-3:30pm%3C/content%3E %3CgCal:quickadd%20value=<http://schemas.google.com/gCal/2009''%3E%3Ccontent%20type=''html''%3ETennis %20with%20John%20December%2023%203pm-3:30pm%3C/content%3E %3CgCal:quickadd%20value=>"true"/%3E%3C/entry%3E
is not a properly encoded version of this: <entry xmlns=''http://www.w3.org/2005/Atom' xmlns:gCal=''http:// schemas.google.com/gCal/2009'><content type=''html''>Tennis with John December 23 3pm-3:30pm</content> <gCal:quickadd value="true"/></entry> Something weird is happening. Ray On Tue, Dec 29, 2009 at 10:03 AM, soitjes <[email protected]>wrote: > I try to create an event with the XML as proposed in the > documentation, but I get this error : > > Element type "entry" must be followed by either attribute > specifications, "gt" or "/gt". > > I don't understand, because I simply copy/pasted the example from the > docs. I used a HTTP sniffer, and everything looks ok. This is what > I see through the sniffer : > > > POST http://www.google.com/calendar/feeds/default/private/full HTTP/ > 1.0 > Content-Type: application/atom+xml > Content-Length: 239 > Authorization: GoogleLogin > > Auth=DQAAAIwAAAAjwxdsrskBLCGFfKWuWVjDOABOO01-9JPF6a8CTScDzlVpkDYEsTuAOHNtrljWZPi6g4LyZ6ZF4DjD4TKPLkBq2PWWjd_w- > wT_g26HZyd4vvIGuIKGzFX41I- > qdsGtQAT4LYAfpnLi2QXChtZcES8avCwgW2rL6g56KaVIQYNAzAGfpAyR5EX5a9xzFKuSFBI > Proxy-Connection: keep-alive > Host: www.google.com > Accept: text/html, */* > Accept-Encoding: identity > User-Agent: Mozilla/3.0 (compatible; Indy Library) > Cookie: S=calendar=CwvW3CvuE7otGK-KJWj5ng > > <entry xmlns=''http://www.w3.org/2005/Atom''%20xmlns:gCal=''http:// > schemas.google.com/gCal/2009''%3E%3Ccontent%20type=''html''%3ETennis > %20with%20John%20December%2023%203pm-3:30pm%3C/content%3E > %3CgCal:quickadd%20value="true"/%3E%3C/entry%3E > > > Does somebody see why I get this error ? > > Thanks, > > Soitjes. > > -- > > 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]<google-calendar-help-dataapi%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-calendar-help-dataapi?hl=en. > > > -- 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.
