You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Matt Benson (JIRA)" <ji...@apache.org> on 2008/02/03 03:16:08 UTC
[jira] Resolved: (JXPATH-109) Namespaced attribute not selected
with wildcard
[ 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.