[seek-dev] [Bug 2650] New: - ecogrid returnfields need to support more xpath
bugzilla-daemon@ecoinformatics.org
bugzilla-daemon at ecoinformatics.org
Wed Nov 8 10:26:25 PST 2006
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2650
Summary: ecogrid returnfields need to support more xpath
Product: SEEK
Version: unspecified
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P1
Component: ecogrid
AssignedTo: jones at nceas.ucsb.edu
ReportedBy: berkley at nceas.ucsb.edu
QAContact: seek-dev at ecoinformatics.org
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'.
More information about the Seek-dev
mailing list