bundleCache.clear();
for (Element bundleElement : XmlUtils.findElements("/roobot/bundles/bundle", roobotXml.getDocumentElement())) {
String bsn = bundleElement.getAttribute("bsn");
List<Comment> comments = new LinkedList<Comment>();
for (Element commentElement: XmlUtils.findElements("comments/comment", bundleElement)) {
comments.add(new Comment(Rating.fromInt(new Integer(commentElement.getAttribute("rating"))), commentElement.getAttribute("comment"), dateFormat.parse(commentElement.getAttribute("date"))));
}
Bundle bundle = new Bundle(bundleElement.getAttribute("bsn"), new Float(bundleElement.getAttribute("uaa-ranking")).floatValue(), comments);
for (Element versionElement: XmlUtils.findElements("versions/version", bundleElement)) {
if (bsn != null && bsn.length() > 0 && versionElement != null) {