Skip to content

Commit

Permalink
xs:anyURI cast
Browse files Browse the repository at this point in the history
  • Loading branch information
namedgraph committed Nov 13, 2023
1 parent 092953d commit 603b3e9
Showing 1 changed file with 1 addition and 1 deletion.
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(ixsl:location()), map{}, $content-value)" as="xs:anyURI"/>
<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" 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 603b3e9

Please sign in to comment.