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] Resolved: (JXPATH-109) Namespaced attribute not selected with wildcard
Date Sun, 03 Feb 2008 02:16:08 GMT

     [ https://issues.apache.org/jira/browse/JXPATH-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Matt Benson resolved JXPATH-109.
--------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: Nightly Builds)
                   1.3

fixed; rev 617940

> Namespaced attribute not selected with wildcard
> -----------------------------------------------
>
>                 Key: JXPATH-109
>                 URL: https://issues.apache.org/jira/browse/JXPATH-109
>             Project: Commons JXPath
>          Issue Type: Bug
>         Environment: ALL
>            Reporter: Michele Vivoda
>             Fix For: 1.3
>
>
> With expression:
> xml/@*
> On xml:
> <xml xmlns:x='foo' x:pop='a'/>
> selectSingleNode returns null, @x:* works fine.
> Possible Fix:
> In DOMAttributeIterator, line 84
> if (equalStrings(testPrefix, nodePrefix)) {
>                 return true;
>             }
> should probably be changed to
> if (testPrefix==null || equalStrings(testPrefix, nodePrefix)) {
>                 return true;
>             }

-- 
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