AbstractRiseClipseConsole.getConsole().verbose("[NSD validate] LNClass "+lNodeType.getLnClass()+" found for LNodeType at line "+lNodeType.getLineNumber());
@@ -176,11 +178,20 @@ public class NsdEObjectValidator implements EValidator {
.filter(d->"lnNs".equals(d.getName()))
.findAny();
if(da.isPresent()){
Stringvalue=" without value";
if(da.get().getVal().size()>0){
value=" with value [";
for(Valv:da.get().getVal()){
value+=" "+v.getValue();
}
value+=" ]";
}
diagnostics.add(newBasicDiagnostic(
Diagnostic.INFO,
RiseClipseValidatorSCL.DIAGNOSTIC_SOURCE,
0,
"[NSD validate] LNodeType at line "+lNodeType.getLineNumber()+" with lnClass "+lNodeType.getLnClass()+" is specific and has DA \"lnNs\" in DO \"NamPlt\"",
"[NSD validation] LNodeType at line "+lNodeType.getLineNumber()+" with lnClass "+lNodeType.getLnClass()
+" is specific and has DA \"lnNs\" in DO \"NamPlt\""+value,
newObject[]{lNodeType}));
returntrue;
}
...
...
@@ -191,7 +202,7 @@ public class NsdEObjectValidator implements EValidator {
Diagnostic.ERROR,
RiseClipseValidatorSCL.DIAGNOSTIC_SOURCE,
0,
"[NSD validate] LNClass "+lNodeType.getLnClass()+" not found for LNodeType at line "+lNodeType.getLineNumber()
"[NSD validation] LNClass "+lNodeType.getLnClass()+" not found for LNodeType at line "+lNodeType.getLineNumber()