Skip to content

string check fails for nontrivial binds #28

@JDziurlaj

Description

@JDziurlaj

in the get-properties template, there is a "shortcut" that does a string comparison of the XPath expressions. As expected, this fails for non-trivial binds (i.e. those with subscripts, use of fn:index(), etc.)

<!-- do a string check here of $nodeset-mod = $binding-nodeset-mod (as a shortcut before performing XPath evaluation) -->
<xsl:when test="$nodeset-mod = $binding-nodeset-mod">
<xsl:sequence select="."/>
<xsl:message use-when="$debugMode">[get-properties mode] Binding found by matching nodeset path '<xsl:sequence select="$nodeset-mod"/>'</xsl:message>
</xsl:when>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions