You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Benson (JIRA)" <ji...@apache.org> on 2010/02/28 18:27:05 UTC
[jira] Resolved: (JXPATH-130) I would like to be able to create a
varargs extension function.
[ https://issues.apache.org/jira/browse/JXPATH-130?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Benson resolved JXPATH-130.
--------------------------------
Resolution: Not A Problem
> I would like to be able to create a varargs extension function.
> ---------------------------------------------------------------
>
> Key: JXPATH-130
> URL: https://issues.apache.org/jira/browse/JXPATH-130
> Project: Commons JXPath
> Issue Type: Improvement
> Affects Versions: 1.2 Final
> Reporter: Bob Lyons
> Fix For: 1.2 Final
>
>
> I was not able to create an extension function that has a variable number of arguments.
> I'd like to create an extension function that returns true if the first argument is equal to any of the other arguments.
> For example:
> ns:firstArgIsInList( node, 1, 2, 3, 4, 5 )
> which would return true if node is equal to 1, 2, 3, 4 or 5.
> Thanks.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.