String filename = atts.getValue("filename");
final String mimetype = atts.getValue("mimetype");
final String created = atts.getValue("created");
final String modified = atts.getValue("modified");
if (filename == null) filename = name;
<BUG>if (name == null)

throw new SAXException("resource requires a name attribute");
final File f =</BUG>
new File(

String filename = atts.getValue("filename");
final String mimetype = atts.getValue("mimetype");
final String created = atts.getValue("created");
final String modified = atts.getValue("modified");
if (filename == null) filename = name;
if (name == null) {
if (dialog != null)
dialog.displayMessage("Wrong entry in backup descriptor: resource requires a name attribute.");
else
System.err.println("Wrong entry in backup descriptor: resource requires a name attribute.");
}
final File f =
new File(
