|Subject:||XML::Atom chokes on doctypes--from Google Calendar, for example|
Google Calendar returns atoms that begin with "<!doctype html>". I know that's utterly pointless, and it may be a violation of the Atom spec--I haven't checked that--but it results in a fatal error using XML::Atom to parse Google's feeds. XML::Atom needs to handle general SGML directives like doctype gracefully. If it can't, then it should at least accommodate some pretty important feeds by stripping the doctype statement before attempting to parse.