From ae1f0bbab4b7cc7eba12fe72e6fb1cd2770ec54a Mon Sep 17 00:00:00 2001 From: odow Date: Fri, 23 Aug 2024 20:20:31 +1200 Subject: [PATCH] Update --- src/schema.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/schema.jl b/src/schema.jl index 8dc4e8a..88987c6 100644 --- a/src/schema.jl +++ b/src/schema.jl @@ -21,7 +21,7 @@ end function update_id(uri::URIs.URI, s::String) id2 = URIs.URI(s) - if !isempty(id2.scheme) + if !isempty(id2.scheme) || (isempty(uri.uri) && startswith(s, "#")) return id2 end els = type_to_dict(uri)