[eml-dev] [Bug 2162] - eml versions and dateTimeDomain requirements

bugzilla-daemon@ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Tue Nov 1 11:30:04 PST 2005


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=2162





------- Additional Comments From bowdish at nceas.ucsb.edu  2005-11-01 11:30 -------
Test sequence for dateTimeDomain error in Morpho 1.6.0 with documents created in
Morpho 1.5.0 that use eml 2.0.0

1. Created an EML file in old version of Morpho 1.5.1

<eml:eml packageId="bowdishOldMorpho.4.2" scope="system" system="knb"
xmlns:eml="eml://ecoinformatics.org/eml-2.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="eml://ecoinformatics.org/eml-2.0.0 eml.xsd">
	<dataset scope="document">

Used the data package wizard included the time setting.
<coverage scope="document">
			<temporalCoverage scope="document">
				<singleDateTime>
					<calendarDate>2005-01-01</calendarDate>
				</singleDateTime>
			</temporalCoverage>
		</coverage>



2.  Imported a table that used the MeasurementScale datetime choice and did not
include the dateTimeDomain

<attribute id="1130871221265" scope="document">
					<attributeName>Date</attributeName>
					<attributeDefinition>Date of Record</attributeDefinition>
					<measurementScale>
						<datetime>
							<formatString>MM-DD-YYYY</formatString>
							<dateTimePrecision>1</dateTimePrecision>
							<dateTimeDomain> </dateTimeDomain>
						</datetime>
					</measurementScale>
				</attribute>


3.  Saved the data package in Morpho 1.5.1

4.  Open the data package in Morpho 1.5.1 with no problems in the editor

5.  Open the data package in Morpho 1.6.0 in the editor and get the following error

Unable to trim following nodes: 		

eml/dataset/(CHOICE)/dataTable/(SEQUENCE)/attributeList/attribute/(SEQUENCE)/measurementScale/(CHOICE)/datetime/dateTimeDomain/id/,


	eml/dataset/(CHOICE)/dataTable/(SEQUENCE)/attributeList/attribute/(SEQUENCE)/measurementScale/(CHOICE)/datetime/dateTimeDomain/

Please check if all the required values are entered and that there are no empty
fields


The EML ID and References Parser at
http://knb.ecoinformatics.org/emlparser/parse says that the document is valid

submitted by Callie Bowdish


More information about the Eml-dev mailing list