resolve() must first resolve the URL before proceeding to resolve fragment identifier.