[Sandler-develop] AtomDiscovery
Brought to you by:
intabulas
|
From: Steve Q. <li...@na...> - 2004-11-01 19:11:37
|
The current implementation of AtomDiscovery uses the XmlPullParser as the underlying XML parser. Being an XML parser, it doesn't handle non-XML documents very well. So the AtomDiscovery class fails miserably when given an URL that does not return a well formed XHTML document. Are there other XML pull parsers that is more forgiving? I've also included a patch to allow this class to resolve relative URLs. -- Steve ------------------------------------------------------------ "Always ... always remember: Less is less. More is more. More is better. And twice as much is good too. Not enough is bad. And too much is never enough except when it's just about right." -- The Tick ------------------------------------------------------------ |