From 0b9d5a1e953c729cabffca514f83273bfd44cc96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martynas=20Jusevi=C4=8Dius?= Date: Fri, 25 Sep 2026 18:36:07 +0200 Subject: [PATCH 1/2] The last three lines naming a vocabulary this project no longer ships. d7cac463 took the ldt: namespace out of the stylesheets and the writer, and 816f4ca3 deleted vocabulary/LDT.java, the bundled ldt.ttl and the prefix-mapping.n3 entry that resolved it. Three lines were left behind. ac:stylesheet carried rdfs:domain ldt:Application. With ldt.ttl gone and the namespace unmapped, that names a class nothing here defines and nothing can resolve - it is inert rather than wrong, since ns.ttl does not owl:imports the namespace, so no fetch is attempted and no error is raised. The domain is dropped rather than repointed: this project has no class of its own to name there, and it must not take a dependency on a LinkedDataHub namespace to borrow one. ProxyRequestFilterTest used two ldt: rel URIs to check that a comma-joined Link header comes back split into one value per link-value. ProxyRequestFilter does not inspect rel at all, so the URIs are arbitrary; they are now example.org. LinkedDataHub reads ns.ttl out of the published client jar, so this reaches it on the next release and dependency bump. Nothing waits on that: the reference is dangling, not dereferenced. Co-Authored-By: Claude Opus 5 (1M context) --- src/main/resources/com/atomgraph/client/ns.ttl | 2 -- .../client/filter/request/ProxyRequestFilterTest.java | 6 +++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/main/resources/com/atomgraph/client/ns.ttl b/src/main/resources/com/atomgraph/client/ns.ttl index 58c13e39..d9ebce05 100644 --- a/src/main/resources/com/atomgraph/client/ns.ttl +++ b/src/main/resources/com/atomgraph/client/ns.ttl @@ -4,7 +4,6 @@ @prefix rdfs: . @prefix xsd: . @prefix owl: . -@prefix ldt: . # ONTOLOGY @@ -25,7 +24,6 @@ rdfs:isDefinedBy : . :stylesheet a owl:ObjectProperty ; - rdfs:domain ldt:Application ; rdfs:label "XSLT stylesheet" ; rdfs:isDefinedBy : . diff --git a/src/test/java/com/atomgraph/client/filter/request/ProxyRequestFilterTest.java b/src/test/java/com/atomgraph/client/filter/request/ProxyRequestFilterTest.java index eaca8749..21615292 100644 --- a/src/test/java/com/atomgraph/client/filter/request/ProxyRequestFilterTest.java +++ b/src/test/java/com/atomgraph/client/filter/request/ProxyRequestFilterTest.java @@ -76,15 +76,15 @@ public void testOverlayHeadersSplitsCombinedLink() // upstream sends one comma-joined Link line; each link-value must come out as its own header // value, because Link.valueOf() (the writer's parser) only reads a single link-value Response upstream = Response.ok(). - header(HttpHeaders.LINK, "; rel=https://www.w3.org/ns/ldt#ontology, ; rel=https://www.w3.org/ns/ldt#base"). + header(HttpHeaders.LINK, "; rel=https://example.org/ns#ontology, ; rel=https://example.org/ns#base"). build(); Response response = filter.overlayHeaders(Response.ok().build(), upstream, true); List linkValues = response.getHeaders().get(HttpHeaders.LINK); assertEquals(2, linkValues.size()); - assertEquals("; rel=https://www.w3.org/ns/ldt#ontology", linkValues.get(0).toString()); - assertEquals("; rel=https://www.w3.org/ns/ldt#base", linkValues.get(1).toString()); + assertEquals("; rel=https://example.org/ns#ontology", linkValues.get(0).toString()); + assertEquals("; rel=https://example.org/ns#base", linkValues.get(1).toString()); } @Test From 8973944970225c739b462e60f2d6fee817a9ffc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martynas=20Jusevi=C4=8Dius?= Date: Fri, 25 Sep 2026 19:13:23 +0200 Subject: [PATCH 2/2] Core version bump --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c6345914..3fcffa4b 100644 --- a/pom.xml +++ b/pom.xml @@ -118,7 +118,7 @@ ${project.groupId} core - 5.0.4 + 5.0.5