Validate the url format of an attribute.