[kepler-dev] [Bug 3179] - Distinguish "download" and "information" attribute values in eml distributlon online url

bugzilla-daemon@ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Mon Apr 14 18:31:50 PDT 2008


------- Comment #5 from tao at nceas.ucsb.edu  2008-04-14 18:31 -------
Modified the Entity and EML2Parser class. The value of attribute "function" in
distribution url will be stored. In EML2DataSource actor, only the entity with
the "download" function value will be shown, the entity with "information"
value will be skipped.

EML declare "download" value as the default value for attribute "function" in
online url element.  When we insert an eml document into metacat, xerces parser
will automatically added default value - "download" into attribute "function"
if the eml document didn't specify function value. So there are only two
options in Metacat, either "download" or "information". THis make things
So we added a condition with "AND" operator to eml query, it will return the
package only contain "download" value:

Note: we use "EQUALS" as operator. Metacat wouldn't add "%" symbol into the
query. Our db index will work for this part.

More information about the Kepler-dev mailing list