support baseURI-relative baseURLs