The two results are different, hinting that the second run does not pick up the catalog file correctly. Indeed, in the second case, the list of parameters printed at the top of the validation report do not include the User Specified Catalogs item.
Expected behavior
Output passing the catalog file via -C option or via validate.catalog should be the same.
Version of Software Used
gov.nasa.pds:validate
Version 1.17.4
Release Date: 2019-10-22 13:54:19
Core Schema: PDS4_PDS_1D00.xsd
Core Schematron: PDS4_PDS_1D00.sch
Copyright 2019, by the California Institute of Technology ("Caltech").
All rights reserved.
Desktop (please complete the following information):
OS: Microsoft Windows 7 Professional 6.1.7601 Service Pack 1 Build 760
Describe the bug It seems that the configuration file attribute
validate.catalog
and the command line parameter-C
are not equivalent.To Reproduce Steps to reproduce the behavior:
validate -c validate.conf -C catalog.xml
validate -c validate.conf
User Specified Catalogs
item.Expected behavior Output passing the catalog file via
-C
option or viavalidate.catalog
should be the same.Version of Software Used
Desktop (please complete the following information):