} else if(actionParam != null && actionParam.equals("checkErrors")) {
String retValue = "false";
IDiagramProfile profile = _profileService.findProfile(req, req.getParameter("profile"));
String json = req.getParameter("data");
try {
String xmlOut = profile.createMarshaller().parseModel(json, preProcessingParam);
String jsonIn = profile.createUnmarshaller().parseModel(xmlOut, profile, preProcessingParam);
if(jsonIn == null || jsonIn.length() < 1) {
retValue = "true";
}
} catch (Throwable t) {