Skip to main content

resolve_iri

Function resolve_iri 

Source
pub fn resolve_iri(base: &str, relative: &str) -> String
Expand description

Resolve relative against base using RFC 3986 path resolution, without any IRI validation. This intentionally accepts non-standard / “invalid” IRIs so that tokens in the source document can be round-tripped back to the triple store without percent-encoding transformations.