* normally. Otherwise, throws an RssParseException which halts processing.
*/
protected void checkSyndication() throws RssParseException{
Enumeration enumeration = namespaces.elements();
while(enumeration.hasMoreElements()){
RssNamespace ns = (RssNamespace)enumeration.nextElement();
if(ns!=null){
if(RssSyndication.PREFIX.equals(ns.getPrefix()) && RssSyndication.XMLNS_VALUE.equals(ns.getUri())){
return;
}
}
}
throw new RssParseException("Elements were found using Syndication but its namespace ("+RssSyndication.XMLNS+"=\""+RssSyndication.XMLNS_VALUE+"\") was not specified in the document header");