Skip to content

Commit 324b286

Browse files
author
James Leigh
committed
Issue #780: Don't normalize base IRI (keep file:/// syntax)
Signed-off-by: James Leigh <james.leigh@ontotext.com>
1 parent 3a97d41 commit 324b286

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

core/rio/api/src/main/java/org/eclipse/rdf4j/rio/helpers/AbstractRDFParser.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -298,12 +298,12 @@ public DatatypeHandling datatypeHandling() {
298298
}
299299

300300
/**
301-
* Parses and normalizes the supplied URI-string and sets it as the base URI for resolving relative URIs.
301+
* Parses the supplied URI-string and sets it as the base URI for resolving relative URIs.
302302
*/
303303
protected void setBaseURI(String uriSpec) {
304-
// Store normalized base URI
304+
// Store base URI
305305
if (this.baseURI == null || !this.baseURI.toString().equals(uriSpec)) {
306-
this.baseURI = ParsedIRI.create(uriSpec).normalize();
306+
this.baseURI = ParsedIRI.create(uriSpec);
307307
}
308308
}
309309

0 commit comments

Comments
 (0)