<?xml version="1.0" encoding="UTF-8"?>
<qr:qualityReport
  xmlns="eml://ecoinformatics.org/qualityReport"
  xmlns:qr="eml://ecoinformatics.org/qualityReport"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="eml://ecoinformatics.org/qualityReport http://svn.lternet.edu/svn/NIS/documents/schemas/quality/qualityReportSchema.xsd"
  >
  <creationDate>2012-03-12T11:05:43</creationDate>
  <packageId>knb-lter-lno.4034.3</packageId>
  <includeSystem>knb</includeSystem>
  <includeSystem>lter</includeSystem>
  <datasetReport>
    <qualityCheck qualityType="metadata" system="lter" statusType="error" >
      <identifier>packageIdPattern</identifier>
      <name>packageId pattern matches "scope.identifier.revision"</name>
      <description>Check against LTER requirements for scope.identifier.revision</description>
      <expected>'knb-lter-abc.n.m', where 'abc' is an LTER site acronym and 'n' and 'm' are whole numbers</expected>
      <found>knb-lter-lno.4034.3</found>
      <status>valid</status>
      <explanation></explanation>
      <suggestion></suggestion>
      <reference></reference>
    </qualityCheck>
    <qualityCheck qualityType="metadata" system="lter" statusType="error" >
      <identifier>emlVersion</identifier>
      <name>EML version 2.1.0 or beyond</name>
      <description>Check the EML document declaration for version 2.1.0 or higher</description>
      <expected>eml://ecoinformatics.org/eml-2.1.0 or eml://ecoinformatics.org/eml-2.1.1</expected>
      <found>eml://ecoinformatics.org/eml-2.1.0</found>
      <status>valid</status>
      <explanation>Validity of this quality report is dependent on this check being valid.</explanation>
      <suggestion></suggestion>
      <reference></reference>
    </qualityCheck>
    <qualityCheck qualityType="metadata" system="lter" statusType="error" >
      <identifier>duplicateEntityName</identifier>
      <name>There are no duplicate entity names</name>
      <description>Checks that content is not duplicated by other entityName elements in the document</description>
      <expected>entityName is not a duplicate within the document</expected>
      <found>No duplicates found</found>
      <status>valid</status>
      <explanation>Data Manager requires a non-empty, non-duplicate entityName value for every entity</explanation>
      <suggestion>Declare a non-empty entityName and ensure that there are no duplicate entityName values in the document</suggestion>
      <reference>http://knb.ecoinformatics.org/software/eml/eml-2.1.0/eml-dataTable.html#numberOfRecords</reference>
    </qualityCheck>
  </datasetReport>
  <entityReport>
    <entityName>NoneSuchBugCount</entityName>
    <entityId>xyz</entityId>
    <qualityCheck qualityType="metadata" system="knb" statusType="error" >
      <identifier>fieldDelimiterValid</identifier>
      <name>Field delimiter is a single character</name>
      <description>Field delimiters should be one character only</description>
      <expected>A single character is expected</expected>
      <found>,</found>
      <status>valid</status>
      <explanation>A valid fieldDelimiter value was found</explanation>
      <suggestion></suggestion>
      <reference>http://knb.ecoinformatics.org/software/eml/eml-2.1.0/eml-physical.html#fieldDelimiter</reference>
    </qualityCheck>
    <qualityCheck qualityType="data" system="knb" statusType="info" >
      <identifier>displayDownloadData</identifier>
      <name>Display downloaded data</name>
      <description>Display the first kilobyte of data that is downloaded</description>
      <expected>Up to one kilobyte of data should be displayed</expected>
      <found><![CDATA[
Blue Field,1998,4.5
Yellow Field,1998,3.45
Red Field,1998,6.75
Blue Field,1999,4.8
Yellow Field,1999,3.45
Red Field,1999,6.5
Blue Field,2000,4.52
Yellow Field,2000,3.48
Red Field,2000,7.5
Blue Field,2001,0.5
Yellow Field,2001,8.75
Red Field,2001,9.5
Blue Field,2002,14.5
Yellow Field,2002,13.45
Red Field,2002,16.5
Blue Field,2003,4.5
Yellow Field,2003,3.45
Red Field,2003,6.75
Blue Field,2004,4.5
Yellow Field,2004,3.45
Red Field,2004,6.75
Blue Field,2005,4.5
Yellow Field,2005,3.45
Red Field,2005,6.75
Blue Field,2006,4.5
Yellow Field,2006,3.45
Red Field,2006,6.75
Blue Field,2007,4.5
Yellow Field,2007,3.45
Red Field,2007,6.75
Blue Field,2008,4.5
Yellow Field,2008,3.45
Red Field,2008,6.75
Blue Field,2009,4.5
Yellow Field,2009,3.45
Red Field,2009,6.75
Blue Field,2010,4.5
Yellow Field,2010,3.45
Red Field,2010,6.75
Blue Field,2011,4.5
Yellow Field,2011,3.45
Red Field,2011,6.75]]></found>
      <status>info</status>
      <explanation></explanation>
      <suggestion></suggestion>
      <reference></reference>
    </qualityCheck>
    <qualityCheck qualityType="congruency" system="knb" statusType="error" >
      <identifier>urlReturnsData</identifier>
      <name>URL returns data</name>
      <description>Checks whether a URL returns data. Unless the URL is specified to be function="information", the URL should return the resource for download.</description>
      <expected>A data entity that matches the metadata</expected>
      <found>notChecked</found>
      <status>valid</status>
      <explanation></explanation>
      <suggestion></suggestion>
      <reference>http://knb.ecoinformatics.org/software/eml/eml-2.1.0/eml-resource.html#UrlType</reference>
    </qualityCheck>
    <qualityCheck qualityType="congruency" system="knb" statusType="error" >
      <identifier>onlineURLs</identifier>
      <name>Online URLs are live</name>
      <description>Check that online URLs return something</description>
      <expected>true</expected>
      <found>true</found>
      <status>valid</status>
      <explanation>Succeeded in accessing URL: <![CDATA[http://svn.lternet.edu/svn/NIS/trunk/DataPackageManager/test/data/NoneSuchBugCount.txt]]></explanation>
      <suggestion></suggestion>
      <reference></reference>
    </qualityCheck>
    <qualityCheck qualityType="metadata" system="knb" statusType="error" >
      <identifier>databaseTableCreated</identifier>
      <name>Database table created</name>
      <description>Status of creating a database table</description>
      <expected>A database table is expected to be generated from the EML attributes.</expected>
      <found>A database table was generated from the attributes description</found>
      <status>valid</status>
      <explanation>CREATE TABLE NoneSuchBugCount("fld" TEXT,"year" TIMESTAMP,"sppm2" FLOAT);</explanation>
      <suggestion></suggestion>
      <reference></reference>
    </qualityCheck>
    <qualityCheck qualityType="data" system="knb" statusType="info" >
      <identifier>displayFirstInsertRow</identifier>
      <name>Display first insert row</name>
      <description>Display the first row of data values to be inserted into the database table</description>
      <expected>The first row of data values should be displayed</expected>
      <found><![CDATA[Blue Field, 1998, 4.5]]></found>
      <status>info</status>
      <explanation></explanation>
      <suggestion></suggestion>
      <reference></reference>
    </qualityCheck>
    <qualityCheck qualityType="congruency" system="knb" statusType="error" >
      <identifier>dataLoadStatus</identifier>
      <name>Data can be loaded into the database</name>
      <description>Status of loading the data table into a database</description>
      <expected>No errors expected during data loading or data loading was not attempted for this data entity</expected>
      <found>The data table loaded successfully into a database</found>
      <status>valid</status>
      <explanation></explanation>
      <suggestion></suggestion>
      <reference></reference>
    </qualityCheck>
    <qualityCheck qualityType="congruency" system="knb" statusType="warn" >
      <identifier>numberOfRecords</identifier>
      <name>Number of records in metadata matches number of rows loaded</name>
      <description>Compare number of records specified in metadata to number of records found in data</description>
      <expected>42</expected>
      <found>42</found>
      <status>valid</status>
      <explanation>The expected number of records (42) was found in the data table.</explanation>
      <suggestion></suggestion>
      <reference></reference>
    </qualityCheck>
  </entityReport>
</qr:qualityReport>