}
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 {