Thanks for bringing this up. I didn't realize the change would have this fallout. Could you file a JIRA with a fix version of 1.0 and attach an app to reproduce? I think this can be addressed by using the JAXBElement approach when a contextPath is specified, otherwise relying on the presence of @XMLRootElement on the object being transformed. I can fix this up this week.