Menu

#3 Feasibility misspelled in XML files

v0.6.x
open
nobody
General (2)
5
2004-01-07
2004-01-07
No

The tags for the technicalFeasibility and
creativeFeasibility attributes of tasks are misspelled in
ToDoList.java 's toDocument() method.

Fixing this will result in compatibility issues, so perhaps
best to let sleeping dogs lie.

// Feasibility is misspelled.
currentNode.setAttribute(
"technicalFeasability",
String.valueOf(currentItem.getTechnicalFeasibility()));

// Feasibility is misspelled.
currentNode.setAttribute(
"creativeFeasability",
String.valueOf(currentItem.getCreativeFeasibility()));

Options:
1) Do nothing about this. Things continue to work just
fine.
2) Pick some release at which to change the spelling of
the tag, and do not support backwards compatibility to
the old tag name.
3) Fix the spelling of the tag and add versioning to the
document xml such that toDoList s have a
version="blah" attribute. Files not having this attribute
are the original (misspelled tag name) versions. Files
with the attribute have the tag spelled correctly, and
this will allow supporting backwards compatibility of list
xml formats as we change the format to support new
features.

I suggest an approach of 1) until the format needs to
change for some other reason, and then 3) at that time.

Discussion


Log in to post a comment.