Fixed in subversion. I pushed new DLLs into subversion as well.

Current plan is to wait until next week and then release an official  
bugfix release. We rewrote a lot of the internal extension mechanisms  
to streamline it, and a few "cut/copy/paste" errors did accidently  
clawed their way into the codebase. My apologies for this.

Frank Mantek
Google
On Oct 8, 2007, at 1:54 PM, Kulvinder Singh wrote:

> 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.
> >


--~--~---------~--~----~------------~-------~--~----~
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