Hi Mark, >From the stack trace, what appears to be happening is that the server is returning some type of 2xx (successful) response to a query feed request, but then the actual response payload doesn't contain a application/atom+xml feed document as expected. Tthe response stream is being passed to the XML parser, which then fails because ithe response is either empty or is not XML.
If your log data contains the actual query URL sent, can you send it to me off-list? I'll try to see if I can see if we can investigate what is happening. -- Kyle On 9/30/06, Mark Swanson <[EMAIL PROTECTED]> wrote: > > Just noticed this in my logs. The gdata API 1.0.3 is creating XML that > can't be parsed by Google's servers. > > Sat 2006/Sep/30 3:32:09.375 > PM|***|http-8080-Processor12|SWSyncSource|java.lang.Exception: sync() > error. Google ServiceException response body: > null > java.lang.Exception: sync() error. Google ServiceException response body: > null > at > com.wss.calendar.sync4j.GoogleCalendarSync.sync(GoogleCalendarSync.java:957) > <snip> > Caused by: com.google.gdata.util.ParseException: > org.xml.sax.SAXParseException: Content is not allowed in prolog. > at com.google.gdata.util.XmlParser.parse(Unknown Source) > at com.google.gdata.util.XmlParser.parse(Unknown Source) > at com.google.gdata.data.BaseFeed.parseAtom(Unknown Source) > at com.google.gdata.client.Service.getFeed(Unknown Source) > at com.google.gdata.client.GoogleService.getFeed(Unknown Source) > at com.google.gdata.client.Service.query(Unknown Source) > at com.google.gdata.client.Service.query(Unknown Source) > at > com.wss.calendar.sync4j.GoogleCalendarSync.getEventFeed(GoogleCalendarSync.java:219) > at > com.wss.calendar.sync4j.GoogleCalendarSync.sync(GoogleCalendarSync.java:594) > ... 28 more > Caused by: org.xml.sax.SAXParseException: Content is not allowed in prolog. > at > com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1269) > at org.xml.sax.helpers.ParserAdapter.parse(ParserAdapter.java:405) > ... 37 more > > It looks like the gdata client has a bug that sends a null/empty > document to the server. > > Cheers. > > -- > http://www.ScheduleWorld.com/tg/ > Free Google Calendar synchronization with Outlook, Evolution, > cell phones, BlackBerry, PalmOS, Exchange, Mozilla, Thunderbird, > Pocket PC/Windows Mobile. Also sync tasks, notes and contacts! > WebDAV, vfreebusy, RSS, LDAP, iCalendar, iTIP, iMIP support. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
