Bug #4114
openUpdate stylesheets to improve entityCodeList display
0%
Description
The measurement domain information displayed by Metacat skins and Morpho is cryptic for enumeratedDomains that use entityCodeList. It currently shows internal entity id numbers, which have no meaning to end users.
For reference, here is the relevant part of the EML spec:
http://knb.ecoinformatics.org/software/eml/eml-2.1.0/eml-attribute.html#enumeratedDomain
Example:
1. Browse to http://knb.ecoinformatics.org/knb/metacat/judithk.306/knb
2. Click on View Metadata for the data table "elephantbuffalo2001.txt"
3. In the Attribute(s) Info table, click on the Domain Info link for the "Specie code" attribute
The displayed numbers are internal entity ids for the "MEGAHERBIVORE CENSUS LUT.txt" data table, its 'Code' attribute, and its 'Species' attribute, respectively.
The simplest enhancement is probably to extract and display the relevant table name and code/definition attribute names, instead of the ids. A more extensive modification would be to extract and display the actual codes/definitions directly, but that might not be worth the additional effort.