eml-2.0.0beta9 release
scott.chapal@jonesctr.org
scott.chapal at jonesctr.org
Wed Jul 31 10:30:15 PDT 2002
Matt Jones <jones at nceas.ucsb.edu> writes:
> You'll find attached a farsical beta9 example, which neither makes
> much sense nor has it been validated against the schemas -- I
> guarantee there are problems with validity as it is a work in
> progress. And a sideline at the moment at that.
Matt,
Here is a slight re-write of your example document which does
validate. Is this format consistent with the intent of EML2 design?
The geographicCoverage section is commented out -- we couldn't get it
to validate:
Error at line:51, column:30 of
file://test-eml2.0.0beta9-dataset.xml
tag name "boundingCoordinates" is not allowed.
Possible tag names are: <geographicDescription>,<references>
If the strict option is used, the validation fails like this:
element "xs:selector" is missing "xpath" attribute
141:118 at file://eml.xsd
element "xs:selector" is missing "xpath" attribute
158:102 at file://eml.xsd
element "xs:selector" is missing "xpath" attribute
167:99 at file://eml.xsd
failed to load a grammar.
Don't know why.
I've included some output after the XML. The messages about "anyType"
correspond to various xs:element tags w/o type attributes.
We will continue to build a more complex example and then try to
replicate the structure with metadata from our own data.
Thanks,
-Scott
------------------------------------------------------------
<?xml version="1.0"?>
<eml system="knb"
scope="system"
packageId="eml.1"
xmlns="eml:eml-2.0.0beta9"
xmlns:ds="eml:dataset-2.0.0beta9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="eml:eml-2.0.0beta9 eml.xsd">
<ds:dataset id="ds.1">
<shortName xmlns="">Bison test dataset</shortName>
<title xmlns="">Bison dataset from the Montana bison preserve near Ravalli, MT</title>
<creator id="creator.1" xmlns="">
<individualName>
<salutation>Mr.</salutation>
<givenName>Jim</givenName>
<surName>Bob</surName>
</individualName>
<address id="address.1">
<deliveryPoint>123 Bitterroot Ln.</deliveryPoint>
<city>Ravalli</city>
<administrativeArea>MT</administrativeArea>
<postalCode>59xxx</postalCode>
<country>USA</country>
</address>
<phone>406-243-1234</phone>
<electronicMailAddress>jimbob at selway.umt.edu</electronicMailAddress>
<onlineUrl>www.umt.edu/bisonrange</onlineUrl>
</creator>
<metadataProvider xmlns="">
<references>creator.1</references>
</metadataProvider>
<pubDate xmlns="">2001-02-28</pubDate>
<abstract xmlns="">
<paragraph>This is bison data collected at the Ravalli bison preserve
from 1/2/99 to 2/10/01</paragraph>
</abstract>
<keywordSet xmlns="">
<keyword>bison</keyword>
<keyword>buffalo</keyword>
<keyword>ravalli</keyword>
<keyword>preserve</keyword>
</keywordSet>
<distribution xmlns="">
<online>
<url>www.umt.edu/bisondata/data.txt</url>
</online>
</distribution>
<coverage id="coverage.1" xmlns="">
<!-- <geographicCoverage id="geoCov.1">
<boundingCoordinates>
<westBoundingCoordinate>-114.179722</westBoundingCoordinate>
<eastBoundingCoordinate>-114.179001</eastBoundingCoordinate>
<northBoundingCoordinate>47.277222</northBoundingCoordinate>
<southBoundingCoordinate>47.277012</southBoundingCoordinate>
</boundingCoordinates>
</geographicCoverage> -->
<temporalCoverage id="tempCov.1">
<rangeOfDates xmlns="eml:coverage-2.0.0beta9">
<singleDateTime>
<calendarDate xmlns="">1999-01-02</calendarDate>
</singleDateTime>
<singleDateTime>
<calendarDate xmlns="">2001-02-10</calendarDate>
</singleDateTime>
</rangeOfDates>
</temporalCoverage>
<taxonomicCoverage id="taxoCov.1">
<taxonomicClassification xmlns="eml:coverage-2.0.0beta9">
<taxonRankName xmlns="">
Subclass
</taxonRankName>
<taxonRankValue xmlns="">
Theria
</taxonRankValue>
<commonName xmlns="">bison</commonName>
<commonName xmlns="">buffalo</commonName>
<taxonomicClassification>
<taxonRankName xmlns="">
Infraclass
</taxonRankName>
<taxonRankValue xmlns="">
Eutheria
</taxonRankValue>
<taxonomicClassification>
<taxonRankName xmlns="">
Order
</taxonRankName>
<taxonRankValue xmlns="">
Artiodactyla
</taxonRankValue>
<taxonomicClassification>
<taxonRankName xmlns="">
Family
</taxonRankName>
<taxonRankValue xmlns="">
Bovidae
</taxonRankValue>
<taxonomicClassification>
<taxonRankName xmlns="">
subfamily
</taxonRankName>
<taxonRankValue xmlns="">
Bovinae
</taxonRankValue>
</taxonomicClassification>
</taxonomicClassification>
</taxonomicClassification>
</taxonomicClassification>
</taxonomicClassification>
</taxonomicCoverage>
</coverage>
<purpose xmlns="">
<paragraph>To study bison in the MT bison preserve near Ravalli, MT</paragraph>
</purpose>
<contact xmlns="">
<references>creator.1</references>
</contact>
<project xmlns="">
<title>Bison dynamics in the MT and WY wilderness</title>
<personnel>
<references>creator.1</references>
<role>main dude</role>
</personnel>
<personnel id="personnel.1">
<individualName>
<salutation>Mr.</salutation>
<givenName>Joe</givenName>
<surName>Smith</surName>
</individualName>
<role>
researcher
</role>
</personnel>
<personnel id="personnel.2">
<organizationName>University of Montana</organizationName>
<role>main institution</role>
</personnel>
<personnel id="personnel.3">
<organizationName>University of Wyoming</organizationName>
<role>supporting institution</role>
</personnel>
<funding>
<paragraph>NSF Grant 1234567</paragraph>
</funding>
<studyAreaDescription>
<descriptor name="bison" citableClassificationSystem="false">
<descriptorValue>Bison and their effects on environs</descriptorValue>
</descriptor>
</studyAreaDescription>
<designDescription>
<sampling>
<studyExtent>
<coverage>
<references>coverage.1</references>
</coverage>
</studyExtent>
<samplingDescription>
<paragraph>we samples a bunch of stuff</paragraph>
</samplingDescription>
</sampling>
</designDescription>
</project>
<dataTable xmlns="">
<entityName>
bison_range_data
</entityName>
<entityDescription>
bison range data
</entityDescription>
<attributeList>
<attribute id="att.1">
<attributeName>year</attributeName>
<attributeDefinition>The year of collection</attributeDefinition>
<unit>
<customUnit>year</customUnit>
</unit>
<storageType>integer</storageType>
<measurementScale>nominal</measurementScale>
<attributeDomain>
<numericDomain>
<minimum>1900</minimum>
<maximum>2100</maximum>
</numericDomain>
</attributeDomain>
</attribute>
<attribute id="att.2">
<attributeName>site</attributeName>
<attributeDefinition>The site at which the data was collected</attributeDefinition>
<unit>
<customUnit>dimensionless</customUnit>
</unit>
<storageType>string</storageType>
<measurementScale>nominal</measurementScale>
<attributeDomain>
<enumeratedDomain>
<codeList>
<code>HILL</code>
<definition>The hill site</definition>
<code>TWR2</code>
<definition>The TWR2 site</definition>
<code>TRISKEY</code>
<definition>the triskey site</definition>
<code>TRIANGLE</code>
<definition>the triangle site</definition>
</codeList>
</enumeratedDomain>
</attributeDomain>
</attribute>
<attribute id="att.3">
<attributeName>control</attributeName>
<attributeDefinition>control number</attributeDefinition>
<unit>
<customUnit>dimensionless</customUnit>
</unit>
<storageType>integer</storageType>
<measurementScale>ordinal</measurementScale>
<attributeDomain>
<numericDomain>
<minimum>1</minimum>
<maximum>3</maximum>
</numericDomain>
</attributeDomain>
</attribute>
<attribute id="att.4">
<attributeName>plot</attributeName>
<attributeDefinition>the plot number</attributeDefinition>
<unit>
<customUnit>dimensionless</customUnit>
</unit>
<storageType>integer</storageType>
<measurementScale>nominal</measurementScale>
<attributeDomain>
<numericDomain>
<minimum>1</minimum>
<maximum>5</maximum>
</numericDomain>
</attributeDomain>
</attribute>
<attribute id="att.5">
<attributeName>grass</attributeName>
<attributeDefinition>grass index for the observation on the given plot</attributeDefinition>
<unit>
<customUnit>dimensionless</customUnit>
</unit>
<storageType>float</storageType>
<measurementScale>ordinal</measurementScale>
<attributeDomain>
<numericDomain>
<minimum>0</minimum>
<maximum>50</maximum>
</numericDomain>
</attributeDomain>
</attribute>
<attribute id="att.6">
<attributeName>forb</attributeName>
<attributeDefinition>forb index for the observation on the given plot</attributeDefinition>
<unit>
<customUnit>dimensionless</customUnit>
</unit>
<storageType>float</storageType>
<measurementScale>ordinal</measurementScale>
<attributeDomain>
<numericDomain>
<minimum>0</minimum>
<maximum>50</maximum>
</numericDomain>
</attributeDomain>
</attribute>
<attribute id="att.7">
<attributeName>hoppers</attributeName>
<attributeDefinition>hopper index for the observation on the given plot</attributeDefinition>
<unit>
<customUnit>dimensionless</customUnit>
</unit>
<storageType>float</storageType>
<measurementScale>ordinal</measurementScale>
<attributeDomain>
<numericDomain>
<minimum>0</minimum>
<maximum>200</maximum>
</numericDomain>
</attributeDomain>
</attribute>
<attribute id="att.8">
<attributeName>spec divers</attributeName>
<attributeDefinition>spec index for the observation on the given plot</attributeDefinition>
<unit>
<customUnit>dimensionless</customUnit>
</unit>
<storageType>float</storageType>
<measurementScale>ordinal</measurementScale>
<attributeDomain>
<numericDomain>
<minimum>0</minimum>
<maximum>2</maximum>
</numericDomain>
</attributeDomain>
</attribute>
<attribute id="att.9">
<attributeName>may-sept</attributeName>
<attributeDefinition>divers index for the observation on the given plot</attributeDefinition>
<unit>
<customUnit>dimensionless</customUnit>
</unit>
<storageType>float</storageType>
<measurementScale>ordinal</measurementScale>
<attributeDomain>
<numericDomain>
<minimum>0</minimum>
<maximum>20</maximum>
</numericDomain>
</attributeDomain>
</attribute>
<attribute id="att.10">
<attributeName>tot annual</attributeName>
<attributeDefinition>grass index for the observation on the given plot</attributeDefinition>
<unit>
<customUnit>dimensionless</customUnit>
</unit>
<storageType>float</storageType>
<measurementScale>ordinal</measurementScale>
<attributeDomain>
<numericDomain>
<minimum>0</minimum>
<maximum>50</maximum>
</numericDomain>
</attributeDomain>
</attribute>
<attribute id="att.11">
<attributeName>may-sept</attributeName>
<attributeDefinition>grass index for the observation on the given plot</attributeDefinition>
<unit>
<customUnit>dimensionless</customUnit>
</unit>
<storageType>float</storageType>
<measurementScale>ordinal</measurementScale>
<attributeDomain>
<numericDomain>
<minimum>0</minimum>
<maximum>500</maximum>
</numericDomain>
</attributeDomain>
</attribute>
<attribute id="att.12">
<attributeName>may-june</attributeName>
<attributeDefinition>grass index for the observation on the given plot</attributeDefinition>
<unit>
<customUnit>dimensionless</customUnit>
</unit>
<storageType>float</storageType>
<measurementScale>ordinal</measurementScale>
<attributeDomain>
<numericDomain>
<minimum>0</minimum>
<maximum>200</maximum>
</numericDomain>
</attributeDomain>
</attribute>
</attributeList>
<orientation columnOrRow="rowMajor"/>
<caseSensitive>yes</caseSensitive>
<numberOfRecords>736</numberOfRecords>
</dataTable>
</ds:dataset>
</eml>
------------------------------------------------------------
start parsing a grammar.
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
348:57 at file:eml-project.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
372:80 at file:eml-project.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
406:65 at file:eml-project.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
287:43 at file:eml-literature.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
1270:54 at file:eml-literature.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
897:65 at file:eml-physical.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
397:62 at file:eml-constraint.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
360:39 at file:eml-spatialReference.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
1574:59 at file:eml-spatialReference.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
1586:50 at file:eml-spatialReference.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
1598:49 at file:eml-spatialReference.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
1610:43 at file:eml-spatialReference.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
1623:46 at file:eml-spatialReference.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
1636:56 at file:eml-spatialReference.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
1648:52 at file:eml-spatialReference.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
1663:51 at file:eml-spatialReference.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
1676:51 at file:eml-spatialReference.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
1687:37 at file:eml-spatialReference.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
1699:42 at file:eml-spatialReference.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
1711:43 at file:eml-spatialReference.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
90:49 at file:eml-spatialRaster.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
91:45 at file:eml-spatialRaster.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
92:49 at file:eml-spatialRaster.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
93:45 at file:eml-spatialRaster.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
94:44 at file:eml-spatialRaster.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
136:38 at file:eml-spatialRaster.xsd
"anyType" is implicitly used as the content model of this element.
Is this your intention?
If so, please consider to write it explicitly as type="anyType".
472:55 at file:eml-spatialRaster.xsd
validating test-eml2.0.0beta9-dataset.xml
the document is valid.
--
Scott E. Chapal_________________________________________________
Database & Network Manager scott.chapal at jonesctr.org
J.W. Jones Ecological Research Center 229.734.4706 x227
Rt. 2. Box. 2324. Newton, GA 31770-9651 229.734.6650 :FAX
More information about the Eml-dev
mailing list