if (loc instanceof DOMLocator) { nodeMessage = "at " + ((DOMLocator) loc).getOriginatingNode().getNodeName() + ' '; } else if (loc instanceof ValidationException && loc.getLineNumber() == -1 && (path = ((ValidationException) loc).getPath()) != null) { nodeMessage = "at " + path + ' '; } else if (loc instanceof Instruction) {
if (loc instanceof DOMLocator) { nodeMessage = "at " + ((DOMLocator) loc).getOriginatingNode().getNodeName() + ' '; } else if (loc instanceof ValidationException && loc.getLineNumber() == -1 && (path = ((ValidationException) loc).getPath()) != null) { nodeMessage = "at " + path + ' '; } else if (loc instanceof Instruction) {
} else if (loc instanceof ValidationException && (node = ((ValidationException) loc).getNode()) != null) { nodeMessage = "at " + node.getDisplayName() + ' '; } else if (loc instanceof ValidationException && loc.getLineNumber() == -1 && (path = ((ValidationException) loc).getPath()) != null) { nodeMessage = "at " + path + ' '; } else if (loc instanceof Instruction) {
} else if (loc instanceof ValidationException && (node = ((ValidationException) loc).getNode()) != null) { nodeMessage = "at " + node.getDisplayName() + ' '; } else if (loc instanceof ValidationException && loc.getLineNumber() == -1 && (path = ((ValidationException) loc).getPath()) != null) { nodeMessage = "at " + path + ' '; } else if (loc instanceof Instruction) {