NCEAS / eml

Ecological Metadata Language (EML)
https://eml.ecoinformatics.org/
GNU General Public License v2.0
42 stars 15 forks source link

missing template for method/methodStep/software/implementation/distribution/inline #239

Open mbjones opened 7 years ago

mbjones commented 7 years ago

Author Name: gastil gastil (gastil gastil) Original Redmine Issue: 5255, https://projects.ecoinformatics.org/ecoinfo/issues/5255 Original Date: 2010-12-13 Original Assignee: Margaret O'Brien


See http://dev.nceas.ucsb.edu/knb/metacat?action=read&qformat=lter&docid=gastil_test.1.1 and http://dev.nceas.ucsb.edu/knb/metacat?action=read&qformat=lter&docid=gastil_test.1.2

Example EML doc knb-lter-vcr.89.5 has a SAS script included in the EML. John has it under eml/dataset/additionalInfo/section/section/para/literalLayout

That appears in the metacat skin, although the display does not respect the literalLayout. (does not display like ```). That is not today's bug.

Looking at the eml spec, it seemed a more appropriate place to put code would be using the eml software tag. gastil_test.1.1 is in the dev metacat as an example. This is valid EML (according to oXygen) yet this does not properly display in the (dev) metacat skin. I put the SAS code under

method/methodStep/software/implementation/distribution/inline/CDATA

I tried that method section at the whole-dataset level gastil_test.1.1 and at the entity level gastil_test.1.2

The xslt template does not seem to handle either of these. Click on the "Inline Data" link and get this error:

the requested docid '' does not exist
mbjones commented 7 years ago

Original Redmine Comment Author Name: Redmine Admin (Redmine Admin) Original Date: 2013-03-27T21:29:46Z


Original Bugzilla ID was 5255