Actions
Bug #2650
openecogrid returnfields need to support more xpath
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
Actions