commons-issues 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-105) BasicNodeSet.getNodes() returns values instead of nodes ?
Date Wed, 12 Dec 2007 15:46:43 GMT

    [ https://issues.apache.org/jira/browse/JXPATH-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12550999
] 

Matt Benson commented on JXPATH-105:
------------------------------------

I have committed this fix but still need to add a test to demonstrate the difference.  The
only place in JXPath where the node and value are not the same is in XML models.

> BasicNodeSet.getNodes() returns values instead of nodes ?
> ---------------------------------------------------------
>
>                 Key: JXPATH-105
>                 URL: https://issues.apache.org/jira/browse/JXPATH-105
>             Project: Commons JXPath
>          Issue Type: Bug
>    Affects Versions: Nightly Builds
>         Environment: ALL
>            Reporter: Michele Vivoda
>            Priority: Minor
>
> In BasicNodeSet the method getNodes()  
> adds the values instead of the nodes, using  
> nodes.add(pointer.getValue()); 
> instead of  what I think correct:
> nodes.add(pointer.getNode());
> Michele Vivoda
>            

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message