You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Simon Raess (JIRA)" <ji...@apache.org> on 2007/01/31 14:34:06 UTC

[jira] Created: (JXPATH-77) Added selectNodes / selectSingleNode to CompiledExpression

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


[jira] Updated: (JXPATH-77) Added selectNodes / selectSingleNode to CompiledExpression

Posted by "Simon Raess (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JXPATH-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Raess updated JXPATH-77:
------------------------------


You're right. I haven't thought about that. I've created a patched version, so I don't really care when this patch will be incorporated. 

> 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


[jira] Updated: (JXPATH-77) Added selectNodes / selectSingleNode to CompiledExpression

Posted by "Matt Benson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JXPATH-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Benson updated JXPATH-77:
------------------------------

    Fix Version/s: post-1.3

> 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
>             Fix For: post-1.3
>
>         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


[jira] Updated: (JXPATH-77) Added selectNodes / selectSingleNode to CompiledExpression

Posted by "Simon Raess (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JXPATH-77?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simon Raess updated JXPATH-77:
------------------------------

    Attachment: patch2.txt

> 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


[jira] Commented: (JXPATH-77) Added selectNodes / selectSingleNode to CompiledExpression

Posted by "Matt Benson (JIRA)" <ji...@apache.org>.
    [ 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


[jira] Commented: (JXPATH-77) Added selectNodes / selectSingleNode to CompiledExpression

Posted by "Matt Benson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JXPATH-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12469092 ] 

Matt Benson commented on JXPATH-77:
-----------------------------------

This would be easier to incorporate with tests.  ;)

> 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