Skip to content

Commit

Permalink
$request-uri change
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Nov 13, 2023
1 parent 28dc6b9 commit 626e8f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/main/resources/com/atomgraph/linkeddatahub/ldh.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -512,8 +512,7 @@ dh:Item spin:constructor :TitleConstructor, :DescriptionConstructor, :PrimaryTop
CONSTRUCT {
$this rdf:_1 [ a ldh:Content ;
rdf:value ldh:SelectChildren ;
ldh:graph ldh:
rdf:value ldh:SelectChildren
] .
}
WHERE {}""" ;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ exclude-result-prefixes="#all"
</xsl:for-each>

<!-- don't use base-uri() because it's value comes from the last HTML document load -->
<xsl:variable name="request-uri" select="ldh:href($ldt:base, if ($graph) then $graph else ac:absolute-path(xs:anyURI(ixsl:location())), map{}, $content-value)" as="xs:anyURI"/>
<xsl:variable name="request-uri" select="ldh:href($ldt:base, if (starts-with($graph, $ldt:base) then $graph else ac:absolute-path(xs:anyURI(ixsl:location())), map{}, $content-value)" as="xs:anyURI"/>
<xsl:variable name="request" as="item()*">
<ixsl:schedule-action http-request="map{ 'method': 'GET', 'href': ac:document-uri($request-uri), 'headers': map{ 'Accept': 'application/rdf+xml' } }">
<xsl:call-template name="onContentValueLoad">
Expand Down

0 comments on commit 626e8f3

Please sign in to comment.