resolve-uri($relative as xs:string?) ➔ xs:anyURI?
Resolves a relative URI against the base URI from the static context.
A relative URI reference to be resolved against the static base URI from the context
resolve-uri($relative as xs:string?, $base as xs:string) ➔ xs:anyURI?
Resolves a relative URI against a specified base URI.
A relative URI reference to be resolved against the specified base URI
The base URI used for resolving the relative reference
Links to W3C specifications
Notes on the Saxon implementation
The Saxon implementation recognizes the "jar:file:" URI scheme originally defined by Sun, which was never officially registered and which does not conform to RFC 2396. Technically, because these are not legal URIs, it is non-conformant to accept them, but Saxon does so in the interests of usability.
Saxon does NOT, however, accept Windows file names as URIs.