Check your main Preference dialog for Task Tags pages. Type "task" into the search box in the upper left of the dialog to help you find relevant pages. For XML files, I know that that feature is off by default.
checkbox to activate :
Editors/structured text editors/task tags => check "Enable searching for task tags"
Because a picture worth a thousand words :