angelazno / google-gdata

Automatically exported from code.google.com/p/google-gdata
0 stars 0 forks source link

Calendar EventFeed SaveToXml and Parse #441

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use a CalendarService object to query a calendar feed (as long as the query 
returns results) and get an EventFeed object back.
2. Declare a memory stream and use it with the SaveToXML function on the 
EventFeed object
3. In a new EventFeed object pass the memory stream to the Parse function  with 
a type of Atom 

What is the expected output? What do you see instead?
The expected output should be that new EventFeed object should have the same 
items in the Entries collection as the first. The actual output is that the 
parse function returns an error stating that the root element is missing. It 
appears as though the xml declaration tag is encoded incorrectly. I was able to 
work around this by manually replacing the declaration tag in my code. Also if 
you were to follow the same steps for the resultant EventFeed of a batch 
request the status codes will not be parsed.

What version of the product are you using? On what operating system?
Version 1.5 Windows 7

Original issue reported on code.google.com by aromero7...@gmail.com on 12 Nov 2010 at 4:59

GoogleCodeExporter commented 8 years ago
Similar things happen with the contact service, only with that service there 
are a host of other issues that happen as well.

Original comment by aromero7...@gmail.com on 2 Dec 2010 at 8:20

GoogleCodeExporter commented 8 years ago
Marking this as Obsolete as there were no updates for a very long time.
Also, please note that the Calendar API released a newer version which is not 
supported by this client library.
Feel free to reopen this if the issue can still be reproduced.

Original comment by ccherub...@google.com on 19 Apr 2012 at 11:17