David, I've opened TQL-18 and submitted a patch. It has only received rudimentary testing, and the changes on the xa variant isn't tested at all. I've attached a example datasource plan to the issue.
http://jira.codehaus.org/browse/TQL-18 -- Fredrik Jonson
