Project

General

Profile

Actions

Bug #2650

open

ecogrid returnfields need to support more xpath

Added by Chad Berkley over 17 years ago. Updated over 17 years ago.

Status:
New
Priority:
Immediate
Assignee:
Category:
ecogrid
Target version:
Start date:
11/08/2006
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2650

Description

When you are dealing with documents that store a lot of information in xml attributes instead of CDATA nodes, it is imperative that xpath attribute queries work correctly. AFAICT, they don't work at all with the ecogrid returnfields. For instance, the element:

<property name="semanticType000" class="org.kepler.sms.SemanticType"
value="urn:lsid:localhost:onto:1:1#Variable">
</property>

The only meaniful way to get one of the attributes values based on another is via an attribute query like:

//property/[@name='semanticType000']/@value

which should return the value attribute of any property node with a name attribute equal to 'semanticType000'.


Related issues

Is duplicate of Metacat - Bug #2380: returnfield system needs to implement more xpathResolvedSaurabh Garg03/09/2006

Actions
Blocks SEEK - Bug #2649: Ecogrid returnfields don't return enough informationNewMatt Jones11/08/2006

Actions
Actions

Also available in: Atom PDF