Skip to content

Commit 5be0d25

Browse files
namedgraphclaude
andcommitted
Adapt to StylesheetResolver(Client) constructor
Web-Client's StylesheetResolver now takes a plain SSL-configured JAX-RS Client instead of (PrefixGraphRepository, GraphStoreClient) — stylesheet URIs are never location-mapped and a Graph Store Protocol client has no business fetching XSLT. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent a2dd80b commit 5be0d25

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/atomgraph/linkeddatahub/Application.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -857,7 +857,7 @@ protected PasswordAuthentication getPasswordAuthentication()
857857

858858
xsltComp = xsltProc.newXsltCompiler();
859859
xsltComp.setParameter(new QName("ldh", LDH.base.getNameSpace(), LDH.base.getLocalName()), new XdmAtomicValue(baseURI));
860-
xsltComp.setURIResolver(new StylesheetResolver(getRepository(), GraphStoreClient.create(client, mediaTypes))); // resolves xsl:import to raw stylesheet sources
860+
xsltComp.setURIResolver(new StylesheetResolver(client)); // resolves xsl:import to raw stylesheet sources
861861
xsltExec = xsltComp.compile(stylesheet);
862862
}
863863
catch (FileNotFoundException ex)

0 commit comments

Comments
 (0)