Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 0edbddf

Browse files
committed
Fix incorrect usage of concat
1 parent e8ac2fa commit 0edbddf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/main/resources/content/location.xsl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ SOFTWARE.
4444
<xsl:value-of select="concat('@Q{', namespace-uri($context), '}', local-name($context))"/>
4545
</xsl:when>
4646
<xsl:when test="$context/self::text()">
47-
<xsl:value-of select="concat('text()')"/>
47+
<xsl:value-of select="'text()'"/>
4848
<xsl:value-of select="concat('[', $position, ']')"/>
4949
</xsl:when>
5050
<xsl:when test="$context/self::comment()">
51-
<xsl:value-of select="concat('comment()')"/>
51+
<xsl:value-of select="'comment()'"/>
5252
<xsl:value-of select="concat('[', $position, ']')"/>
5353
</xsl:when>
5454
<xsl:when test="$context/self::processing-instruction()">
55-
<xsl:value-of select="concat('processing-instruction()')"/>
55+
<xsl:value-of select="'processing-instruction()'"/>
5656
<xsl:value-of select="concat('[', $position, ']')"/>
5757
</xsl:when>
5858
</xsl:choose>

0 commit comments

Comments
 (0)