void save(IGanttProject project, TransformerHandler handler) throws SAXException {
AttributesImpl attrs = new AttributesImpl();
startElement("allocations", handler);
Task[] tasks = project.getTaskManager().getTasks();
for (int i = 0; i < tasks.length; i++) {
Task task = tasks[i];
ResourceAssignment[] assignments = task.getAssignments();
for (int j = 0; j < assignments.length; j++) {
int task_id = task.getTaskID();
ResourceAssignment next = assignments[j];
Role roleForAssignment = next.getRoleForAssignment();
if (roleForAssignment == null) {
if (next.getResource() instanceof HumanResource) {