[seek-dev] eml

Mark Servilla servilla at lternet.edu
Fri Oct 8 08:22:23 PDT 2004


Deana et al,

***Note that Deana is using Morpho 1.5.1 to create the instance document.

It appears that nothing is wrong with the URI string (as far as XML 
goes), but rather the document is not valid against the EML schema.  The 
section of the schema where the document is failing is within the 
"distribution" element (see attached distribution.png).  Apparently, 
when Morpho instantiates it sets all the choices within the distribution 
element (see below).  So, when you saved the document, all of the 
choices within the distribution element are saved - not just the one 
selected.  I have seen this behavior in Morpho when dealing with the 
Tree Editor, but did not realize the resulting problem.  Testing with 
another document, Morpho saved it correctly after toggling the radio 
buttons in the Tree Editor.

<distribution scope="document">
   <online>
    <url function="download">
     srb://seek:/home/beam.seek/IPCC_climate/Present/ccld6190.dat
    </url>
    <connection scope="document">
    <connectionDefinition> </connectionDefinition>
    <references> </references>
    </connection>
    <connectionDefinition scope="document">
     <schemeName> </schemeName>
     <description> </description>
     <parameterDefinition> </parameterDefinition>
     <references> </references>
    </connectionDefinition>
   </online>
   <offline> </offline>
   <inline> </inline>
   <references> </references>
  </distribution>

Sincerely,
Mark

Deana Pennington wrote:

> Does anyone know the correct syntax for pointing an eml file in metacat 
> to data in the srb?  Raja suggested:
> 
> srb://seek:/home/beam.seek/IPCC_climate/Present/ccld6190.dat
> 
> but i get an eml error message.
> 
> Deana
> 
> 
> 

-- 
Mark Servilla, Ph.D.

LTER Network Office
Department of Biology
MSC 03 2020
1 University of New Mexico
Albuquerque, NM 87131-0001

servilla at lternet.edu
Office (505) 277-2619
Cell   (505) 453-8593
-------------- next part --------------
A non-text attachment was scrubbed...
Name: distribution.png
Type: image/png
Size: 10246 bytes
Desc: not available
Url : http://mercury.nceas.ucsb.edu/ecoinformatics/pipermail/seek-dev/attachments/20041008/179e3214/distribution.png


More information about the Seek-dev mailing list