...
[mir.git] / source / mir / rss / RSS091Reader.java
index 3f8d446..85fd95c 100755 (executable)
@@ -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 {