Fix for mistake in JaxbTask
(cherry picked from commit 4c91fc77c80338306f4588a627eff7d3582f2008)