NASA-PDS / validate

Validates PDS4 product labels, data and PDS3 Volumes
https://nasa-pds.github.io/validate/
Apache License 2.0
15 stars 11 forks source link

Using -R pds4.bundle on a collection gives odd results #12

Open jordanpadams opened 5 years ago

jordanpadams commented 5 years ago

This shouldn't happen much, but validate -R pds4.bundle gives incorrect WARNINGs if it points to a collection instead of a bundle

% validate -f -R pds4.bundle -t orex/data_hkl0 PDS Validate Tool Report

Configuration: Version 1.14.0 Date 2018-10-24T23:07:03Z

Parameters: Targets file:/Users/rchen/Desktop/orex/data_hkl0/ Rule Type pds4.bundle Severity Level WARNING Recurse Directories true File Filters Used [.xml, .XML] Force Mode on Data Content Validation on Max Errors 100000

Product Level Validation Results

PASS: file:/Users/rchen/Desktop/orex/data_hkl0/collection_tagcams_hkl0.xml

PASS: file:/Users/rchen/Desktop/orex/data_hkl0/cruise_1/20170815T164303S694_ncm_L0S.xml

PASS: file:/Users/rchen/Desktop/orex/data_hkl0/ega/20170922T204112S269_ncm_L0S.xml

PDS4 Bundle Level Validation Results

PASS: file:/Users/rchen/Desktop/orex/data_hkl0/ega/20170922T204112S269_ncm_L0S.xml WARNING [warning.integrity.unreferenced_member] Identifier 'urn:nasa:pds:orex.tagcams:data_hkl0:20170922t204112s269_ncm_l0s.dat::1.0' is not a member of any collection within the given target

PASS: file:/Users/rchen/Desktop/orex/data_hkl0/cruise_1/20170815T164303S694_ncm_L0S.xml WARNING [warning.integrity.unreferenced_member] Identifier 'urn:nasa:pds:orex.tagcams:data_hkl0:20170815t164303s694_ncm_l0s.dat::1.0' is not a member of any collection within the given target

PASS: file:/Users/rchen/Desktop/orex/data_hkl0/collection_tagcams_hkl0.xml WARNING [warning.integrity.unreferenced_member] Identifier 'urn:nasa:pds:orex.tagcams:data_hkl0::1.0' is not a member of any bundle within the given target

Summary:

0 error(s) 3 warning(s)

Message Types: 3 warning.integrity.unreferenced_member

End of Report

jordanpadams commented 5 years ago

orex.zip