[
https://issues.apache.org/jira/browse/JXPATH-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469109
]
Matt Benson commented on JXPATH-77:
-----------------------------------
Oh... most likely Dmitri never added these methods onto CompiledExpression
because it's an interface. On the theoretical chance that someone has created
their own CompiledExpression implementation an interface change would break
them. So this would really have to wait for a 2.0 release. Another
alternative is to add some kind of ExtendedCompiledExpression interface but
once we've opened that can of worms, where do we stop? Finally, we could
provide a CompiledExpressionBase abstract class whose only purpose was to
provide piecemeal functionality like this while preserving
backward-compatibility.
I welcome the input of other Jakarta committers on this one... ;)
> Added selectNodes / selectSingleNode to CompiledExpression
> ----------------------------------------------------------
>
> Key: JXPATH-77
> URL: https://issues.apache.org/jira/browse/JXPATH-77
> Project: Commons JXPath
> Issue Type: Improvement
> Affects Versions: 1.2 Final
> Reporter: Simon Raess
> Priority: Minor
> Attachments: patch2.txt
>
>
> CompiledExpression did not have the methods selectNodes / selectSingleNodes.
> The attached patch adds those methods.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]