@Override
public void startElement(String uri, String localName, String qName, Attributes attrs) throws SAXException {
Map<String, String> attributes = cleanseAttributes(attrs);
if (equalsOrSuffix(qName, "Task")) {
Resource task = newResource(attributes);
builder.id(task.getId());
builder.type(task.getType());
builder.href(task.getHref());
if (attributes.containsKey("startTime"))
builder.startTime(parseDate(attributes.get("startTime")));
if (attributes.containsKey("endTime"))
builder.endTime(parseDate(attributes.get("endTime")));
builder.status(Task.Status.fromValue(attributes.get("status")));