diff --git a/validation-model/src/main/java/org/verapdf/gf/model/impl/pd/GFPDStructElem.java b/validation-model/src/main/java/org/verapdf/gf/model/impl/pd/GFPDStructElem.java index 83646f352..3ca782504 100644 --- a/validation-model/src/main/java/org/verapdf/gf/model/impl/pd/GFPDStructElem.java +++ b/validation-model/src/main/java/org/verapdf/gf/model/impl/pd/GFPDStructElem.java @@ -127,7 +127,8 @@ public String getparentStandardType() { public String getnamespaceAndTag() { StructureType type = ((org.verapdf.pd.structure.PDStructElem)simplePDObject).getStructureType(); if (type != null) { - return (type.getType() != null ? type.getType() : "null") + ":" + (type.getNameSpaceURI() != null ? type.getNameSpaceURI() : "null"); + return String.format("%s:%s", type.getNameSpaceURI() != null ? type.getNameSpaceURI() : "null", + type.getType() != null ? type.getType() : "null"); } return null; }