Description
That causes ApplicationXMLBuilder to load the message into an unbuilt OMElement. This OMElement must be built before it can be imported via ElementHelper utility class. The unit test attached to this JIRA issue demonstrates the problem.
The error is because the OMElement produced by ApplicationXMLBuilder needs to be built before it can be passed to the ElementHelper#importOMElement() method.