NumberFormatException in method RSS091UserlandParser,parseImage

Description

Hi,
I changed the method in subject, because if the tags "width" and "height" are
empty cause an NumberFormatException, follows the change:

protected Image parseImage(Element rssRoot) {
Image image = super.parseImage(rssRoot);
if (image!=null) {
Element eImage = getImage(rssRoot);
Element e = eImage.getChild("width",getRSSNamespace());
//Hlix 2/10/2008
//Bug fix: if tag "width" is empty
if (e!=null &&

=null &&

=null) { image.setDescription(e.getText()); }
}
return image;
}

Note: You can test with this rss feed http://www.lastampa.it/redazione/rss_home.xml

Regards
Savo

Environment

None

Status

Assignee

ROME Jira Lead

Reporter

savo

Labels

None

Participants

None

Affects versions

Priority

Major
Configure