protected void handleAttributes(Attributes atts) throws SAXException {
String id = atts.getValue(ID);
String version = atts.getValue(VERSION);
String classifier = atts.getValue(CLASSIFIER);
try {
artifact = new P2Artifact(id, new Version(version), classifier);
} catch (ParseException e) {
throw new SAXException("Incorrect version on artifact '" + id + "': " + version
+ " (" + e.getMessage() + ")");
}
}