DomUtil.checkHasXml: use hasXml() instead of getXmlElement()

This commit is contained in:
Yann Cébron
2014-04-01 08:11:47 +02:00
parent 001e5de8dc
commit a8cfc8b18f
@@ -273,7 +273,7 @@ public class DomUtil {
}
private static boolean checkHasXml(XmlElement psi, DomElement dom) {
if (dom != null && dom.getXmlElement() == null) {
if (dom != null && !hasXml(dom)) {
LOG.error("No xml for dom " + dom + "; attr=" + psi + ", physical=" + psi.isPhysical());
return false;
}