diff --git a/sbe-tool/src/main/java/uk/co/real_logic/sbe/xml/XmlSchemaParser.java b/sbe-tool/src/main/java/uk/co/real_logic/sbe/xml/XmlSchemaParser.java index f46cc4bbb0..341dbfca28 100644 --- a/sbe-tool/src/main/java/uk/co/real_logic/sbe/xml/XmlSchemaParser.java +++ b/sbe-tool/src/main/java/uk/co/real_logic/sbe/xml/XmlSchemaParser.java @@ -347,12 +347,12 @@ private static String formatLocationInfo(final Node node) return "at " + - "<" + parentNode.getNodeName() + - (getAttributeValueOrNull(parentNode, "name") == null ? - ">" : (" name=\"" + getAttributeValueOrNull(parentNode, "name") + "\"> ")) + - "<" + node.getNodeName() + - (getAttributeValueOrNull(node, "name") == null ? - ">" : (" name=\"" + getAttributeValueOrNull(node, "name") + "\"> ")); + "<" + parentNode.getNodeName() + + (getAttributeValueOrNull(parentNode, "name") == null ? + ">" : (" name=\"" + getAttributeValueOrNull(parentNode, "name") + "\"> ")) + + "<" + node.getNodeName() + + (getAttributeValueOrNull(node, "name") == null ? + ">" : (" name=\"" + getAttributeValueOrNull(node, "name") + "\"> ")); } @FunctionalInterface