Hi everyone

When requesting the default calendar for one particular user via the
C# API,
the XML returned appears to be truncated.

The last portion of the data received looks like this

----
<entry>
<id>http://www.google.com/calendar/feeds/default/private/full/
ufq6h322k3vhi88mprp600qqc4</id>
<published>2007-09-25T18:22:49.000Z</
published><updated>2007-09-25T18:25:43.000Z</updated>
<category scheme='http://schemas.google.com/g/2005#kind' term='http://
schemas.google.com/g/2005#event'/>
<title type='text'>some title</title>
<content type='text'/>
<link rel='alternate' type='text/html' href='http://www.google.com/
calendar/event?
eid=dWZxNmgzMjJrM3ZoaTg4bXBycDYwMHFxYzRfMjAwNzEwMDEgdGhpanNqOUBt'
title='alternate'/>
<link rel='self' type='application/atom+xml' href='http://
www.google.com/calendar/feeds/default/private/full/ufq6h322k3vhi88mprp600qqc4'/>
<link rel='edit' ty
----

As you can see, the text ends part way throught the 'type' attribute
of a 'link' element.
This problem occurs every time we request this particular feed.

The API produces the following error:
----
Error: Google.GData.Client.ClientFeedException: Parsing failed --->
System.Xml.XmlException: Unexpected end of file while parsing Name has
occurred. Line 64, position 1244.
   at System.Xml.XmlTextReaderImpl.Throw(Exception e)
   at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
   at System.Xml.XmlTextReaderImpl.Throw(Int32 pos, String res, String
arg)
   at System.Xml.XmlTextReaderImpl.ParseQName(Boolean isQName, Int32
startOffset, Int32& colonPos)
   at System.Xml.XmlTextReaderImpl.ParseAttributes()
   at System.Xml.XmlTextReaderImpl.ParseElement()
   at System.Xml.XmlTextReaderImpl.ParseElementContent()
   at System.Xml.XmlTextReaderImpl.Read()
   at System.Xml.XmlTextReader.Read()
   at Google.GData.Client.BaseFeedParser.NextChildElement(XmlReader
reader, Int32& depth) in \src\core\basefeedparser.cs:line 394
   at Google.GData.Client.AtomFeedParser.ParseLink(XmlReader reader,
AtomBase owner) in \src\core\atomfeedparser.cs:line 629
   at Google.GData.Client.AtomFeedParser.ParseEntry(XmlReader reader)
in \src\core\atomfeedparser.cs:line 680
   at Google.GData.Client.AtomFeedParser.ParseSource(XmlReader reader,
AtomSource source) in \src\core\atomfeedparser.cs:line 257
   at Google.GData.Client.AtomFeedParser.ParseFeed(XmlReader reader,
AtomFeed feed) in \src\core\atomfeedparser.cs:line 128
   at Google.GData.Client.AtomFeedParser.Parse(Stream streamInput,
AtomFeed feed) in \src\core\atomfeedparser.cs:line 88
   --- End of inner exception stack trace ---
   at Google.GData.Client.AtomFeedParser.Parse(Stream streamInput,
AtomFeed feed) in \src\core\atomfeedparser.cs:line 92
   at Google.GData.Client.AtomFeed.Parse(Stream stream,
AlternativeFormat format) in \src\core\atomfeed.cs:line 593
   at Google.GData.Client.Service.Query(FeedQuery feedQuery) in \src
\core\service.cs:line 308
   at Google.GData.Calendar.CalendarService.Query(EventQuery
feedQuery) in \src\gcalendar\calendarservice.cs:line 75
----

The absolute Uri of the query was:
http://www.google.com/calendar/feeds/default/private/full?max-results=9999&start-min=2007-09-26T00%3A00%3A00%2B01%3A00&start-max=2008-04-20T23%3A59%3A59%2B01%3A00

Any suggestions, please?
Wai


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