}
public void validateElement(TransitionRefs el, List existingErrors, boolean fullCheck)
{
Set outTrans = XMLUtil.getOutgoingTransitions(XMLUtil.getActivity(el));
Split split = (Split)XMLUtil.getParentElement(org.enhydra.shark.xpdl.elements.Split.class, el);
boolean isValid = true;
if(el.size() != outTrans.size() && outTrans.size() > 1 && !split.getType().equals("AND"))
{
isValid = false;
XMLValidationError verr = new XMLValidationError("ERROR", "LOGIC", "ERROR_TRANSITION_REFS_AND_OUTGOING_TRANSITION_NUMBER_MISSMATCH", "", el);
existingErrors.add(verr);
}