commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Benson (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JXPATH-77) Added selectNodes / selectSingleNode to CompiledExpression
Date Wed, 31 Jan 2007 17:14:05 GMT

    [ 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: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message