Fixed bug in prefix mapping of SyndHandler
This commit is contained in:
parent
d4147fd907
commit
05abff69f1
|
@ -70,7 +70,9 @@ public class SyndHandler extends DefaultHandler {
|
|||
|
||||
@Override
|
||||
public void endPrefixMapping(String prefix) throws SAXException {
|
||||
// TODO remove Namespace
|
||||
if (state.defaultNamespaces.size() > 1 && prefix.equals(DEFAULT_PREFIX)) {
|
||||
state.defaultNamespaces.pop();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -24,6 +24,7 @@ public class FeedHandlerTest extends AndroidTestCase {
|
|||
private static final String FEEDS_DIR = "testfeeds";
|
||||
|
||||
private static final String[] urls = {
|
||||
"http://www.blacksweetstories.com/feed/podcast/",
|
||||
"http://bitlove.org/ranzzeit/ranz/feed",
|
||||
"http://bitlove.org/importthis/mp3/feed",
|
||||
"http://bitlove.org/astro/youtube/feed",
|
||||
|
|
Loading…
Reference in New Issue