fileedit fixed
[mir.git] / source / mir / rss / RSS091Reader.java
index 3f8d446..7e85c69 100755 (executable)
@@ -31,13 +31,13 @@ package mir.rss;
 
 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.*;
 
 /**
  *
@@ -117,11 +117,11 @@ public class RSS091Reader {
     }
 
     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 {