On Wed, Apr 02, 2008 at 09:43:47PM -0700, Austin (Google) said:
> Make sure you have all the correct namespaces declared (including
> default namespace).

I've tried sending this

  <atom:entry xmlns:atom="http://www.w3.org/2005/Atom";>
    <atom:category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/g/2005#message";></atom:category>
    <atom:content type="text">test comment</atom:content>
    <atom:author>
      <atom:name>Simon Wistow</atom:name>
      <atom:email>[EMAIL PROTECTED]</atom:email>
    </atom:author>
  </atom:entry>

as part of the updated feed. The XML library I'm using doesn't let me 
set more xmlns declarations because, well, they're not used anywhere in 
the element.

Unfortunately it's still whining about 

        400 Bad Request - No authors for comment

Unless I'm being utterly mistaken and that means that there *shouldn't* 
be an author there but (goes to check) no that doesn't fix it either.

Adding the all namespaces to the outlying <feed> doesn't do anything 
either. 

I've tried with a completely new feed setting the namespaces in the 
outer feed

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://purl.org/atom/ns#"; 
xmlns:gd="http://schemas.google.com/g/2005"; 
xmlns:batch="http://schemas.google.com/gdata/batch"; 
xmlns:atom="http://www.w3.org/2005/Atom"; 
xmlns:gCal="http://schemas.google.com/gCal/2005"; 
xmlns:gAcl="http://schemas.google.com/acl/2007";>
  <link type="application/xml" 
rel="http://schemas.google.com/g/2005#post"; 
href="http://www.google.com/calendar/feeds/simon.wistow%40gmail.com/private/full/6c2vs1npt8tna10opd9fj7vb9c/comments"/>
  <atom:entry>
    <atom:category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/g/2005#message";></atom:category>
    <atom:content type="text">test comment</atom:content>
    <atom:author>
      <atom:name>Simon Wistow</atom:name>
      <atom:email>[EMAIL PROTECTED]</atom:email>
    </atom:author>
  </atom:entry>
</feed>


and in the inner entry

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://purl.org/atom/ns#";>
  <link type="application/xml" 
rel="http://schemas.google.com/g/2005#post"; 
href="http://www.google.com/calendar/feeds/simon.wistow%40gmail.com/private/full/6c2vs1npt8tna10opd9fj7vb9c/comments"/>
  <atom:entry xmlns:atom="http://www.w3.org/2005/Atom";>
    <atom:category scheme="http://schemas.google.com/g/2005#kind"; 
term="http://schemas.google.com/g/2005#message";></atom:category>
    <atom:content type="text">test comment</atom:content>
    <atom:author>
      <atom:name>Simon Wistow</atom:name>
      <atom:email>[EMAIL PROTECTED]</atom:email>
    </atom:author>
  </atom:entry>
</feed>

and still that same error message.

I'm kind of at a loss now.



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