You seem fairly clear that the problem is the validation of this xml. Have you checked that? It seems unlikely because I can create a calendar with your xml. Here it is: http://www.google.com/calendar/feeds/suegisamt05kbu1gfohikpth8g%40group.calendar.google.com/public/basic The code that you have shown us isn't doing any feed parsing of this xml, so it is unlikely to be throwing a com.sun.syndication.io.ParsingFeedException based on it. Finally, I wouldn't say it is totally impossible, but I am not able to get Google to return a Java exception by passing it mal-formed url.
Are you certain that the error you are getting isn't in parsing the xml that Google returns to you? What exact does the http traffic between your code and Google look like? Here's what I get back from Google after creating the calendar above: <?xml version='1.0' encoding='utf-8'?> <entry xmlns='http://www.w3.org/2005/Atom' xmlns:gCal='http://schemas.google.com/gCal/2005' xmlns:gd='http://schemas.google.com/g/2005' gd:etag='W/"CEAFRH47eCp7I2A9WxJaGEg."'> <id> http://www.google.com/calendar/feeds/default/calendars/suegisamt05kbu1gfohikpth8g%40group.calendar.google.com </id> <published>2009-08-09T21:18:35.970Z</published> <updated>2009-08-09T21:18:35.000Z</updated> <app:edited xmlns:app='http://www.w3.org/2007/app'> 2009-08-09T21:18:35.000Z</app:edited> <category scheme='http://schemas.google.com/g/2005#kind' term='http://schemas.google.com/gCal/2005#calendarmeta' /> <title>P-Budget</title> <summary>This calendar was created for the Cal-Budget iGoogle gadget.</summary> <content type='application/atom+xml;type=feed' src=' http://www.google.com/calendar/feeds/suegisamt05kbu1gfohikpth8g%40group.calendar.google.com/private/full' /> <link rel='alternate' type='application/atom+xml' href=' http://www.google.com/calendar/feeds/suegisamt05kbu1gfohikpth8g%40group.calendar.google.com/private/full' /> <link rel='http://schemas.google.com/gCal/2005#eventFeed' type='application/atom+xml' href=' http://www.google.com/calendar/feeds/suegisamt05kbu1gfohikpth8g%40group.calendar.google.com/private/full' /> <link rel='http://schemas.google.com/acl/2007#accessControlList' type='application/atom+xml' href=' http://www.google.com/calendar/feeds/suegisamt05kbu1gfohikpth8g%40group.calendar.google.com/acl/full' /> <link rel='self' type='application/atom+xml' href=' http://www.google.com/calendar/feeds/default/owncalendars/full/suegisamt05kbu1gfohikpth8g%40group.calendar.googl e.com' /> <link rel='edit' type='application/atom+xml' href=' http://www.google.com/calendar/feeds/default/owncalendars/full/suegisamt05kbu1gfohikpth8g%40group.calendar.googl e.com' /> <author> <name>P-Budget</name> </author> <gCal:timezone value='UTC' /> <gCal:timesCleaned value='0' /> <gCal:hidden value='false' /> <gCal:color value='#2952A3' /> <gCal:selected value='false' /> <gCal:accesslevel value='owner' /> <gd:where valueString='London, Eng, United Kingdom' /> </entry> On Fri, Aug 7, 2009 at 12:46 PM, Phyrefly <[email protected]> wrote: > var newCal = ''; > // newCal = newCal + '<?xml version="1.0" encoding="UTF-8"?>'; > // newCal = newCal + '<feed xmlns="http://www.w3.org/2005/Atom"'; > // newCal = newCal + > 'xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"'; > // newCal = newCal + 'xmlns:gCal="http://schemas.google.com/gCal/2005"'; > // newCal = newCal + 'xmlns:gd="http://schemas.google.com/g/2005">'; > // newCal = newCal + '<updated>2009-08-06T12:25:03.873Z</updated>'; > // newCal = newCal + '<category scheme=" > http://schemas.google.com/g/2005#kind"'; > // newCal = newCal + > 'term="http://schemas.google.com/gCal/2005#calendarmeta"/>'; > newCal = newCal + '<entry xmlns=\'http://www.w3.org/2005/Atom\''; > newCal = newCal + ' xmlns:gd=\'http://schemas.google.com/g/2005\''; > newCal = newCal + ' xmlns:gCal=\'http://schemas.google.com/gCal/2005\'>'; > newCal = newCal + ' <title type=\'text\'>P-Budget</title>'; > newCal = newCal + ' <summary type=\'text\'>This calendar was created > for the Cal-Budget iGoogle gadget.</summary>'; > // newCal = newCal + ' <gCal:timezone > value=\'Europe/London\'></gCal:timezone>'; > newCal = newCal + ' <gCal:hidden value=\'false\'></gCal:hidden>'; > newCal = newCal + ' <gCal:color value=\'#2952A3\'></gCal:color>'; > //newCal = newCal + ' <gCal:settingsProperty name=\'dateFieldOrder\' > value=\'YMD\'/>'; > //newCal = newCal + ' <gCal:settingsProperty name=\'format24HourTime\' > value=\'true\'/>'; > //newCal = newCal + ' <gCal:dateFieldOrder > value=\'YMD\'></gCal:dateFieldOrder>'; > //newCal = newCal + ' <gCal:format24HourTime > value=\'true\'></gCal:format24HourTime>'; > newCal = newCal + ' <gd:where rel=\'\' label=\'\' > valueString=\'London, Eng, United Kingdom\'></gd:where>'; > newCal = newCal + '</entry>'; > // newCal = newCal + '</feed>'; > Could your tool chain be barfing on something in that xml? Ray --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
