Skip Menu |

This queue is for tickets about the Net-Google-Calendar CPAN distribution.

Report information
The Basics
Id: 35565
Status: open
Priority: 0/
Queue: Net-Google-Calendar

People
Owner: Nobody in particular
Requestors: HUDSON [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.94
Fixed in: (no value)



Subject: XML parse error when adding calendar entries
When attempting to add a calendar entry, google reports: 400 Bad Request - org.xml.sax.SAXParseException: The value of the attribute "prefix="xmlns",localpart="default",rawname="xmlns:default"" is invalid. Prefixed namespace bindings may not be empty. - http://www.google.com/calendar/feeds/XXXXXXXXXXXXXXXXXXXXXXXXXX@group.calendar.google.com/private/full?gsessionid=YYYYYYYYYYYYYYYYYYYYYY If I change the value of the xmlns:default in sub _do to anything, it works: $xml =~ s/xmlns:default=""/xmlns:default="foo"/; This may be a problem with the xml generated by XML::Atom, rather than a Net::Google::Calendar bug, but I'm not sure how to fix it there. This is with perl 5.8.8, Net::Google::Calendar 0.94 on i386-linux.
On Thu May 01 09:57:30 2008, HUDSON wrote: Show quoted text
> If I change the value of the xmlns:default in sub _do to anything, it > works: > > $xml =~ s/xmlns:default=""/xmlns:default="foo"/; > > This may be a problem with the xml generated by XML::Atom, rather > than a Net::Google::Calendar bug, but I'm not sure how to fix > it there. > > This is with perl 5.8.8, Net::Google::Calendar 0.94 on i386-linux.
Can you send me a test case that reproduces this? Also, can you try changing the line in new() in Entry.pm from my $self = $class->SUPER::new( Version => '1.0', %opts ); to my $self = $class->SUPER::new( Version => '1.0', Namespace => 'http://www.w3.org/2005/Atom', %opts );