import java.io.InputStream;
import java.net.URL;
+import java.util.HashMap;
+import java.util.Iterator;
import java.util.List;
-import java.util.*;
+import java.util.Map;
import java.util.Vector;
-import java.text.*;
import mir.util.XMLReader;
-import mir.util.*;
/**
*
}
public XMLReader.SectionHandler startElement(XMLReader.XMLName aTag, Map anAttributes) throws XMLReader.XMLReaderExc {
-// if (aTag.getLocalName().equals("rss")) {
+ if (aTag.getLocalName().equals("rss")) {
return new RSS091SectionHandler(data);
-// }
-// else
-// throw new XMLReader.XMLReaderFailure(new RSSExc("'rss' tag expected"));
+ }
+ else
+ throw new XMLReader.XMLReaderFailure(new RSSExc("'rss' tag expected"));
};
public void endElement(XMLReader.SectionHandler aHandler) throws XMLReader.XMLReaderExc {