Skip to content

Commit

Permalink
In the ldh:base-uri function, make sure to strip the fragment ID fr…
Browse files Browse the repository at this point in the history
…om the `location.href` value
  • Loading branch information
namedgraph committed Jan 4, 2025
1 parent 91aee0e commit c658636
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ exclude-result-prefixes="#all"
<xsl:function name="ldh:base-uri" as="xs:anyURI">
<xsl:param name="arg" as="node()"/> <!-- ignored -->

<xsl:sequence select="xs:anyURI(ixsl:get(ixsl:window(), 'location.href'))"/>
<xsl:sequence select="ac:document-uri(ixsl:get(ixsl:window(), 'location.href'))"/>
</xsl:function>

<xsl:function name="ldt:base" as="xs:anyURI">
Expand Down

0 comments on commit c658636

Please sign in to comment.