/** * Parses and normalizes the supplied URI-string and sets it as the base URI * for resolving relative URIs. */ protected void setBaseURI(String uriSpec) { // Store normalized base URI ParsedURI baseURI = new ParsedURI(uriSpec); baseURI.normalize(); setBaseURI(baseURI); }