private boolean findXMLFormatRootNode(Iterator it, BindingOperation bo, String errorPath) {
while (it.hasNext()) {
Object ext = it.next();
if (ext instanceof XMLFormat) {
XMLFormat xmlFormat = (XMLFormat)ext;
// String rootNodeValue = def.getPrefix(def.getTargetNamespace()) + ":" + bo.getName();
QName rootNodeName = new QName(def.getTargetNamespace(), 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);