Bug 22156 - Attributes can't be selected.
Summary: Attributes can't be selected.
Status: CLOSED FIXED
Alias: None
Product: Xindice
Classification: Unclassified
Component: XPath (show other bugs)
Version: cvs head (1.1)
Hardware: All All
: P3 normal
Target Milestone: ---
Assignee: Xindice Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-06 04:13 UTC by Kevin O'Neill
Modified: 2004-11-16 19:05 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin O'Neill 2003-08-06 04:13:45 UTC
XPath queries in the form //foo/@bar fail due to the way that result sets are
created. 

I've added unit tests that expose the issue.
Comment 1 Kevin O'Neill 2003-08-09 03:43:45 UTC
This has been partially fixed. I'm unsure though if a collection should be seen
as a virtual document for these types of functions. The current solution
provides a result from each document.
Comment 2 Vadim Gritsenko 2004-02-24 15:42:00 UTC
Fixed: If query results in an attribute, attribute is added to the <result> element.