use base url in resource path parsing