private boolean findXMLFormatRootNode(Iterator it, BindingOperationInfo bo, String errorPath) {
while (it != null && it.hasNext()) {
Object ext = it.next();
if (ext instanceof XMLBindingMessageFormat) {
XMLBindingMessageFormat xmlFormat = (XMLBindingMessageFormat)ext;
QName rootNodeName = bo.getName();
if (xmlFormat.getRootNode() != null) {
if (xmlFormat.getRootNode().equals(rootNodeName)) {
return true;
} else {
addErrorMessage(errorPath
+ ": wrong value of rootNode attribute, the value should be "
+ rootNodeName);