String  newStem          = _joinStem(stem, extension);
String  newStem          = Stem.constructName(stem, extension);
  private void _processPath(Element e, String stem)     throws  Exception   {    String  extension        = e.getAttribute("extension");    String  displayExtension = e.getAttribute("displayExtension");    String  description      = e.getAttribute("description");    String  newStem          = _joinStem(stem, extension);    if (log.isInfoEnabled()) {      log.info("Creating stem " + newStem);    }    Stem    existingStem      = null;    String  updateAttributes  = e.getAttribute("updateAttributes");    if (_isEmpty(updateAttributes)) {      updateAttributes = options.getProperty("import.data.update-attributes");    }    try {      existingStem = StemFinder.findByName(s, newStem);      if (log.isInfoEnabled()) {        log.info(newStem + " already exists - skipping");      }      if ("true".equals(updateAttributes)) {        if (          !_isEmpty(displayExtension)           && !displayExtension.equals(existingStem.getDisplayExtension())        )         {          existingStem.setDisplayExtension(displayExtension);        }        if (          !_isEmpty(description)          && !description.equals(existingStem.getDescription())        )        {          existingStem.setDescription(description);        }      }    }     catch (StemNotFoundException ex) {    }    if (existingStem == null) {      Stem parent = null;      try {        parent = StemFinder.findByName(s, stem);      }       catch (StemNotFoundException ex) {        if (NS_ROOT.equals(stem)) {          parent = StemFinder.findRootStem(s);        }      }      Stem gs = parent.addChildStem(extension, displayExtension);      if (log.isInfoEnabled()) {        log.info(newStem + " added");      }      if (description != null && description.length() != 0) {        gs.setDescription(description);      }    }    _processPrivileges(e, newStem.replaceAll(NS_ROOT + sep, ""), "naming");    _processNaming(e, newStem.replaceAll(NS_ROOT + sep, ""));    _process(e, newStem.replaceAll(NS_ROOT + sep, ""));  } // private void _processPath(e, stem)