[
https://issues.apache.org/jira/browse/JXPATH-163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Koledzhikov updated JXPATH-163:
-----------------------------------------
Attachment: commons-jxpath.patch
Proposed patch
> String variables cannot be used as indices
> ------------------------------------------
>
> Key: JXPATH-163
> URL: https://issues.apache.org/jira/browse/JXPATH-163
> Project: Commons JXPath
> Issue Type: Bug
> Affects Versions: 1.3
> Reporter: Alexander Koledzhikov
> Priority: Minor
> Attachments: commons-jxpath.patch
>
>
> If I have a string variable, I cannot use it as an index in an xpath query.
> For example, if var = "5", this query will return the 1st element, not the
> fifth:
> /se:someArray[$var]
--
This message was sent by Atlassian JIRA
(v6.1#6144)