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.