static {
   oldAttributes.put("application-name", "APPLICATION_NAME"); // $NON-NLS-1$ //$NON-NLS-2$
   oldAttributes.put("workspace-home", "WORKSPACE_HOME"); // $NON-NLS-1$ //$NON-NLS-2$
   oldAttributes.put("info", "INFO"); // $NON-NLS-1$ //$NON-NLS-2$
   oldAttributes.put(XModelObjectConstants.ATTR_NAME_LOCATION, "LOCATION"); // $NON-NLS-1$
   oldAttributes.put("model-path", "MODEL_PATH"); // $NON-NLS-1$ //$NON-NLS-2$
   oldAttributes.put("root", "ROOT"); // $NON-NLS-1$ //$NON-NLS-2$
   oldAttributes.put("web-root", "root"); // $NON-NLS-1$ //$NON-NLS-2$
   oldAttributes.put("src", "SRC"); // $NON-NLS-1$ //$NON-NLS-2$
 }
 public String getAttribute(Element element, String xmlname, XAttribute attr) {
   if (element == null || xmlname == null) return null;
   if (!element.hasAttribute(xmlname)) {
     String oldAttribute = xmlname;
     while (oldAttribute != null) {
       oldAttribute = oldAttributes.get(oldAttribute);
       if (oldAttribute != null && element.hasAttribute(oldAttribute)) {
         xmlname = oldAttribute;
         break;
       }
     }
   }
   return super.getAttribute(element, xmlname, attr);
 }