code: public String resolve(String url) throws URISyntaxException {
  		int hashIdx = url.indexOf('#');
  		String frag = "";
  		if (hashIdx != -1) {
  			frag = url.substring(hashIdx);
  			url = url.substring(0, hashIdx);
  		}
  		
  		if (baseUrl == null) {
  			// TODO: log ?
  			return url + frag;
  		}
  		
  		try {
  			url = UsableURIFactory.getInstance(baseUrl, url).toString() + frag;
  		} catch (URIException e) {
  			LOGGER.warning("FAILED RESOLVE: base(" + baseUrl + ") frag(" + url +
  					") error(" + e.getMessage() + ")");
  			url = url + frag;
  		}
  		return url;
  	}
docs: Resolve possibly-relative {@code url} with {@code baseUrl} set to
  this object.
  <p>Caveat: this method no longer unescape HTML entities in {@code url}.
  HTML entities must be all unescaped before calling method.</p>
  @param url which should be resolved
  @return absolute URL.
  @throws URISyntaxException if the input URL is malformed