XML Report Example

The following is an example of an XML report:

<?xml version="1.0" encoding="UTF-8"?>
<validateReport>
   <configuration>
      <version>1.13.0-dev</version>
      <date>2017-11-06T18:03:17Z</date>
      <coreSchemas>[PDS4_PDS_1700.xsd]</coreSchemas>
      <coreSchematrons>[PDS4_PDS_1700.sch]</coreSchematrons>
      <modelVersion>1700</modelVersion>
   </configuration>
   <parameters>
      <targets>[file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/]</targets>
      <ruleType>pds4.bundle</ruleType>
      <severityLevel>WARNING</severityLevel>
      <recurseDirectories>true</recurseDirectories>
      <fileFiltersUsed>[*.xml, *.XML]</fileFiltersUsed>
      <forceMode>off</forceMode>
   </parameters>
   <ProductLevelValidationResults>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/bundle.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/bundle_checksums.xml"/>
      <label status="FAIL"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/browse/Collection_browse.xml">
         <dataFile uri="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/browse/Collection_browse_inventory.tab">
            <message record="1" severity="ERROR" table="1">
               <content>Record does not end in carriage-return line feed.</content>
            </message>
         </dataFile>
      </label>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/browse/ele_mom_browse.xml"/>
      <label status="FAIL"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/context/Collection_context.xml">
         <dataFile uri="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/context/Collection_context_inventory.tab">
            <message record="1" severity="ERROR" table="1">
               <content>Record does not end in carriage-return line feed.</content>
            </message>
            <message record="2" severity="ERROR" table="1">
               <content>Record 2 has wrong number of fields (expected 2, got 1)</content>
            </message>
            <message record="3" severity="ERROR" table="1">
               <content>Record does not end in carriage-return line feed.</content>
            </message>
            <message record="4" severity="ERROR" table="1">
               <content>Record 4 has wrong number of fields (expected 2, got 1)</content>
            </message>
         </dataFile>
      </label>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/context/PDS4_host_VG2_1.0.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/context/PDS4_inst_PLS_VG2_1.0.xml">
         <message column="17" line="28" severity="WARNING">
            <content>The value Plasma Analyzer for attribute Instrument.type is deprecated and should not be used.</content>
         </message>
      </label>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/context/PDS4_mission_VOYAGER_1.0.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/context/PDS4_target_JUPITER_1.0.xml"/>
      <label status="FAIL"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/data/Collection_data.xml">
         <dataFile uri="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/data/Collection_data_inventory.tab">
            <message record="1" severity="ERROR" table="1">
               <content>Record does not end in carriage-return line feed.</content>
            </message>
         </dataFile>
      </label>
      <label status="FAIL"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/data/ele_mom_tblChar.xml">
         <message column="47" line="93" severity="ERROR">
            <content>cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element &apos;dph:spacecraft_clock_start_count&apos;.</content>
         </message>
         <message column="46" line="94" severity="ERROR">
            <content>cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element &apos;dph:spacecraft_clock_stop_count&apos;.</content>
         </message>
      </label>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/document/checksums.xml"/>
      <label status="FAIL"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/document/Collection_document.xml">
         <dataFile uri="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/document/Collection_document_inventory.tab">
            <message record="1" severity="ERROR" table="1">
               <content>Record does not end in carriage-return line feed.</content>
            </message>
            <message record="2" severity="ERROR" table="1">
               <content>Record 2 has wrong number of fields (expected 2, got 1)</content>
            </message>
            <message record="3" severity="ERROR" table="1">
               <content>Record does not end in carriage-return line feed.</content>
            </message>
            <message record="4" severity="ERROR" table="1">
               <content>Record 4 has wrong number of fields (expected 2, got 1)</content>
            </message>
         </dataFile>
      </label>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/document/errata.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/document/mission.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/document/plsinst.xml"/>
      <label status="FAIL"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/xml_schema/Collection_xml_schema.xml">
         <dataFile uri="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/xml_schema/Collection_xml_schema_inventory.tab">
            <message record="1" severity="ERROR" table="1">
               <content>Record does not end in carriage-return line feed.</content>
            </message>
         </dataFile>
      </label>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/xml_schema/PDS4_PDS_1700.xml"/>
   </ProductLevelValidationResults>
   <PDS4BundleLevelValidationResults>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/browse/Collection_browse.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/context/Collection_context.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/data/Collection_data.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/document/Collection_document.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/xml_schema/Collection_xml_schema.xml"/>
      <label status="FAIL"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/bundle_checksums.txt">
         <message severity="ERROR">
            <content>File is not valid in bundle root directory</content>
         </message>
      </label>
      <label status="FAIL"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/README.TXT">
         <message severity="ERROR">
            <content>File is not valid in bundle root directory</content>
         </message>
      </label>
      <label status="FAIL"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/document/PLS/INFO.TXT">
         <message severity="ERROR">
            <content>File is not referenced by any label</content>
         </message>
      </label>
      <label status="FAIL"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/document/PLS/PLSINST.LBL">
         <message severity="ERROR">
            <content>File is not referenced by any label</content>
         </message>
      </label>
      <label status="FAIL"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/xml_schema/PDS4_DPH_1700.xsd">
         <message severity="ERROR">
            <content>File is not referenced by any label</content>
         </message>
      </label>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/bundle.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/bundle_checksums.xml">
         <message severity="WARNING">
            <content>Identifier &apos;urn:nasa:pds:example.dph.sample_archive_bundle:bundle:bundle_checksums::1.0&apos; is not a member of any collection within the given target</content>
         </message>
      </label>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/browse/ele_mom_browse.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/context/PDS4_inst_PLS_VG2_1.0.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/xml_schema/PDS4_PDS_1700.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/data/ele_mom_tblChar.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/document/errata.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/document/checksums.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/context/PDS4_target_JUPITER_1.0.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/document/plsinst.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/document/mission.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/context/PDS4_mission_VOYAGER_1.0.xml"/>
      <label status="PASS"
             target="file:/Users/mcayanan/pds4/dph_example_archive_VG2PLS/context/PDS4_host_VG2_1.0.xml"/>
   </PDS4BundleLevelValidationResults>
</validateReport>