Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

string check fails for nontrivial binds #28

Open
JDziurlaj opened this issue Dec 16, 2022 · 0 comments
Open

string check fails for nontrivial binds #28

JDziurlaj opened this issue Dec 16, 2022 · 0 comments

Comments

@JDziurlaj
Copy link

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>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant