Yes, it should. Per: http://code.google.com/apis/gdata/elements.html#gdOriginalEvent
Frank Mantek Google On Oct 8, 2007, at 2:06 PM, Kulvinder Singh wrote: > I may be wrong regarding this but i am sure that <gd:when> was > available under <gd:originalEvent> > > > Can you anyone check and let me know ? > > Thanks > Kulvinder Singh > > ----- Original Message ---- > From: Kulvinder Singh <[EMAIL PROTECTED]> > To: Google API <[email protected]> > Sent: Monday, October 8, 2007 5:24:35 PM > Subject: New Bug in 1.1.0.0 .NET Calendar API- Please reply ASAP > > Hi, > > I would like to point out a bug in Google Calendar API 1.1.0.0 and > i encountered this when i was testing it for a Recurrence > Exception. I was keep on getting a "Pasing Failed" exception and > when i checked it was > "g:when inside g:originalEvent is required." I checked the feed and > the element was there and the reason was : > > > public When OriginalStartTime > > { > > get > > { > > return FindExtension(GDataParserNameTable.XmlReminderElement, > BaseNameTable.gNamespace) as When; > > } > > set > > { > > ReplaceExtension(GDataParserNameTable.XmlReminderElement, > BaseNameTable.gNamespace, value); > > } > > } > > > > public override IExtensionElement CreateInstance(XmlNode node, > AtomFeedParser parser) > > { > > IExtensionElement ele = base.CreateInstance(node, parser); > > OriginalEvent ev = ele as OriginalEvent; > > if (ev != null) > > { > > if (ev.IdOriginal == null) > > { > > throw new ArgumentException("g:originalEvent/@id is required."); > > } > > > if (ev.OriginalStartTime == null) > > { > > throw new ArgumentException("g:when inside g:originalEvent is > required."); > > } > > } > > return ev; > > } > > > > Note that the actual OriginalStartTime property should look like : > > > > public When OriginalStartTime > > { > > get > > { > > return FindExtension(GDataParserNameTable.XmlWhenElement, > BaseNameTable.gNamespace) as When; > > } > > set > > { > > ReplaceExtension(GDataParserNameTable.XmlWhenElement, > BaseNameTable.gNamespace, value); > > } > > } > > > > Thanks > > Kulvinder Singh > > > Yahoo! oneSearch: Finally, mobile search that gives answers, not > web links. > > > Pinpoint customers who are looking for what you sell. > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
