UID=attr.getValue(UID_ATTR);
UID=UID.toUID(attr.getValue(UID_ATTR));
  public void openTag(String name, Attributes attr, String data)    throws UnexpectedXMLException{    try{      if(name.equals(NAME_TAG)){	UID=attr.getValue(UID_ATTR);      }else if(name.equals(SEGMENT_TAG)){        String attrVal = attr.getValue(SEGMENT_LOC_ATTR);        if (attrVal != null) {          addSegmentLocID(attrVal);        }      }else{	throw new UnexpectedXMLException("Unexpected tag: "+name);          }    }catch(NumberFormatException e){      throw new UnexpectedXMLException("Could not parse number: "+e);    }  }