System.out.println("ERROR: Something strange happened when parsing the attribute");
    public static Vector parseAttributes(String attrString) throws ServiceLocationException {        Vector attributes = new Vector();        String attr = "";        String rest = attrString;        int i;        while(!rest.equals("")) {            i = rest.indexOf(")");            if(i != -1) attr = rest.substring(1, i);            i = rest.indexOf("(", i);            if(i != -1) {                rest = rest.substring(i+1);            }            else {                rest = "";            }                        // create the current attribute.            String[] a = attr.split("=");            if(a.length != 2) {                System.out.println("ERROR: Something strange happened when parsing the attribute");                throw new ServiceLocationException(ServiceLocationException.PARSE_ERROR);            }            String id = a[0];            String vals = a[1];            Vector values = new Vector();            String[] v = vals.split(",");            for(int k=0; k<v.length; k++) {                values.add(v[k]);            }            ServiceLocationAttribute srvAttr = new ServiceLocationAttribute(id, values);            attributes.add(srvAttr);        }        return attributes;    }