From 63712705c64cc25066d7ddc5ef21c0f635539328 Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Wed, 15 Jan 2025 14:19:26 -0800 Subject: [PATCH 01/19] giant rewrite of cucumber Reduced the content in any given line to just the essentials. Use of quotes in cucumber is odd but workable. Allowing some columns to be blank was not intuitive but is also workable. The line is much shorter with little to know repetitive information. The checks are more complete and StepDefs is completely cleaned up. Weill, probably not completely but good enoough for next step. --- src/test/java/cucumber/StepDefs.java | 353 +++--------- src/test/resources/features/3.6.x.feature | 83 +-- src/test/resources/features/pre.3.6.x.feature | 531 +----------------- 3 files changed, 85 insertions(+), 882 deletions(-) diff --git a/src/test/java/cucumber/StepDefs.java b/src/test/java/cucumber/StepDefs.java index c56f97ea5..0ffdacb2c 100644 --- a/src/test/java/cucumber/StepDefs.java +++ b/src/test/java/cucumber/StepDefs.java @@ -2,71 +2,32 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.fail; -import java.io.BufferedWriter; -import java.io.File; import java.io.FileReader; -import java.io.FileWriter; +import java.nio.file.Path; +import java.nio.file.Paths; +import java.util.ArrayList; import java.util.Arrays; +import java.util.List; import org.apache.commons.io.FileUtils; -import org.slf4j.Logger; -import org.slf4j.LoggerFactory; import com.google.gson.Gson; import com.google.gson.JsonObject; import gov.nasa.pds.tools.validate.CrossLabelFileAreaReferenceChecker; -import gov.nasa.pds.tools.validate.ProblemType; import gov.nasa.pds.validate.ValidateLauncher; import gov.nasa.pds.validate.constants.TestConstants; -import gov.nasa.pds.validate.test.util.Utility; import io.cucumber.java.en.Given; import io.cucumber.java.en.Then; import io.cucumber.java.en.When; public class StepDefs { - // Class used as a glue to connect a feature file to cucumber test code. - - private static final Logger LOG = LoggerFactory.getLogger(StepDefs.class); - // For some strange reason, cucumber suppresses the printing of log output - // unless the following parameters are added at command line: - // Assuming slf4j-simple-1.7.28.jar exist in target/validate-1.25.0-SNAPSHOT/lib - // directory. - // -Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG - - // "-cp - // "target/validate-1.25.0-SNAPSHOT/lib/slf4j-simple-1.7.28.jar:target/test-classes:target/validate-1.25.0-SNAPSHOT/lib/* - // For example: - // - // java -Dorg.slf4j.simpleLogger.defaultLogLevel=DEBUG -cp - // "target/validate-1.25.0-SNAPSHOT/lib/slf4j-simple-1.7.28.jar:target/test-classes:target/validate-1.25.0-SNAPSHOT/lib/*" - // io.cucumber.core.cli.Main target/test-classes/features - // - // Note that the slf4j-simple-1.7.28.jar has to be explicitly called out first. - - private File outputData = null; - // A class to run each test. It must be instantiated for each test in the - // setUp() function. + private Path datasrc; + private Path datasink; private ValidateLauncher launcher = null; - // The values of these variables should come from a row in the table in the - // feature file. - private String testName; - private String testDir; - private int messageCount; - private String messageText; - private String problemEnum; - private String resourceDir; - private String reportDir; - private String commandArgs; - private String refOutputValue; - - private boolean createManifestFileFlag = false; - /** * @throws java.lang.Exception */ void setUp() throws Exception { - LOG.info("BeforeEach:Entering setUp()"); - this.outputData = new File(TestConstants.TEST_OUT_DIR); - FileUtils.forceMkdir(this.outputData); // Create directory if one does not already exist. + FileUtils.forceMkdir(this.datasink.toFile()); // Create directory if one does not already exist. System.setProperty("resources.home", TestConstants.RESOURCES_DIR); this.launcher = new ValidateLauncher(); } @@ -75,201 +36,49 @@ void setUp() throws Exception { * @throws java.lang.Exception */ void tearDown() throws Exception { - // FileUtils.forceDelete(this.outputData); this.launcher.flushValidators(); - // It seems the launcher does not completely flush any references to schematron - // which causes problem for subsequent tests. - // get rid of the cross references CrossLabelFileAreaReferenceChecker.reset(); } - private void createManifestFileDo(String testPath) { - // Function create a manifest file if the flag createManifestFileFlag it true. - // The file is normally used when --target-manifest is used in the command line. - // As of 10/13/2020, there is only one test github50 uses the manifest file. - - if (this.createManifestFileFlag) { - try { - String outFilePath = TestConstants.TEST_OUT_DIR; - String manifestFile = outFilePath + File.separator + "target-manifest.xml"; - String manifestText = testPath + File.separator + "ele_evt_12hr_orbit_2011-2012.xml\n" - + testPath + File.separator + "ele_evt_8hr_orbit_2012-2013.xml"; - BufferedWriter writerManifest = new BufferedWriter(new FileWriter(manifestFile)); - writerManifest.write(manifestText); - writerManifest.close(); - } catch (Exception e) { - e.printStackTrace(); - fail("Test Failed Due To Exception: " + e.getMessage()); + private List resolveArgumentStrings(String args) { + List resolved = new ArrayList(Arrays.asList("--report-file", + this.datasink.resolve("report.json").toString(), "--report-style", "json")); + for (String arg : args.split("\\s+")) { + if (arg.contains("{reportDir}") || arg.contains("{resourceDir}")) { + throw new IllegalArgumentException("{reportDir} and {resourceDir} are no longer valid."); } - } - } - - private void createCatalogFileDo(String catFile, String testPath, boolean forceFlag) { - // Function create a catalog file if the flag createManifestFileFlag it true. - // The file is normally used when --target-manifest is used in the command line. - // As of 10/13/2020, there is only one test github50 uses the manifest file. - if ((this.createManifestFileFlag) || (forceFlag)) { - try { - // Create catalog file - String catText = "\n" + "\n" + "\n" - + " \n" - + " \n" + ""; - - BufferedWriter writer = new BufferedWriter(new FileWriter(catFile)); - writer.write(catText); - writer.close(); - } catch (Exception e) { - e.printStackTrace(); - fail("Test Failed Due To Exception: " + e.getMessage()); + if (arg.equals("-r}") || arg.equals("--report-file")) { + throw new IllegalArgumentException("Defining the report file is no longer valid."); } - } - } - - private int getMessageCountBasedOnProblemType(String problemEnum, JsonObject reportJson) { - // Given an output report, retrieve the 'count' field based on the problemEnum - // value. - int totalCount = 0; - int count = 0; // Individual enum - // It is possible that the value is more than one: e.g - // CONTEXT_REFERENCE_NOT_FOUND,CONTEXT_REFERENCE_FOUND_MISMATCH - // Split using command and loop through each enum to fetch the count. - String[] problemTokens = problemEnum.split(","); - - for (String strTemp : problemTokens) { - if (strTemp.contains("total")) { - count = reportJson.getAsJsonObject("summary").get(strTemp).getAsInt(); - } else { - count = this.getMessageCount(reportJson, - ProblemType.valueOf(ProblemType.class, strTemp).getKey()); + if (arg.equals("-s") || arg.equals("--report-style")) { + throw new IllegalArgumentException("{Defining the report style is no longer valid."); } - StepDefs.LOG.info("getMessageCountBasedOnProblemType: strTemp, count " + strTemp + " " - + Integer.toString(count)); - totalCount += count; - } - - StepDefs.LOG.info("getMessageCountBasedOnProblemType: problemEnum, totalCount " + problemEnum - + " " + Integer.toString(totalCount)); - - return (totalCount); - } - - private String[] resolveArgumentStrings() { - // Given the value of this.commandArgs (just one long string), split using - // spaces and replace all {reportDir} and {resourceDir} with actual value. - // and return an array of tokens. This returned value can then be used to send - // to processMain() function. - // Example: - // - // "-r {reportDir}/report_github50_1.json -s json --no-data-check - // --target-manifest {reportDir}/target-manifest.xml - // becomes: - // "-r target/test/report_github50_1.json -s, json, --no-data-check - // --target-manifest target/test/target-manifest.xml - - String array1[] = this.commandArgs.split("\\s+"); - String[] args = new String[array1.length]; - int argIndex = 0; - String resolvedToken = ""; - for (String temp : array1) { - // Replace every occurence of "{reportDir}" with actual value. - // Replace every occurence of "{resourceDir}" with actual value. - resolvedToken = temp.replace("{reportDir}", this.reportDir); - resolvedToken = resolvedToken.replace("{resourceDir}", this.resourceDir); - resolvedToken = resolvedToken.replace("%20", " "); - args[argIndex++] = resolvedToken; + resolved.add(arg + .replace("{datasrc}", this.datasrc.toAbsolutePath().toString()) + .replace("%20", " ")); } - - StepDefs.LOG.info("resolveArgumentStrings() commandArgs = [" + this.commandArgs + "]"); - StepDefs.LOG - .info("resolveArgumentStrings() commandArgs args = [" + Arrays.toString(args) + "]"); - StepDefs.LOG.info("resolveArgumentStrings() this.reportDir = [" + this.reportDir + "]"); - StepDefs.LOG.info("resolveArgumentStrings() this.resourceDir = [" + this.resourceDir + "]"); - StepDefs.LOG.info("resolveArgumentStrings() this.testName = [" + this.testName + "]"); - - return (args); + return resolved; } - @Given("a test {string} at dir {string} at resource {string} sending report to {string} with {string} as arguments") - public void a_test_string_with_string(String testName, String testDir, String resourceDir, - String reportDir, String commandArgs) { - // throw new io.cucumber.java.PendingException(); - this.testName = testName; - this.testDir = testDir; - this.resourceDir = resourceDir; - this.reportDir = reportDir; - this.commandArgs = commandArgs; - // Special logic: If the flag "--target-manifest" is provided, the flag - // createManifestFileFlag need be set to true - this.createManifestFileFlag = false; - if (commandArgs.indexOf("target-manifest") >= 0) { - this.createManifestFileFlag = true; - } - StepDefs.LOG.info("a_test_string_with_string:testName,createManifestFileFlag " + testName + " " - + Boolean.toString(this.createManifestFileFlag)); + @Given("an {int}, , and {string}") + public void an_and(Integer issueNumber, String datasrc) { + an_and(issueNumber, null, datasrc); } - @When("with test property count {int} text {string} problem {string} reference {string}") - public void with_test_property(int messageCount, String messageText, String problemEnum, - String refOutputValue) { - // throw new io.cucumber.java.PendingException(); - // this.messageCount= Integer.parseInt(messageCount); - this.messageCount = messageCount; - this.messageText = messageText; - this.problemEnum = problemEnum; - this.refOutputValue = refOutputValue; - StepDefs.LOG.info("with_test_property:messageCount [" + Integer.toString(messageCount) - + "], messageText [" + messageText + "]"); + @Given("an {int}, {int}, and {string}") + public void an_and(Integer issueNumber, Integer count, String datasrc) { + this.datasink = Paths.get(TestConstants.TEST_OUT_DIR, + "issue-" + issueNumber + (count == null ? "" : ("-" + count.toString()))); + this.datasrc = Paths.get(TestConstants.TEST_DATA_DIR, datasrc); } - @When("execute a validate command") - public void execute_a_validate_command() { - // Write code here that turns the phrase above into concrete actions - // throw new io.cucumber.java.PendingException(); - StepDefs.LOG.info("execute_a_validate_command:testDir " + this.testDir); - StepDefs.LOG.info("execute_a_validate_command:testName " + this.testName); - + @When("execute validate with {string}") + public void execute_validate(String args) { + List arguments = this.resolveArgumentStrings(args); try { this.setUp(); - // Setup paths - String testPath = - Utility.getAbsolutePath(TestConstants.TEST_DATA_DIR + File.separator + this.testDir); - String outFilePath = TestConstants.TEST_OUT_DIR; - String catFile = outFilePath + File.separator + "catalog.xml"; - - // Create the manifest file if called for. - this.createManifestFileDo(testPath); - - // A particular test 'github71' has a different way of creating the catalog - // file. - // A particular test 'github87' has a different way of creating the catalog - // file. - // A particular test 'github292' has a different way of creating the catalog - // file. - if (((this.testName.indexOf("validate#71") >= 0) - || (this.testName.indexOf("validate#87") >= 0)) - || (this.testName.indexOf("validate#292") >= 0)) { - StepDefs.LOG - .info("execute_a_validate_command:testName,catFile " + this.testName + " " + catFile); - this.createCatalogFileDo(catFile, testPath, true); - } else { - this.createCatalogFileDo(catFile, testPath, false); - } - - // Because this.commandArgs is a String but processMain() is expecing a String - // [], we have to - // convert this.commandArgs into an array of strings. - - String[] args = this.resolveArgumentStrings(); - - this.launcher.processMain(args); - + this.launcher.processMain(arguments.toArray(new String[0])); this.tearDown(); - - // Will do the compare of the report in another function. } catch (ExitException e) { assertEquals(0, e.status, "Exit status"); } catch (Exception e) { @@ -278,46 +87,42 @@ public void execute_a_validate_command() { } } - @Then("produced output from validate command should be similar to reference {string} or no error reported.") - public void produced_output_from_validate_command_should_be_similar_to_reference_ref_output_value_or_no_error_reported( - String refOutputValue) { - this.refOutputValue = refOutputValue; - // System.out.println("produced_output_from_validate_command_should_be_similar_to_reference_ref_output_value_or_no_error_reported:this.testName - // = " + this.testName); - // System.out.println("produced_output_from_validate_command_should_be_similar_to_reference_ref_output_value_or_no_error_reported:this.testDir - // = " + this.testDir); - // System.out.println("produced_output_from_validate_command_should_be_similar_to_reference_ref_output_value_or_no_error_reported:this.commandArgs - // = " + this.commandArgs); - StepDefs.LOG.info( - "produced_output_from_validate_command_should_be_similar_to_reference_ref_output_value_or_no_error_reported:this.refOutputValue = " - + this.refOutputValue); - - try { - Gson gson = new Gson(); - File report = new File(this.reportDir + File.separator + this.refOutputValue); - StepDefs.LOG.info( - "produced_output_from_validate_command_should_be_similar_to_reference_ref_output_value_or_no_error_reported:report = [" - + report.getName() + "]"); - JsonObject reportJson = gson.fromJson(new FileReader(report), JsonObject.class); - - // Get the count for errors based on the value of problemEnum, e.g. - // MISSING_REFERENCED_FILE - int count = this.getMessageCountBasedOnProblemType(this.problemEnum, reportJson); - - StepDefs.LOG.debug( - "produced_output_from_validate_command_should_be_similar_to_reference_ref_output_value_or_no_error_reported:testName,problemEnum,count,refOutputValue: " - + this.testName + " " + problemEnum + " " + Integer.toString(count) + " " - + this.refOutputValue); - - // Compare the count from this test with the this.messageCount from test table. - assertEquals(this.messageCount, count, this.messageText + " " + reportJson.toString()); - assertEquals(0, this.getMessageCountBasedOnProblemType("INTERNAL_ERROR,ARRAY_INTERNAL_ERROR,TABLE_INTERNAL_ERROR", reportJson), - this.testDir + " is required that internal errors do not occur."); + @Then("compare to the .") + public void compare_to_the() { + compare_to_the(""); + } - // System.out.println("produced_output_from_validate_command_should_be_similar_to_reference_ref_output_value_or_no_error_reported() - // count = [" + count + "]"); - // System.out.println("produced_output_from_validate_command_should_be_similar_to_reference_ref_output_value_or_no_error_reported() - // reportJson.toString() = [" + reportJson.toString() + "]"); + @Then("compare to the {string}.") + public void compare_to_the(String expectation) { + for (String mustExpectation : Arrays.asList( + "summary:totalErrors", + "summary:totalWarnings", + "summary:productValidation:failed", + "summary:productValidation:skipped", + "summary:referentialIntegrity:failed", + "summary:referentialIntegrity:skipped")) { + if (!expectation.contains(mustExpectation)) { + expectation += (expectation.length() > 0 ? (",") : "") + mustExpectation + "=0"; + } + } + + Gson gson = new Gson(); + try (FileReader report = new FileReader(this.datasink.resolve("report.json").toFile())) { + JsonObject reportJson = gson.fromJson(report, JsonObject.class), node; + for (String detail : expectation.split(",")) { + Integer expected = Integer.valueOf(detail.split("=")[1].strip()); + Integer reported = -1; + String keyword = detail.split("=")[0]; + node = reportJson; + for (String key : keyword.split(":")) { + if (keyword.endsWith(key)) { + reported = node.getAsJsonPrimitive(key).getAsInt(); + } else { + node = node.getAsJsonObject(key); + } + } + assertEquals (expected, reported, keyword); + } } catch (ExitException e) { assertEquals(0, e.status, "Exit status"); } catch (Exception e) { @@ -336,26 +141,4 @@ public ExitException(int status) { this.status = status; } } - - int getMessageCount(JsonObject reportJson, String messageTypeName) { - int i = 0; - JsonObject message = null; - int count = 0; - if (messageTypeName.equals("totalErrors")) { - return reportJson.getAsJsonObject("summary").get("totalErrors").getAsInt(); - } - while (true) { - try { - message = reportJson.getAsJsonObject("summary").get("messageTypes").getAsJsonArray().get(i) - .getAsJsonObject(); - if (message.get("messageType").getAsString().equals(messageTypeName)) { - count = message.get("total").getAsInt(); - return count; - } - } catch (IndexOutOfBoundsException e) { - return count; - } - i++; - } - } } diff --git a/src/test/resources/features/3.6.x.feature b/src/test/resources/features/3.6.x.feature index 767f99a8a..0a3553567 100644 --- a/src/test/resources/features/3.6.x.feature +++ b/src/test/resources/features/3.6.x.feature @@ -1,76 +1,9 @@ -Feature: validate_integration_3_6 - - Scenario Outline: - Given a test at dir at resource sending report to with as arguments - When with test property count text problem reference - When execute a validate command - Then produced output from validate command should be similar to reference or no error reported. - - @v3.6.x +Feature: 3.6.x + Scenario Outline: NASA-PDS/validate# + Given an , , and + When execute validate with + Then compare to the . Examples: - | testId | testName | testDir | messageCount | messageText | problemEnum | resourceDir | reportDir | commandArgs | refOutputValue | - # Validate#1028 - | NASA-PDS/validate#1028 | "NASA-PDS/validate#1028 New SEED mime type" | "github1028" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github1028.json -s json --skip-context-validation -t {resourceDir}/github1028/xa.s16..shz.1976.070.0.xml --schema {resourceDir}/github1028/PDS4_PDS_1N00.xsd --schematron {resourceDir}/github1028/PDS4_PDS_1N00.sch" | "report_github1028.json" | - # Validate#1008 - | NASA-PDS/validate#1008 | "NASA-PDS/validate#1008 PDF on windows" | "github1008" | 1 | "1 errors expected" | "NON_PDFA_FILE" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github1008.json -s json --skip-context-validation -t {resourceDir}/github1008/example.xml" | "report_github1008.json" | - # Validate#992 - | NASA-PDS/validate#992 | "NASA-PDS/validate#992 pedantic notation" | "github992" | 6 | "1 errors expected, 5 warnings expected" | "FIELD_VALUE_DATA_TYPE_MISMATCH,FIELD_VALUE_FORMAT_SPECIFIER_MISMATCH,FIELD_VALUE_FORMAT_PRECISION_MISMATCH,FIELD_VALUE_TOO_LONG" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github992.1.json -s json --skip-context-validation -t {resourceDir}/github992/ff_char.xml" | "report_github992.1.json" | - | NASA-PDS/validate#992-1 | "NASA-PDS/validate#992 pedantic notation" | "github992" | 6 | "1 errors expected, 5 warnings expected" | "FIELD_VALUE_DATA_TYPE_MISMATCH,FIELD_VALUE_FORMAT_SPECIFIER_MISMATCH,FIELD_VALUE_FORMAT_PRECISION_MISMATCH,FIELD_VALUE_TOO_LONG" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github992.2.json -s json --skip-context-validation -t {resourceDir}/github992/ff_del.xml" | "report_github992.2.json" | - # Validate#816 (reuse validate#681 tests) - | NASA-PDS/validate#816 | "NASA-PDS/validate#816 Field format FAIL: ASCII table invalid precision" | "github681" | 1 | "1 errors expected" | "FIELD_VALID_FORMAT_PRECISION_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github681_2.json -s json -t {resourceDir}/github681/ff_char_fail.xml" | "report_github681_2.json" | - | NASA-PDS/validate#816-1 | "NASA-PDS/validate#816 Field format WARNING: Precision mismatch" | "github681" | 2 | "2 warnings expected" | "FIELD_VALUE_FORMAT_PRECISION_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github681_3.json -s json -t {resourceDir}/github681/ff_char_warn.xml {resourceDir}/github681/ff_del_warn.xml" | "report_github681_3.json" | - # In .csv, Line1 good; L2,Field1=11.111 for %6.2f; L3,F2=22.22 for $4.2f; L4,F3=33333333 (no 'e') for %8.3e; L5,F4=4.4 for %3d - #|"NASA-PDS/validate#816 Throw WARNING for unmatched field_format in table char" | "github816" | 5 | "1 errors expected, 4 warnings expected" | "FIELD_VALUE_FORMAT_PRECISION_MISMATCH,FIELD_VALUE_TOO_LONG,FIELD_VALUE_FORMAT_SPECIFIER_MISMATCH,FIELD_VALUE_DATA_TYPE_MISMATCH,FIELD_VALUE_FORMAT_SPECIFIER_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github816a.json -s json -t {resourceDir}/github816/ff_char.xml" | "report_github816a.json" | - | NASA-PDS/validate#816-2 | "NASA-PDS/validate#816 Throw WARNING for unmatched field_format in delimited" | "github816" | 5 | "1 errors expected, 4 warnings expected" | "FIELD_VALUE_FORMAT_PRECISION_MISMATCH,FIELD_VALUE_TOO_LONG,FIELD_VALUE_FORMAT_SPECIFIER_MISMATCH,FIELD_VALUE_DATA_TYPE_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github816b.json -s json -t {resourceDir}/github816/ff_del.xml" | "report_github816b.json" | - # validate3.4.1 reported 0 errors or warnings. - | NASA-PDS/validate#822 | "NASA-PDS/validate#822 check for unlabeled files" | "github822" | 1 | "1 errors expected" | "UNLABELED_FILE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github822.json -s json -t {resourceDir}/github822" | "report_github822.json" | - # validate3.4.1 reported ~10 fatal errors - | NASA-PDS/validate#823 | "NASA-PDS/validate#823 clear file read errors" | "github823" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github823.json -s json -t {resourceDir}/github823/mvn_swi_l2_onboardsvymom_20230827_v02_r01.xml" | "report_github823.json" | - # Validate#823 - | NASA-PDS/validate#823-1 | "NASA-PDS/validate#823 Success process problematic floats" | "github823" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github823.json -s json --skip-context-validation -t {resourceDir}/github823/mvn_swi_l2_onboardsvymom_20230827_v02_r01.xml" | "report_github823.json" | - # validate3.4.1 complained about not PDF/A-1b even though Product_Document - # Validate#824 - | NASA-PDS/validate#824 | "NASA-PDS/validate#824 Success PDF vs PDF/A" | "github824" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github824.json -s json --skip-context-validation -t {resourceDir}/github824/1203_12.xml" | "report_github824.json" | - | NASA-PDS/validate#824-1 | "NASA-PDS/validate#824 clear file read errors" | "github824" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github824.json -s json -t {resourceDir}/github824/1203_12.xml" | "report_github824.json" | - # Validate#831 - | NASA-PDS/validate#831 | "NASA-PDS/validate#831 Success high instrument saturation" | "github831" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github831.json -s json --skip-context-validation -t {resourceDir}/github831/kplo.xml" | "report_github831.json" | - # validate3.4.1 WARNs that 3 values are below min even though they match other constants - | NASA-PDS/validate#831-1 | "NASA-PDS/validate#831 Check specific constants before min or max constants" | "github831" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github831.json -s json -t {resourceDir}/github831/kplo.xml" | "report_github831.json" | - # Validate#837 - | NASA-PDS/validate#837 | "NASA-PDS/validate#837 Success match out of format constants" | "github837" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github837.json -s json --skip-context-validation -t {resourceDir}/github837/times_table.xml" | "report_github837.json" | - # someday line 3 in data (or line 88 of .xml) may reasonably throw an error for bad format - | NASA-PDS/validate#837-1 | "NASA-PDS/validate#837 Check constants before data_type" | "github837" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github837.json -s json -t {resourceDir}/github837/x.xml" | "report_github837.json" | - # Validate#849 - | NASA-PDS/validate#849 | "NASA-PDS/validate#849 Fails inventory with duplicate entries" | "github849" | 2 | "2 errors expected" | "INVENTORY_DUPLICATE_LIDVID" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github849.json -s json --skip-context-validation -t {resourceDir}/github849/collection_uvs_data_raw.xml" | "report_github849.json" | - # validate3.4.1 froze on this - | NASA-PDS/validate#849-1 | "NASA-PDS/validate#849 Fails when collection.csv has duplicates" | "github849" | 1 | "1 errors expected" | "INVENTORY_DUPLICATE_LIDVID" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github849.json -s json -t {resourceDir}/github849/collection.xml" | "report_github849.json" | - # previous versions gave no errors or warnings, which is bad - | NASA-PDS/validate#857 | "NASA-PDS/validate#857 WARNING when Observing_System_Component.name mismatches context product" | "github857" | 2 | "2 warnings expected" | "CONTEXT_REFERENCE_FOUND_MISMATCH_WARN" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github857.json -s json -t {resourceDir}/github857/highi_183_istria_fam3.xml" | "report_github857.json" | - # validate3.4.1 gave no errors or warnings - | NASA-PDS/validate#861 | "NASA-PDS/validate#861 WARNING when Observing_System_Component.name mismatches context product" | "github861" | 1 | "1 warnings expected" | "CONTEXT_REFERENCE_FOUND_MISMATCH_WARN" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github861.json -s json -t {resourceDir}/github861/PVO_OMAG_OEFD_ANC_ENG_0001.xml" | "report_github861.json" | - # Validate#873 - | NASA-PDS/validate#873 | "NASA-PDS/validate#873 Success files same name different paths" | "github873" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github873.json -s json --skip-context-validation -R pds4.bundle -t {resourceDir}/github873" | "report_github873.json" | - # target is parent directory, not either subdir. validate3.4.1 threw ERROR - | NASA-PDS/validate#873-1 | "NASA-PDS/validate#873 Allow same filenames in different subdirs" | "github873" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github873.json -s json -t {resourceDir}/github873/." | "report_github873.json" | - # Validate#822 - #|"NASA-PDS/validate#822 Re-test to close this ticket" | "github6" | 7 | "7 warnings expected for warning.file.not_referenced_in_label." | "UNLABELED_FILE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github6_2.json -s json {resourceDir}/github6/invalid/bundle_kaguya_derived_7.xml" | "report_github6_2.json" | - # Validate#902 - | NASA-PDS/validate#902 | "NASA-PDS/validate#902 Success with windows file URL" | "github902" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github902.json -s json --skip-context-validation -t {resourceDir}/github902/s_00168901_thm.xml" | "report_github902.json" | - # same as github873 - | NASA-PDS/validate#902-1 | "NASA-PDS/validate#902 Allow same filenames in different subdirs" | "github902" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github902.json -s json -t {resourceDir}/github902/s_00168901_thm.xml" | "report_github902.json" | - # Validate#905 - | NASA-PDS/validate#905 | "NASA-PDS/validate#905 Success no duplicates in non-observational;" | "github905" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github905.json -s json --skip-context-validation -t {resourceDir}/github905/dsn_0159-science.2008-02-29.xml {resourceDir}/github905/dsn_0159-science.2009-05-18.xml" | "report_github905.json" | - # validate3.4.1 throws incorrect ERROR - | NASA-PDS/validate#905-1 | "NASA-PDS/validate#905 Allow multiple Product_Documents to point to same file" | "github905" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github905.json -s json -t {resourceDir}/github905/." | "report_github905.json" | - # Validate#915 - | NASA-PDS/validate#915 | "NASA-PDS/validate#915 Failure context ref mismatch" | "github915" | 5 | "5 warnings expected" | "CONTEXT_REFERENCE_FOUND_MISMATCH_WARN" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github915.json -s json --skip-content-validation -R pds4.collection -t {resourceDir}/github915/collection.xml" | "report_github915.json" | - # Validate#919 - | NASA-PDS/validate#919 | "NASA-PDS/validate#919 Success with 61 bit value" | "github919" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github919.json -s json --skip-context-validation -t {resourceDir}/github919/uh0003b_draft.xml" | "report_github919.json" | - # validate3.4.1: Error while getting field value: Bit field spans bytes that are wider than a long (9 > 8) - | NASA-PDS/validate#919-1 | "NASA-PDS/validate#919 make --disable-context-mismatch-warnings work generally" | "github919" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github919.json -s json -t {resourceDir}/github919/uh0003b_draft.xml" | "report_github919.json" | - # Validate#950 - | NASA-PDS/validate#950 | "NASA-PDS/validate#950 Disable context ref mismatch collection" | "github915" | 0 | "0 warnings expected" | "CONTEXT_REFERENCE_FOUND_MISMATCH_WARN" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github950.json -s json --skip-content-validation --disable-context-mismatch-warnings -R pds4.collection -t {resourceDir}/github915/collection.xml" | "report_github950.json" | - # No old version of validate of mine had this error. Eh, too bad - | NASA-PDS/validate#950-1 | "NASA-PDS/validate#950 make --disable-context-mismatch-warnings work generally" | "github950" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "--disable-context-mismatch-warnings -R pds4.bundle -r {reportDir}/report_github950.json -s json -t {resourceDir}/github950" | "report_github950.json" | - # Validate#1066 - | NASA-PDS/validate#1066 | "NASA-PDS/validate#1066 Context product JSON update to include Telescopes" | "github1066" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github1066.json -s json --skip-content-validation -t {resourceDir}/github1066/vg2u_49xr_1986024t232141.xml" | "report_github1066.json" | + | issueNumber | subtest | datasrc | args | expectation | + +| 1028 | 1 | "github1028" | "--skip-context-validation -t {datasrc}/xa.s16..shz.1976.070.0.xml --schema {datasrc}/PDS4_PDS_1N00.xsd --schematron {datasrc}/PDS4_PDS_1N00.sch" | | diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index c1cc8d282..e4331562d 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -1,522 +1,9 @@ -Feature: validate_integration_pre36 - -Scenario Outline: - Given a test at dir at resource sending report to with as arguments - When with test property count text problem reference - When execute a validate command - Then produced output from validate command should be similar to reference or no error reported. - - Examples: - | testId | testName | testDir | messageCount | messageText | problemEnum | resourceDir | reportDir | commandArgs | refOutputValue | - -# Validate#817 -| NASA-PDS/validate#817 |"NASA-PDS/validate#817 Failure of ASCII table invalid precision" | "github681" | 1 | "1 error expected" | "FIELD_VALID_FORMAT_PRECISION_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github817_1.json -s json -t {resourceDir}/github681/ff_char_fail.xml" | "report_github817_1.json" | - -# Validate#785 -| NASA-PDS/validate#785 |"NASA-PDS/validate#785 Success detecting out of range values" | "github785" | 6 | "6 warnings expected" | "FIELD_VALUE_OUT_OF_SPECIAL_CONSTANT_MIN_MAX_RANGE" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github785.json -s json --skip-context-validation -t {resourceDir}/github785/00038_FGM_RTN.xml" | "report_github785.json" | - -| NASA-PDS/validate#781 |"NASA-PDS/validate#781 file size for block area" | "github781" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github781.json -s json --skip-context-validation --skip-context-validation -t {resourceDir}/github781/RSS001E01_2031066T0241_EURGRVL20XXXXXXGSFC_COV010.xml" | "report_github781.json" | - -# Validate#755 -| NASA-PDS/validate#755 |"NASA-PDS/validate#755 Detect and report file areas referencing same file" | "github755" | 2 | "2 errors expected" | "DUPLICATED_FILE_AREA_REFERENCE" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github755.json -s json -skip-context-validation -t {resourceDir}/github755/m221011.0013.xml {resourceDir}/github755/m221011.0014.xml {resourceDir}/github755/m221011.0015.xml {resourceDir}/github755/m221011.0030.xml" | "report_github755.json" | -| NASA-PDS/validate#755-1 |"NASA-PDS/validate#755 No common file referenced" | "github755" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github755.1.json -s json -skip-context-validation -t {resourceDir}/github755/m221011.0013.xml {resourceDir}/github755/m221011.0015.xml" | "report_github755.1.json" | - -# Validate#754 -| NASA-PDS/validate#754 |"NASA-PDS/validate#754 Success differentiating file area offsets" | "github754" | 0 | "1 warnings expected" | "DATA_OBJECTS_OUT_OF_ORDER" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github754.json -s json --skip-context-validation -t {resourceDir}/github754/Cassini_ISS_CB2_Jupiter_global_map_2.xml" | "report_github754.json" | - -# Validate#693 -| NASA-PDS/validate#693 |"NASA-PDS/validate#693 Invalid PDF/A Checks" | "github693" | 4 | "4 errors expected" | "NON_PDFA_FILE" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github693.json -s json -t {resourceDir}/github693/" | "report_github693.json" | - -# Validate#690 -# NOTE: Commenting out this test for now as the JAXA site is down -# |"NASA-PDS/validate#690 Success new constant expression" | "github690" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github690.json -s json --skip-context-validation -t {resourceDir}/github690/rs_20160518_014000_udsc64_l3_e_v10.xml" | "report_github690.json" | - -# Validate#684 -| NASA-PDS/validate#684 |"NASA-PDS/validate#684 Success without filesize" | "github684" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github684_1.json -s json --skip-context-validation -t {resourceDir}/github684/example_params_noFileSize.xml" | "report_github684_1.json" | -| NASA-PDS/validate#684-1 |"NASA-PDS/validate#684 Success with filesize" | "github684" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github684_2.json -s json --skip-context-validation -t {resourceDir}/github684/example_params_wFileSize.xml" | "report_github684_2.json" | - -# Validate#683 -| NASA-PDS/validate#683 |"NASA-PDS/validate#683 Success warn out of order offsets" | "github614" | 1 | "1 warnings expected" | "DATA_OBJECTS_OUT_OF_ORDER" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github683.json -s json -t {resourceDir}/github614/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | "report_github683.json" | - -# Validate#681 -| NASA-PDS/validate#681 |"NASA-PDS/validate#681 Success ASCII table with extra whitespace, valid precision" | "github681" | 0 | "0 errors expected" | "FIELD_VALUE_FORMAT_PRECISION_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github681_1.json -s json -t {resourceDir}/github681/ff_char.xml {resourceDir}/github681/ff_del.xml" | "report_github681_1.json" | -| NASA-PDS/validate#681-1 |"NASA-PDS/validate#681 Failure of ASCII table invalid precision" | "github681" | 1 | "1 errors expected" | "FIELD_VALID_FORMAT_PRECISION_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github681_2.json -s json -t {resourceDir}/github681/ff_char_fail.xml" | "report_github681_2.json" | -| NASA-PDS/validate#681-2 |"NASA-PDS/validate#681 Warning ASCII tables" | "github681" | 2 | "2 warnings expected" | "FIELD_VALUE_FORMAT_PRECISION_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github681_3.json -s json -t {resourceDir}/github681/ff_char_warn.xml {resourceDir}/github681/ff_del_warn.xml" | "report_github681_3.json" | - -# Validate#680 -| NASA-PDS/validate#680 |"NASA-PDS/validate#680 Success char table correct length" | "github680" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github680.1.json -s json --skip-context-validation -t {resourceDir}/github680/ORB12_EUR_EPHIO_reclen96.xml" | "report_github680.1.json" | -| NASA-PDS/validate#680-1 |"NASA-PDS/validate#680 Failure char table bad length" | "github680" | 1 | "1 errors expected" | "RECORD_LENGTH_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github680.2.json -s json --skip-context-validation -t {resourceDir}/github680/ORB12_EUR_EPHIO_reclen95.xml" | "report_github680.2.json" | - -# Validate#671 -| NASA-PDS/validate#671 |"NASA-PDS/validate#671 Success processing of bundle" | "github671" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github671.json -s json --skip-context-validation -t {resourceDir}/github671 -R pds4.bundle" | "report_github671.json" | - -# Validate#652 -| NASA-PDS/validate#652 |"NASA-PDS/validate#652 Success processing of bundles and collections" | "github652" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github652.json -s json --skip-context-validation -t {resourceDir}/github652" | "report_github652.json" | - -# Validate#651 -| NASA-PDS/validate#651 |"NASA-PDS/validate#651 Success processing of bit patterns" | "github651" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github651.json -s json -t {resourceDir}/github651/M1431146123CC.xml" | "report_github651.json" | - -# Validate#649 -| NASA-PDS/validate#649 |"NASA-PDS/validate#649 Success collection" | "github597" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github649.json -s json -R pds4.collection --skip-context-validation -t {resourceDir}/github597/spice_kernels/collection_spice_kernels_v003.xml" | "report_github649.json" | - -# Validate#644 -| NASA-PDS/validate#644 |"NASA-PDS/validate#644 Success NaN and Inf in FITS" | "github644" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github644.json -s json -t {resourceDir}/github644/scam_0072_0673327336_185_cp2_scam01072_scct_41_irsalign_____04p04.xml" | "report_github644.json" | - -# Validate#631 -# NOTE: Commenting out this test for now as the JAXA site is down -# |"NASA-PDS/validate#631 Success context case matching" | "github631" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github631.json -s json -v 1 -t {resourceDir}/github631/hyb2_tir_20180629_075501_l1.xml" | "report_github631.json" | - -# Validate#628 -| NASA-PDS/validate#628 |"NASA-PDS/validate#628 Warning Version Mismatch" | "github628" | 1 | "1 warnings expected" | "totalWarnings" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github628.json -s json --skip-content-validation --disable-context-mismatch-warnings -t {resourceDir}/github628/mp2_flat_20061109.xml" | "report_github628.json" | - -# Validate#617 -| NASA-PDS/validate#617 |"NASA-PDS/validate#617 Warning File Extension Mismatch" | "github617" | 1 | "1 warnings expected" | "totalWarnings" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github617.json -s json --skip-content-validation -t {resourceDir}/github617/uvis_euv_2005_159_solar_time_series_ingress.xml" | "report_github617.json" | - -# Validate#616 -| NASA-PDS/validate#616 |"NASA-PDS/validate#616 Success Multiple Tables One File" | "github616" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github616.json -s json --skip-context-validation -t {resourceDir}/github616/mre_cal_sc_ttcp_delay_schulte_01s_2021069.xml" | "report_github616.json" | - -# Validate#614 -| NASA-PDS/validate#614 |"NASA-PDS/validate#614 Success out of order offsets" | "github614" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github614.json -s json -t {resourceDir}/github614/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | "report_github614.json" | - -# Validate#611 -| NASA-PDS/validate#611 |"NASA-PDS/validate#611 Detect Special Constants Max/Min out of range" | "github611" | 9 | "9 warnings expected" | "FIELD_VALUE_OUT_OF_SPECIAL_CONSTANT_MIN_MAX_RANGE" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github611.json -s json -t {resourceDir}/github611/GRD-L1A-150313-150319_150625-BGO.xml" | "report_github611.json" | - -# Validate#605 -| NASA-PDS/validate#605 |"NASA-PDS/validate#605 Success Video+Audio" | "github605" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github605.json -s json --skip-context-validation -t {resourceDir}/github605/video_and_audio.xml" | "report_github605.json" | - -# Validate#604 -| NASA-PDS/validate#604 |"NASA-PDS/validate#604 Success Multiple Tables One File" | "github604" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github604.json -s json --skip-context-validation -t {resourceDir}/github604/video.xml" | "report_github604.json" | - -# Validate#599 -| NASA-PDS/validate#599 |"NASA-PDS/validate#599 Success No Override Schema/Schematron" | "github599" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github599_1.json -s json -t {resourceDir}/github599/AREA_Camelot_1radii.xml" | "report_github599_1.json" | -#|"NASA-PDS/validate#599 Failure Override Schema" | "github599" | 1 | "1 errors expected" | "SCHEMA_ERROR" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github599_2.json -s json -x {resourceDir}/github599/PDS4_PDS_1I00.xsd -t {resourceDir}/github599/AREA_Camelot_1radii.xml" | "report_github599_2.json" | -#|"NASA-PDS/validate#599 Failure Override Schematron" | "github599" | 1 | "1 errors expected" | "SCHEMA_ERROR" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github599_3.json -s json -S {resourceDir}/github599/PDS4_PDS_1I00.sch -t {resourceDir}/github599/AREA_Camelot_1radii.xml" | "report_github599_3.json" | -#|"NASA-PDS/validate#599 Failure Override Schema+Schematron" | "github599" | 1 | "1 errors expected" | "SCHEMA_ERROR" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github599_4.json -s json -S {resourceDir}/github599/PDS4_PDS_1I00.sch -x {resourceDir}/github599/PDS4_PDS_1I00.xsd -t {resourceDir}/github599/AREA_Camelot_1radii.xml" | "report_github599_4.json" | - -# Validate#597 -| NASA-PDS/validate#597 |"NASA-PDS/validate#597 Success Find Resources in Older/Skipped Bundles/Collections" | "github597" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github597_1.json -s json --skip-context-validation -R pds4.bundle -t {resourceDir}/github597" | "report_github597_1.json" | - -# Validate#562 -| NASA-PDS/validate#597-1 |"NASA-PDS/validate#597 Success Filename with underscores" | "github562" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github562_1.json -s json -t {resourceDir}/github562" | "report_github562_1.json" | - -# Validate#561 -| NASA-PDS/validate#597-2 |"NASA-PDS/validate#597 Success Filenanme Does Not Contain Bundle/Collection" | "github561" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github561_1.json -s json -R pds4.collection --label-extension lblx --skip-context-validation -t {resourceDir}/github561" | "report_github561_1.json" | - -# Validate#535 -| NASA-PDS/validate#535 |"NASA-PDS/validate#535 Warning when excess table content" | "github535" | 1 | "1 warnings expected" | "DATA_NOT_DESCRIBED" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github535_1.json -s json -t {resourceDir}/github535/uvis_euv_2008_003_solar_time_series_ingress.xml --complete-descriptions" | "report_github535_1.json" | -| NASA-PDS/validate#535-1 |"NASA-PDS/validate#535 Warning when excess table content" | "github535" | 1 | "1 errors expected" | "TABLE_DEFINITION_PROBLEM" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github535_2.json -s json -t {resourceDir}/github535/uvis_euv_2016_288_solar_time_series_egress.xml --complete-descriptions" | "report_github535_2.json" | - -# Validate#531 -| NASA-PDS/validate#531 |"NASA-PDS/validate#531 Success Binary Field Group Lengths" | "github531" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github531_1.json -s json --skip-context-validation -t {resourceDir}/github531/success/b.xml" | "report_github531_1.json" | -| NASA-PDS/validate#531-1 |"NASA-PDS/validate#531 Fail Binary Field Group Lengths" | "github531" | 1 | "1 errors expected" | "TABLE_DEFINITION_PROBLEM" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github531_2.json -s json --skip-context-validation -t {resourceDir}/github531/fail/b.xml" | "report_github531_2.json" | - -# Validate#529 -| NASA-PDS/validate#529 |"NASA-PDS/validate#529 Success Update Compare Scale" | "github529" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github529_1.json -s json --skip-context-validation -t {resourceDir}/github529/success/m0154651923f6_2p_cif_gbl.xml " | "report_github529_1.json" | -# fixed: |"NASA-PDS/validate#529 Fail Update Compare Scale" | "github529" | 1 | "1 errors expected" | "ARRAY_VALUE_OUT_OF_MIN_MAX_RANGE" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github529_2.json -s json -t {resourceDir}/github529/fail/m0126360726f4_2p_cif_gbl.xml " | "report_github529_2.json" | - -# Validate#514 - binary tables should allow NaN -| NASA-PDS/validate#514 |"NASA-PDS/validate#514 Success Update Compare Scale" | "github514" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github514_1.json -s json --skip-context-validation -t {resourceDir}/github514/success/8array.xml" | "report_github514_1.json" | - -# Validate#499 -| NASA-PDS/validate#499 |"NASA-PDS/validate#499 Success Table EOL" | "github499" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github499_1.json -s json --skip-context-validation -t {resourceDir}/github499/success/M7_217_044546_N.xml" | "report_github499_1.json" | -| NASA-PDS/validate#499-1 |"NASA-PDS/validate#499 Fail Table EOL" | "github499" | 25 | "25 errors expected" | "MISSING_CRLF" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github499_2.json -s json --skip-context-validation -t {resourceDir}/github499/fail/M7_217_044546_N.xml" | "report_github499_2.json" | - -# Validate#480 -| NASA-PDS/validate#480 |"NASA-PDS/validate#480 Success Intermingled Data Objects" | "github480" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github480_1.json -s json --skip-context-validation -t {resourceDir}/github480/test_success.xml --skip-content-validation" | "report_github480_1.json" | -| NASA-PDS/validate#480-1 |"NASA-PDS/validate#480 Fail Intermingled Data Objects - Header Offset" | "github480" | 1 | "1 errors expected" | "INVALID_OBJECT_DEFINITION" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github480_2.json -s json -t {resourceDir}/github480/test_fail_header_offset.xml --skip-content-validation" | "report_github480_2.json" | -| NASA-PDS/validate#480-2 |"NASA-PDS/validate#480 Fail Intermingled Data Objects - Table Offset" | "github480" | 1 | "1 errors expected" | "INVALID_OBJECT_DEFINITION" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github480_3.json -s json -t {resourceDir}/github480/test_fail_table_offset.xml --skip-content-validation" | "report_github480_3.json" | - -| NASA-PDS/validate#467 |"NASA-PDS/validate#467 Duplicate LIDVIDs in Bundle" | "github476" | 2 | "2 errors expected" | "INVENTORY_DUPLICATE_LIDVID" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github476b.json -s json -R pds4.label -t {resourceDir}/github476/bundle_mars2020_spice_v003.xml" | "report_github476b.json" | -| NASA-PDS/validate#467-1 |"NASA-PDS/validate#467 Duplicate LIDVIDs in Collection" | "github476" | 1 | "1 errors expected" | "INVENTORY_DUPLICATE_LIDVID" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github476c.json -s json -R pds4.label -t {resourceDir}/github476/collection_lab.hydrocarbon_spectra_data.xml" | "report_github476c.json" | - -# Validate#444 pds4.bundle option seems to not travel through enough subdirectories -| NASA-PDS/validate#444 |"NASA-PDS/validate#444 Bundle with Multi-level Collections" | "github444" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github444_1.json -s json --skip-context-validation -t {resourceDir}/github444/odya_bundle/bundle_ody_accel.xml" | "report_github444_1.json" | - -# Validate#482 Add support for LBLX label extension. Skipping product validation to avoid known errors in truncated data file. -| NASA-PDS/validate#533 |"NASA-PDS/validate#533 Failure Test Labels - Records > Integer.MAX " | "github533" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "--skip-content-validation -r {reportDir}/report_github533_1.json -s json --skip-context-validation -t {resourceDir}/github533/gggrx_1200a_shb_l420.xml" | "report_github533_1.json" | - -# Validate#482 Add support for LBLX label extension -| NASA-PDS/validate#482 |"NASA-PDS/validate#482 Success Test Labels - LBLX Extension" | "github482" | 0 | "Successful validation expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github482_1.json -s json --skip-context-validation -e lblx -R pds4.folder -t {resourceDir}/github482/bundle1/" | "report_github482_1.json" | -| NASA-PDS/validate#482-1 |"NASA-PDS/validate#482 Success Test Labels - XML Extension " | "github482" | 0 | "Successful validation expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github482_2.json -s json --skip-context-validation -R pds4.folder -t {resourceDir}/github482/bundle2/" | "report_github482_2.json" | -| NASA-PDS/validate#482-2 |"NASA-PDS/validate#482 Success Test Bundle - LBLX Extension" | "github482" | 0 | "Successful validation expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github482_3.json -s json --skip-context-validation -R pds4.bundle -e lblx -t {resourceDir}/github482/bundle1/bundle_kaguya_derived.lblx" | "report_github482_3.json" | -| NASA-PDS/validate#482-3 |"NASA-PDS/validate#482 Success Test Bundle - XML Extension " | "github482" | 0 | "Successful validation expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github482_4.json -s json --skip-context-validation -R pds4.bundle -t {resourceDir}/github482/bundle2/bundle_kaguya_derived.xml" | "report_github482_4.json" | -| NASA-PDS/validate#482-4 |"NASA-PDS/validate#482 Failure Test Bundle - No Products Found" | "github482" | 1 | "1 error expected" | "NO_PRODUCTS_FOUND" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github482_5.json -s json --skip-context-validation -R pds4.folder -t {resourceDir}/github482/bundle1/" | "report_github482_5.json" | -| NASA-PDS/validate#482-5 |"NASA-PDS/validate#482 Failure Test Bundle - No Products Found" | "github482" | 1 | "1 error expected" | "NO_PRODUCTS_FOUND" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github482_6.json -s json --skip-context-validation -R pds4.folder -e lblx -t {resourceDir}/github482/bundle2/" | "report_github482_6.json" | - -# Field Special Constants -| NASA-PDS/validate#469 | "NASA-PDS/validate#469 Field Special Constants Check" | "github469" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github469.json -s json --skip-context-validation -t {resourceDir}/github469/201401031400_rdr.xml" | "report_github469.json" | -| NASA-PDS/validate#469-1 | "NASA-PDS/validate#469 Field Special Constants Check - Fail MAX" | "github469" | 1 | "1 error messages expected." | "FIELD_VALUE_OUT_OF_MIN_MAX_RANGE" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github469_max_fail.json -s json --skip-context-validation -t {resourceDir}/github469/201401031400_rdr_max_FAIL.xml" | "report_github469_max_fail.json" | -| NASA-PDS/validate#469-2 | "NASA-PDS/validate#469 Field Special Constants Check - Fail MIN" | "github469" | 3 | "3 error messages expected." | "FIELD_VALUE_OUT_OF_MIN_MAX_RANGE" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github469_min_fail.json -s json --skip-context-validation -t {resourceDir}/github469/201401031400_rdr_min_FAIL.xml" | "report_github469_min_fail.json" | - -| NASA-PDS/validate#432 |"NASA-PDS/validate#432 reference integrity check" | "github432" | 1 | "1 warning messages expected." | "REFERENCE_NOT_FOUND" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github432.json -s json -R pds4.bundle -t {resourceDir}/github432/bundle-voyager1-pls-sat-1.0.xml" | "report_github432.json" | - -| NASA-PDS/validate#291 |"NASA-PDS/validate#291 VALID" | "github291" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github291_bundle_valid.json -s json --skip-context-validation -R pds4.bundle -t {resourceDir}/github291/valid/bundle_kaguya_derived.xml" | "report_github291_bundle_valid.json" | -| NASA-PDS/validate#291-1 |"NASA-PDS/validate#291 INVALID" | "github291" | 1 | "1 warning message expected for BAD_SCHEMATYPENS." | "BAD_SCHEMATYPENS" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github291_bundle_invalid.json -s json --skip-context-validation -R pds4.bundle -t {resourceDir}/github291/invalid/bundle_kaguya_derived.xml" | "report_github291_bundle_invalid.json" | - -# Moved github292 tests to the end as they interfere with other test with the following error message: -# -# The attribute pds:information_model_version must be equal to the value '1.16.0.0'. - - -| NASA-PDS/validate#294 |"NASA-PDS/validate#294 VALID" | "github294" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "--skip-context-validation -r {reportDir}/report_github294_bundle_valid.json -s json -R pds4.label -t {resourceDir}/github294/valid/minmax-error.xml" | "report_github294_bundle_valid.json" | -| NASA-PDS/validate#294-1 |"NASA-PDS/validate#294 INVALID" | "github294" | 1 | "1 error messages expected for RECORDS_MISMATCH." | "RECORDS_MISMATCH" | "src/test/resources" | "target/test" | "--skip-context-validation -r {reportDir}/report_github294_bundle_invalid.json -s json -R pds4.label -t {resourceDir}/github294/invalid/minmax-error.xml" | "report_github294_bundle_invalid.json" | - -| NASA-PDS/validate#190 |"NASA-PDS/validate#190" | "github190" | 1 | "1 error messages expected." | "FIELD_VALUE_DATA_TYPE_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github190.json -s json --skip-context-validation -t {resourceDir}/github190/validation_test.xml" | "report_github190.json" | - -| NASA-PDS/validate#173 |"NASA-PDS/validate#173 1" | "github173" | 0 | "0 error messages expected. See validation report:" | "RECORDS_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github173_1.json -s json --skip-context-validation -R pds4.bundle -t {resourceDir}/github173/valid/ --skip-content-validation" | "report_github173_1.json" | -| NASA-PDS/validate#173-1 |"NASA-PDS/validate#173 2" | "github173" | 1 | "1 info/error messages not expected." | "RECORDS_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github173_2.json -s json --skip-context-validation -R pds4.bundle -t {resourceDir}/github173/invalid/ --skip-content-validation" | "report_github173_2.json" | -| NASA-PDS/validate#149 |"NASA-PDS/validate#149 1" | "github173" | 0 | "0 error messages expected. See validation report: " | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github149_1.json -s json --skip-context-validation -t {resourceDir}/github173/valid/bundle_kaguya_derived.xml" | "report_github149_1.json" | -# "The attribute pds:information_model_version must be equal to the value '1.7.0.0'."}] -# {pds-dev3.jpl.nasa.gov}/home/qchau/sandbox/validate 168 % grep -n information_model_version ./src/test/resources/github173/invalid/bundle_kaguya_derived.xml -#11: 1.11.0.0 -| NASA-PDS/validate#149 |"NASA-PDS/validate#149 2" | "github173" | 0 | "0 error messages expected. See validation report: " | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github149_2.json -s json --skip-context-validation -t {resourceDir}/github173/invalid/bundle_kaguya_derived.xml" | "report_github149_2.json" | - -| NASA-PDS/validate#5 |"NASA-PDS/validate#5 1" | "github5" | 6 | "6 FILE_NAME_HAS_INVALID_CHARS,UNALLOWED_BASE_NAME messages expected." | "FILE_NAME_HAS_INVALID_CHARS,UNALLOWED_BASE_NAME" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github5_bundle_invalid.json -s json --skip-context-validation -t {resourceDir}/github5/invalid/bundle_kaguya_derived.xml" | "report_github5_bundle_invalid.json" | -| NASA-PDS/validate#5-1 |"NASA-PDS/validate#5 2" | "github5" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github5_bundle_valid.json -s json --skip-context-validation -t {resourceDir}/github5/valid/bundle_kaguya_derived.xml" | "report_github5_bundle_valid.json" | -| NASA-PDS/validate#11 |"NASA-PDS/validate#11 1" | "github11" | 1 | "1 INVALID_OBJECT_DEFINITION messages expected." | "INVALID_OBJECT_DEFINITION" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github11_invalid_1.json -s json -t {resourceDir}/github11/test_data/science_index_bad_1.xml" | "report_github11_invalid_1.json" | -| NASA-PDS/validate#11-1 |"NASA-PDS/validate#11 2" | "github11" | 1 | "1 INVALID_OBJECT_DEFINITION messages expected." | "INVALID_OBJECT_DEFINITION" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github11_invalid_2.json -s json -t {resourceDir}/github11/test_data/science_index_bad_2.xml" | "report_github11_invalid_2.json" | -| NASA-PDS/validate#11-2 |"NASA-PDS/validate#11 3" | "github11" | 0 | "0 INVALID_OBJECT_DEFINITION messages expected." | "INVALID_OBJECT_DEFINITION" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github11_valid.json -s json -t {resourceDir}/github11/test_data/science_index_good.xml" | "report_github11_valid.json" | -# The number of errors increase from 1 to 2 due to https://github.com/NASA-PDS/validate/issues/374 Refactor PDF/A check handling to match with similar product checks -# The function validateFileStandardConformity() in PDFUtil cannot build the URI from a URL that contains spaces. -# So, the 1st error is the file name contains spaces from FileAndDirectoryNamingRule and the 2nd error comes from function validateFileStandardConformity(). -| NASA-PDS/validate#153-1 |"NASA-PDS/validate#153 1" | "github153" | 1 | "1 error messages expected." | "FILE_NAME_HAS_INVALID_CHARS" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github153_invalid.json -s json --skip-context-validation -R pds4.label -t {resourceDir}/github153/iue_asteroid_spectra/document/3juno_lwr01896_ines_fits_headers.pdfa%.xml" | "report_github153_invalid.json" | -| NASA-PDS/validate#153 |"NASA-PDS/validate#153 2" | "github153" | 0 | "No error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "--skip-context-validation -R pds4.label -r {reportDir}/report_github153_valid.json -s json -t {resourceDir}/github153/iue_asteroid_spectra/document/collection_iue_asteroid_spectra_document.xml" | "report_github153_valid.json" | -| NASA-PDS/validate#17 |"NASA-PDS/validate#17 1" | "github17" | 3 | "3 warning expected." | "totalWarnings" | "src/test/resources" | "target/test" | "--skip-context-validation -R pds4.label -r {reportDir}/report_github17_invalid.json -s json -t {resourceDir}/github17/delimited_table_bad.xml" | "report_github17_invalid.json" | -| NASA-PDS/validate#17-1 |"NASA-PDS/validate#17 2" | "github17" | 0 | "No error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "--skip-context-validation -R pds4.label -r {reportDir}/report_github17_valid.json -s json -t {resourceDir}/github17/delimited_table_good.xml" | "report_github17_valid.json" | - -| NASA-PDS/validate#230 |"NASA-PDS/validate#230 1" | "github230" | 2 | "2 errors expected for MISSING_VERSION." | "MISSING_VERSION" | "src/test/resources" | "target/test" | "--skip-content-validation -R pds4.bundle -r {reportDir}/report_github230_invalid.json -s json -t {resourceDir}/github230/invalid/cocirs_c2h4abund/bundle_cocirs_c2h4abund.xml" | "report_github230_invalid.json" | -| NASA-PDS/validate#230-1 |"NASA-PDS/validate#230 2" | "github230" | 0 | "0 errors expected for MISSING_VERSION." | "MISSING_VERSION" | "src/test/resources" | "target/test" | "--skip-content-validation -R pds4.bundle -r {reportDir}/report_github230_valid.json -s json -t {resourceDir}/github230/valid/cocirs_c2h4abund/bundle_cocirs_c2h4abund.xml" | "report_github230_valid.json" | - -| NASA-PDS/validate#51 |"NASA-PDS/validate#51 1" | "github51" | 0 | "0 errors expected for totalErrors." | "totalErrors" | "src/test/resources" | "target/test" | "--skip-content-validation --skip-context-validation -r {reportDir}/report_github51_1.json -s json -t {resourceDir}/github51/valid" | "report_github51_1.json" | -# Previous 2 info.validation.general plus 5 new ones from warning messages from code changes in https://github.com/NASA-PDS/validate/issues/308 -# Per https://github.com/NASA-PDS/validate/issues/368 will change 7 back to 2. -# -| NASA-PDS/validate#51-1 |"NASA-PDS/validate#51 2" | "github51" | 2 | "2 errors expected for GENERAL_INFO." | "GENERAL_INFO" | "src/test/resources" | "target/test" | "-R pds4.bundle --alternate_file_paths src/test/resources/github51_additionals/additional_dir1/data_spectra,src/test/resources/github51_additionals/additional_dir2/data_spectra --skip-product-validation --skip-content-validation -r {reportDir}/report_github51_2.json -s json -t {resourceDir}/github51/valid" | "report_github51_2.json" | -# -| NASA-PDS/validate#6-1 |"NASA-PDS/validate#6 1" | "github6" | 8 | "8 errors expected." | "FILE_NAME_HAS_INVALID_CHARS,UNALLOWED_BASE_NAME,NON_PDFA_FILE" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github6_bundle_invalid_cucumber.json -s json --skip-context-validation -R pds4.bundle {resourceDir}/github6/invalid/bundle_kaguya_derived.xml" | "report_github6_bundle_invalid_cucumber.json" | -| NASA-PDS/validate#6-2 |"NASA-PDS/validate#6 2" | "github6" | 15 | "15 warnings expected." | "UNREFERENCED_MEMBER,UNLABELED_FILE,REFERENCE_NOT_FOUND,MEMBER_NOT_FOUND,INTEGRITY_PDS4_VERSION_MISMATCH" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github6_2.json -s json --skip-context-validation {resourceDir}/github6/invalid/bundle_kaguya_derived_7.xml" | "report_github6_2.json" | -| NASA-PDS/validate#6 |"NASA-PDS/validate#6 3" | "github6" | 0 | "0 errors expected for totalErrors." | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github6_3.json -s json --skip-context-validation {resourceDir}/github6/valid/bundle_kaguya_derived.xml" | "report_github6_3.json" | -| NASA-PDS/validate#240 |"NASA-PDS/validate#240 1" | "github240" | 0 | "0 errors expected for totalErrors." | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github240_bundle_valid_cucumber.json -s json --skip-context-validation {resourceDir}/github240/valid/bundle_kaguya_derived.xml" | "report_github240_bundle_valid_cucumber.json" | -| NASA-PDS/validate#240-1 |"NASA-PDS/validate#240 2" | "github240" | 3 | "3 warnings expected." | "UNALLOWED_BUNDLE_SUBDIR_NAME" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github240_bundle_invalid_cucumber.json -s json --skip-context-validation {resourceDir}/github240/invalid/bundle_kaguya_derived.xml" | "report_github240_bundle_invalid_cucumber.json" | - -# https://github.com/NASA-PDS/validate/issues/15 Verify that all name/type attribute values correspond to names denoted context products -| NASA-PDS/validate#15 |"NASA-PDS/validate#15 1" | "github15" | 0 | "0 valid context references should be found" | "CONTEXT_REFERENCE_NOT_FOUND" | "src/test/resources" | "target/test" | "-v1 -r {reportDir}/report_github15_pass.json -s json --disable-context-mismatch-warnings -R pds4.label -t {resourceDir}/github15/test_check-pass_context_products.xml" | "report_github15_pass.json" | -# |"NASA-PDS/validate#15 2" | "github15" | 4 | "4 errors expected for invalid context reference (Lid, name, value) test." | "CONTEXT_REFERENCE_NOT_FOUND,CONTEXT_REFERENCE_FOUND_MISMATCH_INFO" | "src/test/resources" | "target/test" | "-v1 -r {reportDir}/report_github15_no-pass.json -s json --disable-context-mismatch-warnings {resourceDir}/github15/test_check-no-pass_context_products.xml" | "report_github15_no-pass.json" | - -# The below tests are for real. -| NASA-PDS/validate#28 |"NASA-PDS/validate#28 1" | "github28" | 1 | "1 error expected for invalid context reference test." | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github28_1.json -s json {resourceDir}/github28/test_add_context_products.xml" | "report_github28_1.json" | -# |"NASA-PDS/validate#28 2" | "github28" | 0 | "No errors expected for add additional context test" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github28_2.json -s json --add-context-products {resourceDir}/github28/new_context.json -t {resourceDir}/github28/test_add_context_products.xml" | "report_github28_2.json" | - -| NASA-PDS/validate#137 |"NASA-PDS/validate#137 1" | "github137" | 0 | "FIELD_VALUE_DATA_TYPE_MISMATCH info/error messages expected." | "FIELD_VALUE_DATA_TYPE_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github137_1.json -s json -t {resourceDir}/github137/delimited_table_good.xml" | "report_github137_1.json" | -| NASA-PDS/validate#137-1 |"NASA-PDS/validate#137 1" | "github137" | 2 | "FIELD_VALUE_DATA_TYPE_MISMATCH info/error messages not expected." | "FIELD_VALUE_DATA_TYPE_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github137_2.json -s json -t {resourceDir}/github137/delimited_table_bad.xml" | "report_github137_2.json" | - -## Note that the reference code re-use the JSON report file for both tests but we won't -| NASA-PDS/validate#47-1 |"NASA-PDS/validate#47 1" | "github47" | 0 | "0 errors expected." | "CONTEXT_REFERENCE_NOT_FOUND" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github47_disable-valid.json -s json --disable-context-mismatch-warnings -R pds4.label --skip-content-validation --skip-context-validation {resourceDir}/github47/test_context_products.xml" | "report_github47_disable-valid.json" | -| NASA-PDS/validate#47-2 |"NASA-PDS/validate#47 2" | "github47" | 1 | "1 errors expected." | "CONTEXT_REFERENCE_NOT_FOUND" | "src/test/resources" | "target/test" | "-v1 --skip-content-validation -r {reportDir}/report_github47_enable-valid.json -s json --disable-context-mismatch-warnings -R pds4.label {resourceDir}/github47/test_context_products.xml" | "report_github47_enable-valid.json" | - -| NASA-PDS/validate#62 |"NASA-PDS/validate#62 1" | "github62" | 4 | "4 info.label.context_ref_found info messages expected.\n" | "CONTEXT_REFERENCE_FOUND" | "src/test/resources" | "target/test" | "-v1 -r {reportDir}/report_github62_1.json -s json --no-data-check -t {resourceDir}/github62/ele_mom_tblChar.xml" | "report_github62_1.json" | -| NASA-PDS/validate#62-1 |"NASA-PDS/validate#62 2" | "github62" | 8 | "8 info/error messages expected.\n" | "CONTEXT_REFERENCE_FOUND,CONTEXT_REFERENCE_NOT_FOUND" | "src/test/resources" | "target/test" | "-v1 -r {reportDir}/report_github62_2.json -s json --no-data-check -t {resourceDir}/github62/spacecraft.orex_1.1.xml" | "report_github62_2.json" | - -# Move github278 before github71 as it causing issues -# By declaring the error type, should allow the zero length PDF file to go unnoticed. -|"NASA-PDS/validate#278 1" |"NASA-PDS/validate#278 1" | "github278" | 1 | "1 errors expected for CONTEXT_REFERENCE_NOT_FOUND." | "CONTEXT_REFERENCE_NOT_FOUND" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github278_label_invalid_cucumber.json -s json -R pds4.label {resourceDir}/github278/invalid/trk-2-34-revn-l5_tnf_invalid.xml" | "report_github278_label_invalid_cucumber.json" | -|"NASA-PDS/validate#278 2" |"NASA-PDS/validate#278 2" | "github278" | 0 | "0 errors expected for CONTEXT_REFERENCE_NOT_FOUND." | "CONTEXT_REFERENCE_NOT_FOUND" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github278_label_valid_cucumber.json -s json -R pds4.label {resourceDir}/github278/valid/trk-2-34-revn-l5_tnf.xml" | "report_github278_label_valid_cucumber.json" | - -| NASA-PDS/validate#9 |"NASA-PDS/validate#9 1" | "github09" | 0 | "info/error messages expected." | "FIELD_VALUE_DATA_TYPE_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github09_1.json -s json -t {resourceDir}/github09/minimal_test_product_good2.xml" | "report_github09_1.json" | -| NASA-PDS/validate#9-1 |"NASA-PDS/validate#9 2" | "github09" | 0 | "0 info/error messages not expected." | "FIELD_VALUE_DATA_TYPE_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github09_2.json -s json -t {resourceDir}/github09/minimal_test_product_good.xml" | "report_github09_2.json" | -| NASA-PDS/validate#9-2 |"NASA-PDS/validate#9 3" | "github09" | 0 | "0 info/error messages not expected" | "FIELD_VALUE_DATA_TYPE_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github09_3.json -s json -t {resourceDir}/github09/csv_empty_field_test_VALID.xml" | "report_github09_3.json" | -| NASA-PDS/validate#9-3 |"NASA-PDS/validate#9 4" | "github09" | 1 | "1 info/error messages expected." | "FIELD_VALUE_DATA_TYPE_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github09_4.json -s json -t {resourceDir}/github09/csv_empty_field_test_INVALID.xml" | "report_github09_4.json" | -| NASA-PDS/validate#9-4 |"NASA-PDS/validate#9 5" | "github09" | 0 | "0 info/error messages expected." | "FIELD_VALUE_DATA_TYPE_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github09_5.json -s json -t {resourceDir}/github09/val9a.xml.xml" | "report_github09_5.json" | -| NASA-PDS/validate#9-5 |"NASA-PDS/validate#9 6" | "github09" | 1 | "1 info/error messages expected." | "FIELD_VALUE_DATA_TYPE_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github09_6.json -s json -t {resourceDir}/github09/val9b.xml" | "report_github09_6.json" | - -| NASA-PDS/validate#50 |"NASA-PDS/validate#50 1" | "github50" | 0 | "0 error messages expected.\n" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github50_1.json -s json --skip-content-validation --skip-context-validation --target-manifest {reportDir}/target-manifest.xml" | "report_github50_1.json" | -| NASA-PDS/validate#50-1 |"NASA-PDS/validate#50 2" | "github50" | 3 | "3 error messages expected.\n" | "MISSING_REFERENCED_FILE" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github50_2.json -s json --target-manifest {reportDir}/target-manifest.xml -t {resourceDir}/github50/ele_evt_8hr_orbit_2014-2015.xml" | "report_github50_2.json" | -## Very special note: Test github84 must be specified after github71 and github71_2 due to dependency. -## That means if github84 is included in this table, github71 and github71_2 MUST also be included, -## otherwise you will see errors and not know why. -# |"NASA-PDS/validate#84 1" | "github84" | 0 | "No error messages expected" | "summary_message_only" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github84_1.json -s json --no-data-check -c {resourceDir}/github84/config.txt -t {resourceDir}/github71/ELE_MOM.xml" | "report_github84_1.json" | -# Remove duplicate test: "NASA-PDS/validate#87 1" - -# Remove duplicate tests: "NASA-PDS/validate#137 1" and "NASA-PDS/validate#137 2" - -# BIG_NOTE: The tests for github173 has to be moved toward the beginning as leave them here results in error in information model. - -# Note: Test github149 depends on github173 so if both have to be included and test github173 should be ran first. -# Something weird with the below test. If included everything above and then added this test, it failed. -# "The attribute pds:information_model_version must be equal to the value '1.7.0.0'."}], -# {pds-dev3.jpl.nasa.gov}/home/qchau/sandbox/validate 167 % grep -n information_model_version ./src/test/resources/github173/valid/bundle_kaguya_derived.xml -#11: 1.11.0.0 -# BIG_NOTE: The tests for github149 has to be moved toward the beginning as leave them here results in error in information model. -# - -# The 3 tests below are from "github209" -# There should be no WARN message for VALID test. -| NASA-PDS/validate#209 |"NASA-PDS/validate#209 VALID" | "github209" | 0 | "0 WARN message(s) expected. See validation report:" | "totalWarnings" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github209_1.json -s json --disable-context-mismatch-warnings -t {resourceDir}/github209/VALID_odf07155_msgr_11.xml" | "report_github209_1.json" | -# For some reason, when ran, the actual number is 4 instead of 1. -# [{"severity":"ERROR","type":"error.table.field_value_overlap","table":12,"record":1,"field":5,"message":"The bit field overlaps the next field. Current stop_bit_location: 23. Next start_bit_location: 20"}]}]}],"summary":{"totalErrors":4, -| NASA-PDS/validate#209-1 |"NASA-PDS/validate#209 FAIL1" | "github209" | 1 | "1 message(s) expected. See validation report:" | "FIELD_VALUE_OVERLAP" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github209_2.json -s json --disable-context-mismatch-warnings -t {resourceDir}/github209/FAIL1_overlapping_bit_fields.xml" | "report_github209_2.json" | -# ,{"severity":"ERROR","type":"error.table.bad_field_read","table":12,"record":1,"field":6,"message":"Error while getting field value: Stop bit past end of packed field (32 > 31)"}]}]}],"summary":{"totalErrors":5, -| NASA-PDS/validate#209-2 |"NASA-PDS/validate#209 FAIL2" | "github209" | 2 | "2 message(s) expected. See validation report:" | "FIELD_VALUE_OVERLAP,BAD_FIELD_READ" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github209_3.json -s json --disable-context-mismatch-warnings -t {resourceDir}/github209/FAIL2_bad_stop_bit.xml" | "report_github209_3.json" | -# -# -# The correct location of file catalog.xml is in {reportDir} and not {resourceDir} -# Move github87 as it is interfering with github292 tests - -# https://github.com/NASA-PDS/validate/issues/281 Validate fails to report error in File.file_size - -| NASA-PDS/validate#281 |"NASA-PDS/validate#281 1" | "github281" | 1 | "1 errors expected for FILESIZE_MISMATCH." | "FILESIZE_MISMATCH" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github281_label_invalid_1_cucumber.json -s json {resourceDir}/github281/invalid/collection_gwe_spk_invalid_1_bad_filesize.xml" | "report_github281_label_invalid_1_cucumber.json" | -| NASA-PDS/validate#281-1 |"NASA-PDS/validate#281 2" | "github281" | 1 | "1 errors expected for CHECKSUM_MISMATCH." | "CHECKSUM_MISMATCH" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github281_label_invalid_2_cucumber.json -s json {resourceDir}/github281/invalid/collection_gwe_spk_invalid_2_bad_checksum.xml" | "report_github281_label_invalid_2_cucumber.json" | -| NASA-PDS/validate#281-2 |"NASA-PDS/validate#281 3" | "github281" | 1 | "1 errors expected for CHECKSUM_MISMATCH." | "CHECKSUM_MISMATCH" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github281_label_invalid_3_cucumber.json -s json {resourceDir}/github281/invalid/collection_gwe_spk_invalid_3_bad_checksum_no_filesize.xml" | "report_github281_label_invalid_3_cucumber.json" | -| NASA-PDS/validate#281-3 |"NASA-PDS/validate#281 4" | "github281" | 0 | "0 errors expected for FILESIZE_MISMATCH." | "FILESIZE_MISMATCH" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github281_label_valid_1_cucumber.json -s json {resourceDir}/github281/valid/collection_gwe_spk_valid_1.xml" | "report_github281_label_valid_1_cucumber.json" | -| NASA-PDS/validate#281-4 |"NASA-PDS/validate#281 5" | "github281" | 0 | "0 errors expected for FILESIZE_MISMATCH." | "FILESIZE_MISMATCH" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github281_label_valid_2_cucumber.json -s json {resourceDir}/github281/valid/collection_gwe_spk_valid_2_no_filesize.xml" | "report_github281_label_valid_2_cucumber.json" | -| NASA-PDS/validate#281-5 |"NASA-PDS/validate#281 6" | "github281" | 0 | "0 errors expected for FILESIZE_MISMATCH." | "FILESIZE_MISMATCH" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github281_label_valid_3_cucumber.json -s json {resourceDir}/github281/valid/collection_gwe_spk_valid_3_no_filesize_no_checksum.xml" | "report_github281_label_valid_3_cucumber.json" | - -# https://github.com/NASA-PDS/validate/issues/298 validate misses double quotes within a delimited table - -| NASA-PDS/validate#298 |"NASA-PDS/validate#298 VALID" | "github298" | 0 | "0 errors messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github298_label_valid.json -s json {resourceDir}/github298/valid/sentences.xml" | "report_github298_label_valid.json" | -| NASA-PDS/validate#298-1 |"NASA-PDS/validate#298 INVALID" | "github298" | 43 | "43 errors expected for INVALID_FIELD_VALUE ." | "INVALID_FIELD_VALUE" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github298_label_invalid.json -s json {resourceDir}/github298/invalid/sentences.xml" | "report_github298_label_invalid.json" | - -# https://github.com/NASA-PDS/validate/issues/188 As a user, I want to validate a bundle that uses multiple versions of the Information Model / Discipline LDDs -| NASA-PDS/validate#188 |"NASA-PDS/validate#188 VALID" | "github188" | 0 | "0 errors message expected" | "totalErrors" | "src/test/resources" | "target/test" | "--skip-content-validation -r {reportDir}/report_github188_label_valid_both.json -s json -t {resourceDir}/github188/bundle_cassini-huygens-coradar.xml {resourceDir}/github188/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | "report_github188_label_valid_both.json" | - -# https://github.com/NASA-PDS/validate/issues/217 -| NASA-PDS/validate#217 |"NASA-PDS/validate#217 SUCCESS: Add Additional Tables Types Content Validation (with expected errors)" | "github217" | 0 | "0 records mismatch errors expected" | "RECORDS_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github217_1.json -s json -t {resourceDir}/github217/success/" | "report_github217_1.json" | -| NASA-PDS/validate#217-1 |"NASA-PDS/validate#217 FAIL1: Add Additional Tables Type Content Validation" | "github217" | 6 | "6 records mismatch errors expected" | "RECORDS_MISMATCH" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github217_2.json -s json -t {resourceDir}/github217/fail/delmet4.xml {resourceDir}/github217/fail/binobs4.xml {resourceDir}/github217/fail/delobs4.xml {resourceDir}/github217/fail/delinv4.xml {resourceDir}/github217/fail/ascbro4.xml {resourceDir}/github217/fail/delsup4.xml {resourceDir}/github217/fail/delanc4.xml {resourceDir}/github217/fail/binanc4.xml {resourceDir}/github217/fail/binsup4.xml {resourceDir}/github217/fail/ascsup4.xml {resourceDir}/github217/fail/delbro4.xml {resourceDir}/github217/fail/ascanc4.xml {resourceDir}/github217/fail/binbro4.xml {resourceDir}/github217/fail/ascmet4.xml {resourceDir}/github217/fail/ascobs4.xml" | "report_github217_2.json" | -| NASA-PDS/validate#217-2 |"NASA-PDS/validate#217 FAIL2: Add Additional Tables Type Content Validation" | "github217" | 9 | "9 table definition errors expected" | "TABLE_DEFINITION_PROBLEM" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github217_3.json -s json -t {resourceDir}/github217/fail/delmet4.xml {resourceDir}/github217/fail/binobs4.xml {resourceDir}/github217/fail/delobs4.xml {resourceDir}/github217/fail/delinv4.xml {resourceDir}/github217/fail/ascbro4.xml {resourceDir}/github217/fail/delsup4.xml {resourceDir}/github217/fail/delanc4.xml {resourceDir}/github217/fail/binanc4.xml {resourceDir}/github217/fail/binsup4.xml {resourceDir}/github217/fail/ascsup4.xml {resourceDir}/github217/fail/delbro4.xml {resourceDir}/github217/fail/ascanc4.xml {resourceDir}/github217/fail/binbro4.xml {resourceDir}/github217/fail/ascmet4.xml {resourceDir}/github217/fail/ascobs4.xml" | "report_github217_3.json" | - -# https://github.com/NASA-PDS/validate/issues/210 As a user, I want validate to raise a WARNING when differing versions of IM are used within a bundle -| NASA-PDS/validate#210 |"NASA-PDS/validate#210 WITH_WARNING" | "github210" | 1 | "1 warning message expected" | "totalWarnings" | "src/test/resources" | "target/test" | "--skip-content-validation -r {reportDir}/report_github210_label_valid_both_with_warning.json -s json -t {resourceDir}/github210/bundle_cassini-huygens-coradar.xml {resourceDir}/github210/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | "report_github210_label_valid_both_with_warning.json" | - -# https://github.com/NASA-PDS/validate/issues/310 Validate missing collections in bundle after CCB-282 updates -| NASA-PDS/validate#310 |"NASA-PDS/validate#310 WITHOUT_WARNING" | "github310" | 0 | "0 UNREFERENCED_MEMBER warning message expected" | "UNREFERENCED_MEMBER" | "src/test/resources" | "target/test" | "-R pds4.bundle --skip-content-validation -r {reportDir}/report_github310_bundle_valid.json -s json -t {resourceDir}/github310/valid/bundle.xml" | "report_github310_bundle_valid.json" | -| NASA-PDS/validate#310-1 |"NASA-PDS/validate#310 WITH_WARNING" | "github310" | 0 | "0 UNREFERENCED_MEMBER warning message expected" | "UNREFERENCED_MEMBER" | "src/test/resources" | "target/test" | "-R pds4.bundle --skip-content-validation -r {reportDir}/report_github310_bundle_invalid.json -s json -t {resourceDir}/github310/invalid/bundle.xml" | "report_github310_bundle_invalid.json" | - -# https://github.com/NASA-PDS/validate/issues/57 As a user, I want to be warned when there are alphanumeric characters between fields in Table_Character -| NASA-PDS/validate#57 |"NASA-PDS/validate#57 WITH_WARNING" | "github57" | 5 | "5 warning messages expected" | "totalWarnings" | "src/test/resources" | "target/test" | "-R pds4.label --strict-field-checks --skip-context-validation -r {reportDir}/report_github57_label_valid_with_warning.json -s json -t {resourceDir}/github57/validate_57a_valid.xml" | "report_github57_label_valid_with_warning.json" | -| NASA-PDS/validate#57-1 |"NASA-PDS/validate#57 WITHOUT_WARNING" | "github57" | 0 | "0 warning messages expected" | "totalWarnings" | "src/test/resources" | "target/test" | "-R pds4.label --skip-context-validation -r {reportDir}/report_github57_label_valid_without_warning.json -s json -t {resourceDir}/github57/validate_57a_valid.xml" | "report_github57_label_valid_without_warning.json" | -| NASA-PDS/validate#57-2 |"NASA-PDS/validate#57 INVALID" | "github57" | 4 | "4 error messages expected" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label --strict-field-checks --skip-context-validation -r {reportDir}/report_github57_label_invalid.json -s json -t {resourceDir}/github57/validate_57a_invalid.xml" | "report_github57_label_invalid.json" | -| NASA-PDS/validate#57-3 |"NASA-PDS/validate#57 One ERROR on last line" | "github57" | 5 | "5 warning messages expected" | "CHARS_BETWEEN_FIELDS" | "src/test/resources" | "target/test" | "-R pds4.label --strict-field-checks --skip-context-validation -r {reportDir}/report_github57c.json -s json -t {resourceDir}/github57/validate_57c.xml" | "report_github57c.json" | - -# https://github.com/NASA-PDS/validate/issues/303 As a user, I want to the raise a WARNING if the object-defined size in the label does not match the file_size value - -| NASA-PDS/validate#303 |"NASA-PDS/validate#303 INVALID" | "github303" | 1 | "1 error messages expected" | "ARRAY_DATA_FILE_READ_ERROR" | "src/test/resources" | "target/test" | "-R pds4.label --skip-context-validation -r {reportDir}/report_github303_label_invalid.json -s json -t {resourceDir}/github303/invalid/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | "report_github303_label_invalid.json" | -| NASA-PDS/validate#303-1 |"NASA-PDS/validate#303 VALID" | "github303" | 0 | "0 error messages expected" | "ARRAY_DATA_FILE_READ_ERROR" | "src/test/resources" | "target/test" | "-R pds4.label --skip-context-validation -r {reportDir}/report_github303_label_valid.json -s json -t {resourceDir}/github303/valid/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | "report_github303_label_valid.json" | - -# https://github.com/NASA-PDS/validate/issues/164 As a user, I want to validate PDF files are PDF/A -| NASA-PDS/validate#164 |"NASA-PDS/validate#164 WITH_ERROR" | "github164" | 1 | "1 error messages expected" | "NON_PDFA_FILE" | "src/test/resources" | "target/test" | "-R pds4.label --skip-context-validation -r {reportDir}/report_github164_label_pdfa_invalid.json -s json -t {resourceDir}/github164/invalid/document_test_1_pdf.xml" | "report_github164_label_pdfa_invalid.json" | -| NASA-PDS/validate#164-1 |"NASA-PDS/validate#164 VALID" | "github164" | 0 | "0 warning messages expected" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label --skip-context-validation -r {reportDir}/report_github164_label_pdfa_valid.json -s json -t {resourceDir}/github164/valid/document_pdfa_valid.xml" | "report_github164_label_pdfa_valid.json" | - -# https://github.com/NASA-PDS/validate/issues/325 Validate Incorrectly Throws Error When Embedded Field_Character Contains -# temp turn off and fix again in new issue because character table seems to be getting processed as a delimited table -| NASA-PDS/validate#325 |"NASA-PDS/validate#325 VALID" | "github325" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github325_label_valid.json -s json -R pds4.label -t {resourceDir}/github325/crs009x.xml" | "report_github325_label_valid.json" | - -# https://github.com/NASA-PDS/validate/issues/335 validate gives a NullPointerException during validation of a directory containing Table_Character products - -| NASA-PDS/validate#335 |"NASA-PDS/validate#335 VALID_1" | "github335" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "--skip-context-validation -r {reportDir}/report_github335_as_label_valid.json -s json -R pds4.label -t {resourceDir}/github335/minimal_test_product.xml" | "report_github335_as_label_valid.json" | -| NASA-PDS/validate#335-1 |"NASA-PDS/validate#335 VALID_2" | "github335" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "--skip-context-validation -r {reportDir}/report_github335_as_dir_valid.json -s json -t {resourceDir}/github335/" | "report_github335_as_dir_valid.json" | - -# https://github.com/NASA-PDS/validate/issues/328 validate bundle incorrectly reports "not a member of any collection" that it passed before - -| NASA-PDS/validate#328 |"NASA-PDS/validate#328 VALID" | "github328" | 0 | "0 warning messages expected." | "UNREFERENCED_MEMBER" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github328_bundle_valid.json -s json -t {resourceDir}/github328/valid/bundle_misc.xml" | "report_github328_bundle_valid.json" | -| NASA-PDS/validate#328-1 |"NASA-PDS/validate#328 INVALID" | "github328" | 0 | "0 warning messages expected." | "UNREFERENCED_MEMBER" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github328_bundle_invalid.json -s json -t {resourceDir}/github328/invalid/bundle_misc.xml" | "report_github328_bundle_invalid.json" | - -# https://github.com/NASA-PDS/validate/issues/334 validate 2.1.0 snapshot fails on a label with 2 table_character - -| NASA-PDS/validate#334 |"NASA-PDS/validate#334 VALID" | "github334" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github334_label_valid.json -s json -t {resourceDir}/github334/valid/pvoro_graph_eden_k91_3a_01_v01_r00.xml" | "report_github334_label_valid.json" | -| NASA-PDS/validate#334-1 |"NASA-PDS/validate#334 VALID" | "github334" | 2 | "2 error messages expected." | "INVALID_OBJECT_DEFINITION" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github334_label_invalid.json -s json -t {resourceDir}/github334/invalid/pvoro_graph_eden_k91_3a_01_v01_r00.xml" | "report_github334_label_invalid.json" | - - -# https://github.com/NASA-PDS/validate/issues/308 As a user, I want to check that all Internal References are valid references to other PDS4 products within the current validating bundle - -| NASA-PDS/validate#308 |"NASA-PDS/validate#308 VALID" | "github308" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github308_bundle_valid.json -s json -t {resourceDir}/github308/valid/bundle_kaguya_derived.xml" | "report_github308_bundle_valid.json" | -# 2 warning.integrity.unreferenced_member -# 4 info.validation.general -# -| NASA-PDS/validate#308-1 |"NASA-PDS/validate#308 INVALID" | "github308" | 2 | "2 UNREFERENCED_MEMBER warning messages expected." | "UNREFERENCED_MEMBER" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github308_bundle_invalid.json -s json -t {resourceDir}/github308/invalid/bundle_kaguya_derived.xml" | "report_github308_bundle_invalid.json" | - -# https://github.com/NASA-PDS/validate/issues/344 validate inexplicably writes to validate_stack_traces.log - -| NASA-PDS/validate#344 |"NASA-PDS/validate#344 VALID" | "github344" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github344_bundle_valid.json -s json -t {resourceDir}/github344/bundle.xml" | "report_github344_bundle_valid.json" | - -# https://github.com/NASA-PDS/validate/issues/345 validate incorrectly flags integers bounded by "" in a .csv - -| NASA-PDS/validate#345 |"NASA-PDS/validate#345 VALID" | "github345" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github345_label_valid.json -s json -t {resourceDir}/github345/astro_sample_t.xml" | "report_github345_label_valid.json" | -| NASA-PDS/validate#345-1 |"NASA-PDS/validate#345 VALID_2" | "github345" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github345_label_valid_2.json -s json -t {resourceDir}/github345/astro_sample_data_t.xml" | "report_github345_label_valid_2.json" | - -# https://github.com/NASA-PDS/validate/issues/355 Improve validate reporting when trying to read a null row -# https://github.com/nasa-pds/validate/issues/357 Validate allows CRLF within a Table_Delimited field - -| NASA-PDS/validate#357 |"NASA-PDS/validate#357 INVALID_1" | "github357" | 2 | "2 error messages expected: 1 error.validation.invalid_field_value and 1 error.table.bad_field_read." | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github357_label_invalid_1.json -s json -t {resourceDir}/github357/whypointsremovedfromdata.xml" | "report_github357_label_invalid_1.json" | -| NASA-PDS/validate#357-1 |"NASA-PDS/validate#357 INVALID_2" | "github357" | 1 | "1 error messages expected: 1 error.validation.invalid_field_value" | "INVALID_FIELD_VALUE" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github357_label_invalid_2.json -s json -t {resourceDir}/github357/whypointsremovedfromdata_2240_records.xml" | "report_github357_label_invalid_2.json" | -| NASA-PDS/validate#357-2 |"NASA-PDS/validate#357 INVALID_3" | "github357" | 1 | "1 error messages expected: 1 error.table.records_mismatch" | "RECORDS_MISMATCH" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github357_label_invalid_3.json -s json -t {resourceDir}/github357/whypointsremovedfromdata_2250_records.xml" | "report_github357_label_invalid_3.json" | -| NASA-PDS/validate#357-3 |"NASA-PDS/validate#357 INVALID_4" | "github357" | 1 | "1 error messages expected: 1 error.validation.invalid_field_value." | "INVALID_FIELD_VALUE" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github357_label_invalid_4.json -s json -t {resourceDir}/github357/whypointsremovedfromdata_4_records.xml" | "report_github357_label_invalid_4.json" | - -# https://github.com/nasa-pds/validate/issues/356 validate labels error.sub_directory.unallowed_name as a warning - -| NASA-PDS/validate#356 |"NASA-PDS/validate#356 VALID" | "github356" | 0 | "0 warning messages expected: 0 warning.sub_directory.unallowed_name (uses github240 input directory)" | "UNALLOWED_BUNDLE_SUBDIR_NAME" | "src/test/resources" | "target/test" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation -r {reportDir}/report_github356_bundle_valid.json -s json -t {resourceDir}/github240/valid/bundle_kaguya_derived.xml" | "report_github356_bundle_valid.json" | -| NASA-PDS/validate#356-1 |"NASA-PDS/validate#356 INVALID" | "github356" | 3 | "3 warning messages expected: 3 warning.sub_directory.unallowed_name (uses github240 input directory)" | "UNALLOWED_BUNDLE_SUBDIR_NAME" | "src/test/resources" | "target/test" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation -r {reportDir}/report_github356_bundle_invalid.json -s json -t {resourceDir}/github240/invalid/bundle_kaguya_derived.xml" | "report_github356_bundle_invalid.json" | - -# https://github.com/nasa-pds/validate/issues/364 validate does not allow ".XML" as an extension for a label file - -| NASA-PDS/validate#364 |"NASA-PDS/validate#364 VALID" | "github364" | 0 | "0 error messages expected: 0 totalErrors" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label --skip-product-validation --skip-context-validation --skip-content-validation -r {reportDir}/report_github364_label_valid.json -s json -t {resourceDir}/github364//MIS000XXX_2021001T000000_DEV0_2021001T0000_RAW010.XML" | "report_github364_label_valid.json" | -| NASA-PDS/validate#364-1 |"NASA-PDS/validate#364 INVALID" | "github364" | 1 | "1 error messages expected: 1 error.label.bad_extension" | "BAD_EXTENSION" | "src/test/resources" | "target/test" | "-R pds4.label --skip-product-validation --skip-context-validation --skip-content-validation -r {reportDir}/report_github364_label_invalid.json -s json -t {resourceDir}/github364//MIS000XXX_2021001T000000_DEV0_2021001T0000_RAW010" | "report_github364_label_invalid.json" | - -# https://github.com/nasa-pds/validate/issues/343 As a user I want to see the name of a table/array in errors, if one is specified - -| NASA-PDS/validate#343 |"NASA-PDS/validate#343 VALID" | "github343" | 0 | "0 error messages expected: 0 totalErrors" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label --skip-context-validation -r {reportDir}/report_github343_label_valid_1.json -s json -t {resourceDir}/github343/test_data/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | "report_github343_label_valid_1.json" | -| NASA-PDS/validate#343-1 |"NASA-PDS/validate#343 INVALID_1" | "github343" | 14 | "14 error messages expected: 14 ARRAY_VALUE_OUT_OF_MIN_MAX_RANGE with table name" | "ARRAY_VALUE_OUT_OF_MIN_MAX_RANGE" | "src/test/resources" | "target/test" | "-R pds4.label --skip-context-validation -r {reportDir}/report_github343_label_invalid_1.json -s json -t {resourceDir}/github343/test_data/I52_20210207_1A_U1B03A_01_0001.avgs_bad.xml" | "report_github343_label_invalid_1.json" | -| NASA-PDS/validate#343-2 |"NASA-PDS/validate#343 INVALID_2" | "github343" | 14 | "14 error messages expected: 14 ARRAY_VALUE_OUT_OF_MIN_MAX_RANGE without table name" | "ARRAY_VALUE_OUT_OF_MIN_MAX_RANGE" | "src/test/resources" | "target/test" | "-R pds4.label --skip-context-validation -r {reportDir}/report_github343_label_invalid_2.json -s json -t {resourceDir}/github343/test_data/I52_20210207_1A_U1B03A_01_0001.avgs_bad_noname.xml" | "report_github343_label_invalid_2.json" | - -# https://github.com/nasa-pds/validate/issues/366 validate should not check if file is PDF/A if --skip-content-validation is enabled -# github366 reuses github164 -# Github quirk: it needs a directory src/test/resources/github366 to exist -| NASA-PDS/validate#366 |"NASA-PDS/validate#366 INVALID_1_WITH_CONTENT_VALIDATION" | "github366" | 1 | "INVALID_1_WITH_CONTENT_VALIDATION 1 warn message expected: 1 NON_PDFA_FILE, reuse github164" | "NON_PDFA_FILE" | "src/test/resources" | "target/test" | "-R pds4.label --skip-context-validation -r {reportDir}/report_github366_label_pdfa_invalid_with_content_validation.json -s json -t {resourceDir}/github164/invalid/document_test_1_pdf.xml" | "report_github366_label_pdfa_invalid_with_content_validation.json" | -| NASA-PDS/validate#366-1 |"NASA-PDS/validate#366 VALID_1_WITH_CONTENT_VALIDATION" | "github366" | 0 | "VALID_1_WITH_CONTENT_VALIDATION 0 warn message expected: 0 NON_PDFA_FILE, reuse github164" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label -skip-context-validation -r {reportDir}/report_github366_label_pdfa_valid_with_content_validation.json -s json -t {resourceDir}/github164/valid/document_pdfa_valid.xml" | "report_github366_label_pdfa_valid_with_content_validation.json" | -| NASA-PDS/validate#366-2 |"NASA-PDS/validate#366 VALID_2_SKIP_CONTENT_VALIDATION" | "github366" | 0 | "VALID_2_SKIP_CONTENT_VALIDATION 0 error messages expected: 0 totalErrors, reuse github164" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label --skip-content-validation --skip-context-validation -r {reportDir}/report_github366_label_pdfa_valid_skip_content_validation.json -s json -t {resourceDir}/github164/valid/document_pdfa_valid.xml" | "report_github366_label_pdfa_valid_skip_content_validation.json" | - -# https://github.com/nasa-pds/validate/issues/379 FileService:printStackTraceToFile:ERROR when validating a product with overlapping fields - -| NASA-PDS/validate#379 |"NASA-PDS/validate#379 INVALID" | "github379" | 3 | "3 errors message expected" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label --skip-context-validation --skip-context-reference-check -r {reportDir}/report_github379_label_invalid.json -s json -t {resourceDir}/github379/mix_cal_hk_fpac_report_20181204.xml" | "report_github379_label_invalid.json" | - -# https://github.com/nasa-pds/validate/issues/380 stack trace being created during successful validate execution - -| NASA-PDS/validate#380 |"NASA-PDS/validate#380 INVALID_1" | "github380" | 3 | "3 errors message expected: Reuse github379 resources" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label --skip-context-validation --skip-context-reference-check -r {reportDir}/report_github380_label_invalid_without_stack.json -s json -t {resourceDir}/github379/mix_cal_hk_fpac_report_20181204.xml" | "report_github380_label_invalid_without_stack.json" | -| NASA-PDS/validate#380-1 |"NASA-PDS/validate#380 INVALID_2" | "github380" | 3 | "3 errors message expected: Reuse github379 resources" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label --debug-mode --skip-context-validation --skip-context-reference-check -r {reportDir}/report_github380_label_invalid_without_stack.json -s json -t {resourceDir}/github379/mix_cal_hk_fpac_report_20181204.xml" | "report_github380_label_invalid_without_stack.json" | - -# https://github.com/nasa-pds/validate/issues/375 validate halts if label has name "collection" embedded - -| NASA-PDS/validate#375 |"NASA-PDS/validate#375 VALID" | "github375" | 0 | "0 error messages expected: 0 totalErrors" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.bundle --skip-content-validation --skip-context-validation -r {reportDir}/report_github375_bundle_valid.json -s json -t {resourceDir}/github375/h/bundle_gbo.ast.primass-l.spectra.xml" | "report_github375_bundle_valid.json" | - -# https://github.com/NASA-PDS/validate/issues/368 Product referential integrity check throws invalid WARNINGs - -| NASA-PDS/validate#368 |"NASA-PDS/validate#368 VALID" | "github368" | 0 | "0 warnings expected for GENERAL_INFO." | "GENERAL_INFO" | "src/test/resources" | "target/test" | "-R pds4.bundle --skip-context-reference-check --skip-product-validation -r {reportDir}/report_github368_valid.json -s json -t {resourceDir}/github368/valid//bundle_kaguya_derived.xml " | "report_github368_valid.json" | - -# https://github.com/nasa-pds/validate/issues/373 Update pds4 version mismatch warning message and problem type - -| NASA-PDS/validate#373 |"NASA-PDS/validate#373 VALID" | "github373" | 1 | "1 INTEGRITY_PDS4_VERSION_MISMATCH message expected: reuse github240" | "INTEGRITY_PDS4_VERSION_MISMATCH" | "src/test/resources" | "target/test" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -r {reportDir}/report_github373_bundle_valid.json -s json -t {resourceDir}/github240/valid/bundle_kaguya_derived.xml" | "report_github373_bundle_valid.json" | -| NASA-PDS/validate#373-1 |"NASA-PDS/validate#373 INVALID" | "github373" | 1 | "1 INTEGRITY_PDS4_VERSION_MISMATCH message expected: reuse github240" | "INTEGRITY_PDS4_VERSION_MISMATCH" | "src/test/resources" | "target/test" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -r {reportDir}/report_github373_bundle_invalid.json -s json -t {resourceDir}/github240/invalid/bundle_kaguya_derived.xml" | "report_github373_bundle_invalid.json" | - -# https://github.com/nasa-pds/validate/issues/392 Validate throws incorrect overlap error when first Field_Bit has length 1 - -| NASA-PDS/validate#392 |"NASA-PDS/validate#392 VALID" | "github392" | 0 | "0 error messages expected: 0 totalErrors" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label --skip-context-validation -r {reportDir}/report_github392_label_valid.json -s json -t {resourceDir}/github392/test1_valid.xml" | "report_github392_label_valid.json" | -| NASA-PDS/validate#392-1 |"NASA-PDS/validate#392 INVALID_1" | "github392" | 1 | "1 error messages expected: 1 FIELD_VALUE_OVERLAP" | "FIELD_VALUE_OVERLAP" | "src/test/resources" | "target/test" | "-R pds4.label --skip-context-validation -r {reportDir}/report_github392_label_invalid_1.json -s json -t {resourceDir}/github392/test1_invalid.xml" | "report_github392_label_invalid_1.json" | -| NASA-PDS/validate#392-2 |"NASA-PDS/validate#392 INVALID_2" | "github392" | 1 | "1 error messages expected: 1 FIELD_VALUE_OVERLAP" | "FIELD_VALUE_OVERLAP" | "src/test/resources" | "target/test" | "-R pds4.label --skip-context-validation -r {reportDir}/report_github392_label_invalid_2.json -s json -t {resourceDir}/github392/INVALID_odf07155_msgr_11.xml" | "report_github392_label_invalid_2.json" | - -# https://github.com/nasa-pds/validate/issues/367 As a user, I want to validate all files referenced by a Product_Document -# Break up github367 one test into multiple tests for accounting purposes, i.g. each problem type has its own count. - -| NASA-PDS/validate#367 |"NASA-PDS/validate#367 1_NON_PDFA_FILE" | "github367" | 1 | "1 : 1 NON_PDFA_FILE warn messages expected" | "NON_PDFA_FILE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github367_bundle_valid_NON_PDFA_FILE.json -s json -t {resourceDir}/github367/bundle_kaguya_derived.xml" | "report_github367_bundle_valid_NON_PDFA_FILE.json" | -| NASA-PDS/validate#367-1 |"NASA-PDS/validate#367 2_NON_JPEG_FILE" | "github367" | 2 | "2 : 2 NON_JPEG_FILE warn messages expected" | "NON_JPEG_FILE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github367_bundle_valid_NON_JPEG_FILE.json -s json -t {resourceDir}/github367/bundle_kaguya_derived.xml" | "report_github367_bundle_valid_NON_JPEG_FILE.json" | -| NASA-PDS/validate#367-2 |"NASA-PDS/validate#367 3_NON_PNG_FILE" | "github367" | 2 | "3: 2 NON_PNG_FILE warn messages expected" | "NON_PNG_FILE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github367_bundle_valid_NON_PNG_FILE.json -s json -t {resourceDir}/github367/bundle_kaguya_derived.xml" | "report_github367_bundle_valid_NON_PNG_FILE.json" | -| NASA-PDS/validate#367-3 |"NASA-PDS/validate#367 4_NON_HTML_FILE" | "github367" | 2 | "4: 2 NON_HTML_FILE warn messages expected" | "NON_HTML_FILE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github367_bundle_valid_NON_HTML_FILE.json -s json -t {resourceDir}/github367/bundle_kaguya_derived.xml" | "report_github367_bundle_valid_NON_HTML_FILE.json" | -| NASA-PDS/validate#367-4 |"NASA-PDS/validate#367 6_NON_MSWORD_FILE" | "github367" | 1 | "6: 1 NON_MSWORD_FILE warn messages expected" | "NON_MSWORD_FILE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github367_bundle_valid_NON_MSWORD_FILE.json -s json -t {resourceDir}/github367/bundle_kaguya_derived.xml" | "report_github367_bundle_valid_NON_MSWORD_FILE.json" | -| NASA-PDS/validate#367-5 |"NASA-PDS/validate#367 7_NON_MSEXCEL_FILE" | "github367" | 1 | "7: 1 NON_MSEXCEL_FILE warn messages expected" | "NON_MSEXCEL_FILE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github367_bundle_valid_NON_MSEXCEL_FILE.json -s json -t {resourceDir}/github367/bundle_kaguya_derived.xml" | "report_github367_bundle_valid_NON_MSEXCEL_FILE.json" | -| NASA-PDS/validate#367-6 |"NASA-PDS/validate#367 8_NON_LATEX_FILE" | "github367" | 2 | "8: 2 NON_LATEX_FILE warn messages expected" | "NON_LATEX_FILE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github367_bundle_valid_NON_LATEX_FILE.json -s json -t {resourceDir}/github367/bundle_kaguya_derived.xml" | "report_github367_bundle_valid_NON_LATEX_FILE.json" | -| NASA-PDS/validate#367-7 |"NASA-PDS/validate#367 9_NON_POSTSCRIPT_FILE" | "github367" | 0 | "9 : 0 NON_POSTSCRIPT_FILE warn messages expected" | "NON_POSTSCRIPT_FILE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github367_bundle_valid_NON_POSTSCRIPT_FILE.json -s json -t {resourceDir}/github367/bundle_kaguya_derived.xml" | "report_github367_bundle_valid_NON_POSTSCRIPT_FILE.json" | -| NASA-PDS/validate#367-8 |"NASA-PDS/validate#367 10_NON_ENCAPSULATED_POSTSCRIPT_FILE" | "github367" | 1 | "10 : 1 NON_ENCAPSULATED_POSTSCRIPT_FILE warn messages expected" | "NON_ENCAPSULATED_POSTSCRIPT_FILE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github367_bundle_valid_NON_ENCAPSULATED_POSTSCRIPT_FILE.json -s json -t {resourceDir}/github367/bundle_kaguya_derived.xml" | "report_github367_bundle_valid_NON_ENCAPSULATED_POSTSCRIPT_FILE.json" | -| NASA-PDS/validate#367-9 |"NASA-PDS/validate#367 12_NON_GIF_FILE" | "github367" | 1 | "12 : 1 NON_GIF_FILE warn messages expected" | "NON_GIF_FILE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github367_bundle_valid_NON_GIF_FILE.json -s json -t {resourceDir}/github367/bundle_kaguya_derived.xml" | "report_github367_bundle_valid_NON_GIF_FILE.json" | -| NASA-PDS/validate#367-10 |"NASA-PDS/validate#367 13_NON_TIFF_FILE" | "github367" | 2 | "13 : 2 NON_TIFF_FILE warn messages expected" | "NON_TIFF_FILE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github367_bundle_valid_NON_TIFF_FILE.json -s json -t {resourceDir}/github367/bundle_kaguya_derived.xml" | "report_github367_bundle_valid_NON_TIFF_FILE.json" | -| NASA-PDS/validate#367-11 |"NASA-PDS/validate#367 14_NON_MP4_FILE" | "github367" | 2 | "14 :2 NON_MP4_FILE warn messages expected" | "NON_MP4_FILE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github367_bundle_valid_NON_MP4_FILE.json -s json -t {resourceDir}/github367/bundle_kaguya_derived.xml" | "report_github367_bundle_valid_NON_MP4_FILE.json" | - -# https://github.com/nasa-pds/validate/issues/401 validate does not flag within lid_reference -| NASA-PDS/validate#401 |"NASA-PDS/validate#401 INVALID" | "github401" | 3 | "3 error messages expected: 1 INVALID_FIELD_VALUE" | "INVALID_FIELD_VALUE" | "src/test/resources" | "target/test" | "-R pds4.bundle -r {reportDir}/report_github401_bundle_invalid.json -s json -t {resourceDir}/github401/invalid/bundle_kaguya_derived.xml" | "report_github401_bundle_invalid.json" | - -# https://github.com/nasa-pds/validate/issues/408 Validate 2.1.0-SNAPSHOT skips a collection XML label - -| NASA-PDS/validate#408 |"NASA-PDS/validate#408 VALID" | "github408" | 0 | "0 error messages expected" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.bundle --skip-content-validation -r {reportDir}/report_github408_bundle_valid.json -s json -t {resourceDir}/github408/valid/bundle_insight_seis.xml" | "report_github408_bundle_valid.json" | - -# https://github.com/nasa-pds/validate/issues/376 Checksums output lowercase and do not accept uppercase checksums - -| NASA-PDS/validate#376 |"NASA-PDS/validate#376 VALID" | "github376" | 0 | "0 error messages expected" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label -M src/test/resources/github376/urn-nasa-pds-duxbury_pdart14_mariner69.md5 -r {reportDir}/report_github376_label_valid.json -s json -t {resourceDir}/github376/bundle_duxbury_pdart14_mariner69.xml" | "report_github376_label_valid.json" | - -# https://github.com/NASA-PDS/validate/issues/416 validate 2.1.0 indicates the table offset is not correct when validating a binary table inside a FITS - -| NASA-PDS/validate#416 |"NASA-PDS/validate#416 VALID_1" | "github416" | 0 | "0 error messages expected" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github416_label_valid_1.json -s json -t {resourceDir}/github416/mix_raw_calib_mixs-c_sw_offset_table_20160301.xml" | "report_github416_label_valid_1.json" | -| NASA-PDS/validate#416-1 |"NASA-PDS/validate#416 INVALID_1" | "github416" | 1 | "1 INVALID_OBJECT_DEFINITION error messages expected" | "INVALID_OBJECT_DEFINITION" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github416_label_invalid_1.json -s json -t {resourceDir}/github416/mix_raw_calib_mixs-c_sw_offset_table_20160301_invalid.xml" | "report_github416_label_invalid_1.json" | -| NASA-PDS/validate#416-2 |"NASA-PDS/validate#416 VALID_2" | "github416" | 0 | "0 error messages expected" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github416_label_valid_2.json -s json -t {resourceDir}/github416/phe_misc_temperature_reference_20190524.xml" | "report_github416_label_valid_2.json" | -| NASA-PDS/validate#416-3 |"NASA-PDS/validate#416 INVALID_2" | "github416" | 1 | "1 INVALID_OBJECT_DEFINITION error messages expected" | "INVALID_OBJECT_DEFINITION" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github416_label_invalid_2.json -s json -t {resourceDir}/github416/phe_misc_temperature_reference_20190524_invalid.xml" | "report_github416_label_invalid_2.json" | - -# https://github.com/NASA-PDS/validate/issues/349 validate allows absolute path in directory_path_name but shouldn't - -| NASA-PDS/validate#349 |"NASA-PDS/validate#349 VALID" | "github349" | 0 | "0 error messages expected" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github349_label_valid.json -s json -t {resourceDir}/github349/valid/datasetgood.xml" | "report_github349_label_valid.json" | -| NASA-PDS/validate#349-1 |"NASA-PDS/validate#349 INVALID" | "github349" | 1 | "1 error messages expected" | "UNALLOWED_DIRECTORY_NAME" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github349_label_invalid.json -s json -t {resourceDir}/github349/invalid/datasetbad.xml" | "report_github349_label_invalid.json" | - -# https://github.com/NASA-PDS/validate/issues/419 validate 2.2.0-SNAPSHOT warns about a pretty benign bundle + readme.txt - - -| NASA-PDS/validate#419 |"NASA-PDS/validate#419 VALID" | "github419" | 0 | "0 warning messages expected" | "totalWarnings" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github419_label_valid.json -s json --disable-context-mismatch-warnings -t {resourceDir}/github419/bundle_astromat_chem.xml" | "report_github419_label_valid.json" | - - -# https://github.com/NASA-PDS/validate/issues/429 validate warns "document standard id ... is not correct" on good labels - -| NASA-PDS/validate#429 |"NASA-PDS/validate#429 VALID" | "github429" | 0 | "0 warning messages expected" | "totalWarnings" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github429_label_valid.json -s json --disable-context-mismatch-warnings -t {resourceDir}/github429/EPPS_EDR_SIS.xml" | "report_github429_label_valid.json" | - -# Validate#427 -# NOTE: Commenting out this test for now as the JAXA site is down -# |"NASA-PDS/validate#427 Success with spaces in directory" | "github427" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github427.json -s json --skip-context-validation -t {resourceDir}/github427/dir%20with%20spaces/rs_20160518_014000_udsc64_l3_e_v10.xml" | "report_github427.json" | - -# https://github.com/nasa-pds/validate/issues/424 Validate does not allow SIP tab file to have lines of differing lengths -# The checking should NOT be done based on the file extension but based on the table type. The Table_Delimited can have variable length records. - -| NASA-PDS/validate#424 |"NASA-PDS/validate#424 VALID_1" | "github424" | 0 | "0 error messages expected: 0 RECORD_LENGTH_MISMATCH" | "RECORD_LENGTH_MISMATCH" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github424_label_valid_1.json -s json -t {resourceDir}/github424/asurpif_photos_amboycrater_v1.0_20211021_sip_v1.0.xml" | "report_github424_label_valid_1.json" | -| NASA-PDS/validate#424-1 |"NASA-PDS/validate#424 VALID_2" | "github424" | 0 | "0 error messages expected: 0 RECORD_LENGTH_MISMATCH" | "RECORD_LENGTH_MISMATCH" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github424_label_valid_2.json -s json -t {resourceDir}/github424/asurpif_photos_amboycrater_v1.0_20211021_aip_v1.0.xml" | "report_github424_label_valid_2.json" | - -# https://github.com/nasa-pds/validate/issues/435 Array Content Validator is not accepting values at the min/max due to false precision - -| NASA-PDS/validate#435 |"NASA-PDS/validate#435 VALID" | "github435" | 0 | "0 error messages expected: 0 totalErrors" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github435_label_valid.json -s json -t {resourceDir}/github435/flat_w.xml" | "report_github435_label_valid.json" | - -# https://github.com/nasa-pds/validate/issues/447 Validate does not correctly pass PDF/A files that are in a subdirectory - -| NASA-PDS/validate#447 |"NASA-PDS/validate#447 VALID" | "github447" | 0 | "0 error messages expected: 0 totalErrors" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github447_dir_valid.json -s json -t {resourceDir}/github447/document/" | "report_github447_dir_valid.json" | - - -# BIG_NOTE: Add new tests that doesn't involve a catalog above this line. -# https://github.com/NASA-PDS/validate/issues/297 Content validation of ASCII_Integer field does not accept value with leading zeroes -| NASA-PDS/validate#297 |"NASA-PDS/validate#297 VALID" | "github297" | 0 | "0 errors message expected" | "totalErrors" | "src/test/resources" | "target/test" | "--skip-context-validation -R pds4.label -r {reportDir}/report_github297_label_valid.json -s json -t {resourceDir}/github297/valid/rimfax_rdr_0081_example.xml" | "report_github297_label_valid.json" | -| NASA-PDS/validate#297-1 |"NASA-PDS/validate#297 INVALID" | "github297" | 1 | "1 error message expected" | "totalErrors" | "src/test/resources" | "target/test" | "--skip-context-validation -R pds4.label -r {reportDir}/report_github297_label_invalid.json -s json -t {resourceDir}/github297/invalid/rimfax_rdr_0081_example.xml" | "report_github297_label_invalid.json" | - -# https://github.com/NASA-PDS/validate/issues/299 Validate tool does not PASS a bundle with a single-character filename -| NASA-PDS/validate#299 |"NASA-PDS/validate#299 VALID" | "github299" | 0 | "0 errors message expected" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github299_label_valid.json -s json -t {resourceDir}/github299/valid/gbo_ast_fieber-beyer_spectra_v2.0_20210211_aip_v1.0.xml" | "report_github299_label_valid.json" | -| NASA-PDS/validate#299-1 |"NASA-PDS/validate#299 INVALID" | "github299" | 3 | "3 errors message expected" | "totalErrors" | "src/test/resources" | "target/test" | "-R pds4.label -r {reportDir}/report_github299_label_invalid.json -s json -t {resourceDir}/github299/invalid/gbo_ast_fieber-beyer_spectra_v2.0_20210211_aip_v1.0.xml" | "report_github299_label_invalid.json" | - -| NASA-PDS/validate#7 |"NASA-PDS/validate#7 Success with ComplexLSB8" | "github7" | 0 | "0 errors expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github7.json -s json --skip-context-validation -t {resourceDir}/github7/ch2_sar_ncxs_20090107t163003745_d_sli_xx_fp_hh_pb1_19111.xml" | "report_github7.json" | - -| NASA-PDS/validate#87 |"NASA-PDS/validate#87 1" | "github87" | 0 | "0 errors expected" | "LABEL_UNRESOLVABLE_RESOURCE" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github87_1.json -s json -R pds4.label --skip-content-validation -t {resourceDir}/github87/2t126632959btr0200p3002n0a1.xml {resourceDir}/github87/2t126646972btr0200p3001n0a1.xml -C {reportDir}/catalog.xml" | "report_github87_1.json" | - -# Moved github292 tests to the end as they interfer with other test with the following error message: -# -# The attribute pds:information_model_version must be equal to the value '1.16.0.0'. -# -# Notes: -# 1. The file catalog.xml must have been created by the Java test code in the expected location. -# 2. The -C {reportDir}/catalog.xml is needed otherwise the code will to use github87/pds/v1/PDS4_PDS_1G00.xsd (from the run above row) -# which would result in (No such file or directory) error -# Using schema/schematron from the previous run may be an issue with the validate software not flushing successfully. -# -# Table_Delimited tests - -| NASA-PDS/validate#292 |"NASA-PDS/validate#292 TABLE_DELIMITED VALID LF" | "github292" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -r {reportDir}/report_github292_label_table_delimited_valid_lf.json -s json -R pds4.label -t {resourceDir}/github292/table_delimited/kgrs_calibrated_spectra_per1_LF_VALID.xml" | "report_github292_label_table_delimited_valid_lf.json" | -| NASA-PDS/validate#292-1 |"NASA-PDS/validate#292 TABLE_DELIMITED VALID CRLF" | "github292" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -r {reportDir}/report_github292_label_table_delimited_valid_crlf.json -s json -R pds4.label -t {resourceDir}/github292/table_delimited/kgrs_calibrated_spectra_per1_CRLF_VALID.xml" | "report_github292_label_table_delimited_valid_crlf.json" | -| NASA-PDS/validate#292-2 |"NASA-PDS/validate#292 TABLE_DELIMITED INVALID LF" | "github292" | 1 | "1 error message expected for MISSING_LF." | "MISSING_LF" | "src/test/resources" | "target/test" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -r {reportDir}/report_github292_label_table_delimited_invalid_lf.json -s json -R pds4.label -t {resourceDir}/github292/table_delimited/kgrs_calibrated_spectra_per1_LF_FAIL.xml" | "report_github292_label_table_delimited_invalid_lf.json" | -| NASA-PDS/validate#292-3 |"NASA-PDS/validate#292 TABLE_DELIMITED INVALID CR" | "github292" | 1 | "1 error message expected for MISSING_CRLF." | "MISSING_CRLF" | "src/test/resources" | "target/test" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -r {reportDir}/report_github292_label_table_delimited_invalid_crlf.json -s json -R pds4.label -t {resourceDir}/github292/table_delimited/kgrs_calibrated_spectra_per1_CRLF_FAIL.xml" | "report_github292_label_table_delimited_invalid_crlf.json" | - -# Table_Character tests - - #|"NASA-PDS/validate#292 TABLE_CHARACTER VALID LF" | "github292" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -r {reportDir}/report_github292_label_table_character_valid_lf.json -s json -R pds4.label -t {resourceDir}/github292/table_character/valid/minimal_test_product_lf.xml" | "report_github292_label_table_character_valid_lf.json" | - #|"NASA-PDS/validate#292 TABLE_CHARACTER VALID CRLF" | "github292" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -r {reportDir}/report_github292_label_table_character_valid_crlf.json -s json -R pds4.label -t {resourceDir}/github292/table_character/valid/minimal_test_product_crlf.xml" | "report_github292_label_table_character_valid_crlf.json" | - #|"NASA-PDS/validate#292 TABLE_CHARACTER INVALID LF" | "github292" | 4 | "4 error messages expected for MISSING_LF." | "MISSING_LF" | "src/test/resources" | "target/test" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -r {reportDir}/report_github292_label_table_character_invalid_lf.json -s json -R pds4.label -t {resourceDir}/github292/table_character/invalid/minimal_test_product_lf.xml" | "report_github292_label_table_character_invalid_lf.json" | - #|"NASA-PDS/validate#292 TABLE_CHARACTER INVALID CRLF" | "github292" | 4 | "4 error messages expected for MISSING_CRLF." | "totalErrors" | "src/test/resources" | "target/test" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -r {reportDir}/report_github292_label_table_character_invalid_crlf.json -s json -R pds4.label -t {resourceDir}/github292/table_character/invalid/minimal_test_product_crlf.xml" | "report_github292_label_table_character_invalid_crlf.json" | - -# Inventory tests - -| NASA-PDS/validate#292-4 |"NASA-PDS/validate#292 INVENTORY VALID LF" | "github292" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -r {reportDir}/report_github292_label_inventory_valid_lf.json -s json -R pds4.label -t {resourceDir}/github292/inventory/collection_eetable_inventory_LF_VALID.xml" | "report_github292_label_inventory_valid_lf.json" | -| NASA-PDS/validate#292-5 |"NASA-PDS/validate#292 INVENTORY VALID CRLF" | "github292" | 0 | "0 error messages expected." | "totalErrors" | "src/test/resources" | "target/test" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -r {reportDir}/report_github292_label_inventory_valid_crlf.json -s json -R pds4.label -t {resourceDir}/github292/inventory/collection_eetable_inventory_CRLF_VALID.xml" | "report_github292_label_inventory_valid_crlf.json" | -| NASA-PDS/validate#292-6 |"NASA-PDS/validate#292 INVENTORY INVALID LF" | "github292" | 3 | "3 error messages expected for MISSING_LF." | "MISSING_LF" | "src/test/resources" | "target/test" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -r {reportDir}/report_github292_label_inventory_invalid_lf.json -s json -R pds4.label -t {resourceDir}/github292/inventory/collection_eetable_inventory_LF_FAIL.xml" | "report_github292_label_inventory_invalid_lf.json" | -| NASA-PDS/validate#292-7 |"NASA-PDS/validate#292 INVENTORY INVALID CRLF" | "github292" | 3 | "3 error messages expected for MISSING_CRLF." | "MISSING_CRLF" | "src/test/resources" | "target/test" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -r {reportDir}/report_github292_label_inventory_invalid_crlf.json -s json -R pds4.label -t {resourceDir}/github292/inventory/collection_eetable_inventory_CRLF_FAIL.xml" | "report_github292_label_inventory_invalid_crlf.json" | - -# FIXME 1058: Oh boy. It seems clearing the cache has now broken these tests both 71 and 84 --> they also kill eclipse for scary reasons. Ignore them for now as the schema is not working with the test: namespace -# FIXME: 1102: Could not resolve these 3 and it seems to be related to the catalog file while tests pass and use the catalog file. Unfortunately, the use of the catalog file causes cross talk among the tests. Once the cross talk is removed (#1102), then maybe these three can be reinstated or the problem with catalog handling be isolated and repaired. -#| NASA-PDS/validate#71-1 |"NASA-PDS/validate#71 1" | "github71" | 0 | "0 error messages expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github71_1.json -s json -C {resourceDir}/github71/catalog.xml --skip-content-validation --skip-context-validation -t {resourceDir}/github71/ELE_MOM.xml" | "report_github71_1.json" | -#| NASA-PDS/validate#71-2 |"NASA-PDS/validate#71 2" | "github71" | 0 | "0 error messages expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github71_2.json -s json -C {resourceDir}/github71/catalog.xml --skip-context-validation -t {resourceDir}/github71/ELE_MOM_2.xml" | "report_github71_2.json" | -#| NASA-PDS/validate#84-1 |"NASA-PDS/validate#84 1" | "github84" | 0 | "0 error messages expected" | "totalErrors" | "src/test/resources" | "target/test" | "-r {reportDir}/report_github84_1.json -s json --skip-content-validation --skip-context-validation -c {resourceDir}/github84/config.txt -t {resourceDir}/github71/ELE_MOM.xml" | "report_github84_1.json" | - +Feature: < 3.6 + Scenario Outline: NASA-PDS/validate# + Given an , , and + When execute validate with + Then compare to the . + Examples: + | issueNumber | subtest | datasrc | args | expectation | + +| 1028 | 1 | "github1028" | "--skip-context-validation -t {datasrc}/xa.s16..shz.1976.070.0.xml --schema {datasrc}/PDS4_PDS_1N00.xsd --schematron {datasrc}/PDS4_PDS_1N00.sch" | | From 36da0c67a3ea533720b444ccb457b20fe98be2ff Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Thu, 16 Jan 2025 10:12:31 -0800 Subject: [PATCH 02/19] minor updates based on comments --- src/test/resources/features/3.6.x.feature | 1 + src/test/resources/features/pre.3.6.x.feature | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/test/resources/features/3.6.x.feature b/src/test/resources/features/3.6.x.feature index 0a3553567..27eb9e808 100644 --- a/src/test/resources/features/3.6.x.feature +++ b/src/test/resources/features/3.6.x.feature @@ -5,5 +5,6 @@ Feature: 3.6.x Then compare to the . Examples: | issueNumber | subtest | datasrc | args | expectation | + @3.6.x | 1028 | 1 | "github1028" | "--skip-context-validation -t {datasrc}/xa.s16..shz.1976.070.0.xml --schema {datasrc}/PDS4_PDS_1N00.xsd --schematron {datasrc}/PDS4_PDS_1N00.sch" | | diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index e4331562d..4487215ae 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -5,5 +5,6 @@ Feature: < 3.6 Then compare to the . Examples: | issueNumber | subtest | datasrc | args | expectation | + @pre.3.6 -| 1028 | 1 | "github1028" | "--skip-context-validation -t {datasrc}/xa.s16..shz.1976.070.0.xml --schema {datasrc}/PDS4_PDS_1N00.xsd --schematron {datasrc}/PDS4_PDS_1N00.sch" | | +| 1028 | 2 | "github1028" | "--skip-context-validation -t {datasrc}/xa.s16..shz.1976.070.0.xml --schema {datasrc}/PDS4_PDS_1N00.xsd --schematron {datasrc}/PDS4_PDS_1N00.sch" | | From 1268e38cffa5e9b1f3a255f66ebeb2cc3712efef Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Thu, 16 Jan 2025 14:27:51 -0800 Subject: [PATCH 03/19] first translation of feature files --- src/test/resources/features/3.6.x.feature | 36 ++- src/test/resources/features/pre.3.6.x.feature | 221 +++++++++++++++++- 2 files changed, 253 insertions(+), 4 deletions(-) diff --git a/src/test/resources/features/3.6.x.feature b/src/test/resources/features/3.6.x.feature index 27eb9e808..c1466dc09 100644 --- a/src/test/resources/features/3.6.x.feature +++ b/src/test/resources/features/3.6.x.feature @@ -3,8 +3,40 @@ Feature: 3.6.x Given an , , and When execute validate with Then compare to the . + @3.6.x Examples: | issueNumber | subtest | datasrc | args | expectation | - @3.6.x +#begin -| 1028 | 1 | "github1028" | "--skip-context-validation -t {datasrc}/xa.s16..shz.1976.070.0.xml --schema {datasrc}/PDS4_PDS_1N00.xsd --schematron {datasrc}/PDS4_PDS_1N00.sch" | | +| 1066 | | "github1066" | "--skip-content-validation -t {datasrc}/vg2u_49xr_1986024t232141.xml" | | +| 1028 | | "github1028" | "--skip-context-validation -t {datasrc}/xa.s16..shz.1976.070.0.xml --schema {datasrc}/PDS4_PDS_1N00.xsd --schematron {datasrc}/PDS4_PDS_1N00.sch" | | +| 1008 | | "github1008" | "--skip-context-validation -t {datasrc}/example.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 992 | 1 | "github992" | "--skip-context-validation -t {datasrc}/ff_char.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_too_long=1" | +| 992 | 2 | "github992" | "--skip-context-validation -t {datasrc}/ff_del.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_too_long=1" | +| 950 | 1 | "github915" | "--skip-content-validation --disable-context-mismatch-warnings -R pds4.collection -t {datasrc}/collection.xml" | | +| 950 | 2 | "github950" | "--disable-context-mismatch-warnings -R pds4.bundle -t {datasrc}" | | +| 919 | 1 | "github919" | "--skip-context-validation -t {datasrc}/uh0003b_draft.xml" | | +| 919 | 2 | "github919" | "-t {datasrc}/uh0003b_draft.xml" | | +| 915 | | "github915" | "--skip-content-validation -R pds4.collection -t {datasrc}/collection.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 905 | 1 | "github905" | "--skip-context-validation -t {datasrc}/dsn_0159-science.2008-02-29.xml {datasrc}/dsn_0159-science.2009-05-18.xml" | | +| 905 | 2 | "github905" | "-t {datasrc}/." | | +| 902 | 1 | "github902" | "--skip-context-validation -t {datasrc}/s_00168901_thm.xml" | | +| 902 | 2 | "github902" | "-t {datasrc}/s_00168901_thm.xml" | | +| 873 | 1 | "github873" | "--skip-context-validation -R pds4.bundle -t {datasrc}" | | +| 873 | 2 | "github873" | "-t {datasrc}/." | | +| 861 | | "github861" | "-t {datasrc}/PVO_OMAG_OEFD_ANC_ENG_0001.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 857 | | "github857" | "-t {datasrc}/highi_183_istria_fam3.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 849 | 1 | "github849" | "--skip-context-validation -t {datasrc}/collection_uvs_data_raw.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.inventory.duplicate_lidvid=1" | +| 849 | 2 | "github849" | "-t {datasrc}/collection.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.inventory.duplicate_lidvid=1" | +| 837 | 1 | "github837" | "--skip-context-validation -t {datasrc}/times_table.xml" | | +| 837 | 2 | "github837" | "-t {datasrc}/x.xml" | | +| 831 | 1 | "github831" | "--skip-context-validation -t {datasrc}/kplo.xml" | | +| 831 | 2 | "github831" | "-t {datasrc}/kplo.xml" | | +| 824 | 1 | "github824" | "--skip-context-validation -t {datasrc}/1203_12.xml" | | +| 824 | 2 | "github824" | "-t {datasrc}/1203_12.xml" | | +| 823 | 1 | "github823" | "-t {datasrc}/mvn_swi_l2_onboardsvymom_20230827_v02_r01.xml" | | +| 823 | 2 | "github823" | "--skip-context-validation -t {datasrc}/mvn_swi_l2_onboardsvymom_20230827_v02_r01.xml" | | +| 822 | | "github822" | "-R pds4.bundle -t {datasrc}" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_referenced_in_label=1" | +| 816 | 1 | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_format_precision_mismatch=1" | +| 816 | 2 | "github681" | "-t {datasrc}/ff_char_warn.xml {datasrc}/ff_del_warn.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1" | +| 816 | 3 | "github816" | "-t {datasrc}/ff_del.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_too_long=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index 4487215ae..62b62c640 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -3,8 +3,225 @@ Feature: < 3.6 Given an , , and When execute validate with Then compare to the . + @pre.3.6 Examples: | issueNumber | subtest | datasrc | args | expectation | - @pre.3.6 +#begin -| 1028 | 2 | "github1028" | "--skip-context-validation -t {datasrc}/xa.s16..shz.1976.070.0.xml --schema {datasrc}/PDS4_PDS_1N00.xsd --schematron {datasrc}/PDS4_PDS_1N00.sch" | | +| 817 | | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_format_precision_mismatch=1" | +| 785 | | "github785" | "--skip-context-validation -t {datasrc}/00038_FGM_RTN.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=1" | +| 781 | | "github781" | "--skip-context-validation --skip-context-validation -t {datasrc}/RSS001E01_2031066T0241_EURGRVL20XXXXXXGSFC_COV010.xml" | | +| 755 | 1 | "github755" | "-skip-context-validation -t {datasrc}/m221011.0013.xml {datasrc}/m221011.0014.xml {datasrc}/m221011.0015.xml {datasrc}/m221011.0030.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.file_areas_duplicated_reference=1" | +| 755 | 2 | "github755" | "-skip-context-validation -t {datasrc}/m221011.0013.xml {datasrc}/m221011.0015.xml" | | +| 754 | | "github754" | "--skip-context-validation -t {datasrc}/Cassini_ISS_CB2_Jupiter_global_map_2.xml" | | +| 693 | | "github693" | "-t {datasrc}/" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 690 | | "github690" | "--skip-context-validation -t {datasrc}/rs_20160518_014000_udsc64_l3_e_v10.xml" | | +| 684 | 1 | "github684" | "--skip-context-validation -t {datasrc}/example_params_noFileSize.xml" | | +| 684 | 2 | "github684" | "--skip-context-validation -t {datasrc}/example_params_wFileSize.xml" | | +| 683 | | "github614" | "-t {datasrc}/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.data_objects.out_of_order=1" | +| 681 | 1 | "github681" | "-t {datasrc}/ff_char.xml {datasrc}/ff_del.xml" | | +| 681 | 2 | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_format_precision_mismatch=1" | +| 681 | 3 | "github681" | "-t {datasrc}/ff_char_warn.xml {datasrc}/ff_del_warn.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1" | +| 680 | 1 | "github680" | "--skip-context-validation -t {datasrc}/ORB12_EUR_EPHIO_reclen96.xml" | | +| 680 | 2 | "github680" | "--skip-context-validation -t {datasrc}/ORB12_EUR_EPHIO_reclen95.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.record_length_mismatch=1" | +| 671 | | "github671" | "--skip-context-validation -t {datasrc} -R pds4.bundle" | | +| 652 | | "github652" | "--skip-context-validation -t {datasrc}" | | +| 651 | | "github651" | "-t {datasrc}/M1431146123CC.xml" | | +| 649 | | "github597" | "-R pds4.collection --skip-context-validation -t {datasrc}/spice_kernels/collection_spice_kernels_v003.xml" | | +| 644 | | "github644" | "-t {datasrc}/scam_0072_0673327336_185_cp2_scam01072_scct_41_irsalign_____04p04.xml" | | +| 631 | | "github631" | "-v 1 -t {datasrc}/hyb2_tir_20180629_075501_l1.xml" | | +| 628 | | "github628" | "--skip-content-validation --disable-context-mismatch-warnings -t {datasrc}/mp2_flat_20061109.xml" | "summary:totalErrors=1,summary:totalWarnings=0" | +| 617 | | "github617" | "--skip-content-validation -t {datasrc}/uvis_euv_2005_159_solar_time_series_ingress.xml" | "summary:totalErrors=1,summary:totalWarnings=0" | +| 616 | | "github616" | "--skip-context-validation -t {datasrc}/mre_cal_sc_ttcp_delay_schulte_01s_2021069.xml" | | +| 614 | | "github614" | "-t {datasrc}/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | | +| 611 | | "github611" | "-t {datasrc}/GRD-L1A-150313-150319_150625-BGO.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=1" | +| 605 | | "github605" | "--skip-context-validation -t {datasrc}/video_and_audio.xml" | | +| 604 | | "github604" | "--skip-context-validation -t {datasrc}/video.xml" | | +| 599 | | "github599" | "-t {datasrc}/AREA_Camelot_1radii.xml" | | +| 597 | 1 | "github597" | "--skip-context-validation -R pds4.bundle -t {datasrc}" | | +| 597 | 2 | "github562" | "-t {datasrc}" | | +| 597 | 3 | "github561" | "-R pds4.collection --label-extension lblx --skip-context-validation -t {datasrc}" | | +| 535 | 1 | "github535" | "-t {datasrc}/uvis_euv_2008_003_solar_time_series_ingress.xml --complete-descriptions" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.data.not_described=1" | +| 535 | 2 | "github535" | "-t {datasrc}/uvis_euv_2016_288_solar_time_series_egress.xml --complete-descriptions" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.table_definition_problem=1" | +| 533 | | "github533" | "--skip-content-validation --skip-context-validation -t {datasrc}/gggrx_1200a_shb_l420.xml" | | +| 531 | 1 | "github531" | "--skip-context-validation -t {datasrc}/success/b.xml" | | +| 531 | 2 | "github531" | "--skip-context-validation -t {datasrc}/fail/b.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.table_definition_problem=1" | +| 529 | | "github529" | "--skip-context-validation -t {datasrc}/success/m0154651923f6_2p_cif_gbl.xml" | | +| 514 | | "github514" | "--skip-context-validation -t {datasrc}/success/8array.xml" | | +| 499 | 1 | "github499" | "--skip-context-validation -t {datasrc}/success/M7_217_044546_N.xml" | | +| 499 | 2 | "github499" | "--skip-context-validation -t {datasrc}/fail/M7_217_044546_N.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_CRLF=1" | +| 482 | 1 | "github482" | "--skip-context-validation -e lblx -R pds4.folder -t {datasrc}/bundle1/" | | +| 482 | 2 | "github482" | "--skip-context-validation -R pds4.folder -t {datasrc}/bundle2/" | | +| 482 | 3 | "github482" | "--skip-context-validation -R pds4.bundle -e lblx -t {datasrc}/bundle1/bundle_kaguya_derived.lblx" | | +| 482 | 4 | "github482" | "--skip-context-validation -R pds4.bundle -t {datasrc}/bundle2/bundle_kaguya_derived.xml" | | +| 482 | 5 | "github482" | "--skip-context-validation -R pds4.folder -t {datasrc}/bundle1/" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.execution.no_products_found=1" | +| 482 | 6 | "github482" | "--skip-context-validation -R pds4.folder -e lblx -t {datasrc}/bundle2/" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.execution.no_products_found=1" | +| 480 | 1 | "github480" | "--skip-context-validation -t {datasrc}/test_success.xml --skip-content-validation" | | +| 480 | 2 | "github480" | "-t {datasrc}/test_fail_header_offset.xml --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.invalid_object_definition=1" | +| 480 | 3 | "github480" | "-t {datasrc}/test_fail_table_offset.xml --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.invalid_object_definition=1" | +| 469 | 1 | "github469" | "--skip-context-validation -t {datasrc}/201401031400_rdr.xml" | | +| 469 | 2 | "github469" | "--skip-context-validation -t {datasrc}/201401031400_rdr_max_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_out_of_min_max_range=1" | +| 469 | 3 | "github469" | "--skip-context-validation -t {datasrc}/201401031400_rdr_min_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_out_of_min_max_range=1" | +| 467 | 1 | "github476" | "-R pds4.label -t {datasrc}/bundle_mars2020_spice_v003.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.inventory.duplicate_lidvid=1" | +| 467 | 2 | "github476" | "-R pds4.label -t {datasrc}/collection_lab.hydrocarbon_spectra_data.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.inventory.duplicate_lidvid=1" | +| 447 | | "github447" | "-t {datasrc}/document/" | | +| 444 | | "github444" | "--skip-context-validation -t {datasrc}/odya_bundle/bundle_ody_accel.xml" | | +| 435 | | "github435" | "-R pds4.label -t {datasrc}/flat_w.xml" | | +| 432 | | "github432" | "-R pds4.bundle -t {datasrc}/bundle-voyager1-pls-sat-1.0.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.reference_not_found=1" | +| 429 | | "github429" | "-R pds4.label --disable-context-mismatch-warnings -t {datasrc}/EPPS_EDR_SIS.xml" | | +| 427 | | "github427" | "--skip-context-validation -t {datasrc}/dir%20with%20spaces/rs_20160518_014000_udsc64_l3_e_v10.xml" | | +| 424 | 1 | "github424" | "-R pds4.label -t {datasrc}/asurpif_photos_amboycrater_v1.0_20211021_sip_v1.0.xml" | | +| 424 | 2 | "github424" | "-R pds4.label -t {datasrc}/asurpif_photos_amboycrater_v1.0_20211021_aip_v1.0.xml" | | +| 419 | | "github419" | "-R pds4.label --disable-context-mismatch-warnings -t {datasrc}/bundle_astromat_chem.xml" | | +| 416 | 1 | "github416" | "-R pds4.label -t {datasrc}/mix_raw_calib_mixs-c_sw_offset_table_20160301.xml" | | +| 416 | 2 | "github416" | "-R pds4.label -t {datasrc}/mix_raw_calib_mixs-c_sw_offset_table_20160301_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.invalid_object_definition=1" | +| 416 | 3 | "github416" | "-R pds4.label -t {datasrc}/phe_misc_temperature_reference_20190524.xml" | | +| 416 | 4 | "github416" | "-R pds4.label -t {datasrc}/phe_misc_temperature_reference_20190524_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.invalid_object_definition=1" | +| 408 | | "github408" | "-R pds4.bundle --skip-content-validation -t {datasrc}/valid/bundle_insight_seis.xml" | | +| 401 | | "github401" | "-R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.validation.invalid_field_value=1" | +| 392 | 1 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/test1_valid.xml" | | +| 392 | 2 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/test1_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_overlap=1" | +| 392 | 3 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/INVALID_odf07155_msgr_11.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_overlap=1" | +| 380 | 1 | "github380" | "-R pds4.label --skip-context-validation --skip-context-reference-check -t {resourceDir}/github379/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | +| 380 | 2 | "github380" | "-R pds4.label --debug-mode --skip-context-validation --skip-context-reference-check -t {resourceDir}/github379/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | +| 379 | | "github379" | "-R pds4.label --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | +| 376 | | "github376" | "-R pds4.label -M src/test/resources/github376/urn-nasa-pds-duxbury_pdart14_mariner69.md5 -t {datasrc}/bundle_duxbury_pdart14_mariner69.xml" | | +| 375 | | "github375" | "-R pds4.bundle --skip-content-validation --skip-context-validation -t {datasrc}/h/bundle_gbo.ast.primass-l.spectra.xml" | | +| 373 | 1 | "github373" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -t {resourceDir}/github240/valid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | +| 373 | 2 | "github373" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -t {resourceDir}/github240/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | +| 368 | | "github368" | "-R pds4.bundle --skip-context-reference-check --skip-product-validation -t {datasrc}/valid//bundle_kaguya_derived.xml" | | +| 367 | 1 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 367 | 2 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.file.not_jpeg_compliant=1" | +| 367 | 3 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.file.not_png_compliant=1" | +| 367 | 4 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_html_mimetype=1" | +| 367 | 5 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_msword_mimetype=1" | +| 367 | 6 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_msexcel_mimetype=1" | +| 367 | 7 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_latex_mimetype=1" | +| 367 | 8 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | | +| 367 | 9 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1" | +| 367 | 10 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_gif_mimetype=1" | +| 367 | 11 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_tiff_mimetype=1" | +| 367 | 12 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_mp4_mimetype=1" | +| 366 | 1 | "github366" | "-R pds4.label --skip-context-validation -t {resourceDir}/github164/invalid/document_test_1_pdf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 366 | 2 | "github366" | "-R pds4.label -skip-context-validation -t {resourceDir}/github164/valid/document_pdfa_valid.xml" | | +| 366 | 3 | "github366" | "-R pds4.label --skip-content-validation --skip-context-validation -t {resourceDir}/github164/valid/document_pdfa_valid.xml" | | +| 364 | 1 | "github364" | "-R pds4.label --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}//MIS000XXX_2021001T000000_DEV0_2021001T0000_RAW010.XML" | | +| 364 | 2 | "github364" | "-R pds4.label --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}//MIS000XXX_2021001T000000_DEV0_2021001T0000_RAW010" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.bad_extension=1" | +| 357 | 1 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata.xml" | "summary:totalErrors=0,summary:totalWarnings=2" | +| 357 | 2 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_2240_records.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.validation.invalid_field_value=1" | +| 357 | 3 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_2250_records.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.records_mismatch=1" | +| 357 | 4 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_4_records.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.validation.invalid_field_value=1" | +| 356 | 1 | "github356" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation -t {resourceDir}/github240/valid/bundle_kaguya_derived.xml" | | +| 356 | 2 | "github356" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation -t {resourceDir}/github240/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.sub_directory.unallowed_name=1" | +| 349 | 1 | "github349" | "-R pds4.label -t {datasrc}/valid/datasetgood.xml" | | +| 349 | 2 | "github349" | "-R pds4.label -t {datasrc}/invalid/datasetbad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.directory.unallowed_name=1" | +| 345 | 1 | "github345" | "-R pds4.label -t {datasrc}/astro_sample_t.xml" | | +| 345 | 2 | "github345" | "-R pds4.label -t {datasrc}/astro_sample_data_t.xml" | | +| 344 | | "github344" | "-R pds4.bundle -t {datasrc}/bundle.xml" | | +| 343 | 1 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | | +| 343 | 2 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs_bad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.array.value_out_of_min_max_range=1" | +| 343 | 3 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs_bad_noname.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.array.value_out_of_min_max_range=1" | +| 335 | 1 | "github335" | "--skip-context-validation -R pds4.label -t {datasrc}/minimal_test_product.xml" | | +| 335 | 2 | "github335" | "--skip-context-validation -t {datasrc}/" | | +| 334 | 1 | "github334" | "-R pds4.label -t {datasrc}/valid/pvoro_graph_eden_k91_3a_01_v01_r00.xml" | | +| 334 | 2 | "github334" | "-R pds4.label -t {datasrc}/invalid/pvoro_graph_eden_k91_3a_01_v01_r00.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.invalid_object_definition=1" | +| 328 | 1 | "github328" | "-R pds4.bundle -t {datasrc}/valid/bundle_misc.xml" | | +| 328 | 2 | "github328" | "-R pds4.bundle -t {datasrc}/invalid/bundle_misc.xml" | | +| 325 | | "github325" | "-R pds4.label -t {datasrc}/crs009x.xml" | | +| 310 | 1 | "github310" | "-R pds4.bundle --skip-content-validation -t {datasrc}/valid/bundle.xml" | | +| 310 | 2 | "github310" | "-R pds4.bundle --skip-content-validation -t {datasrc}/invalid/bundle.xml" | | +| 308 | 1 | "github308" | "-R pds4.bundle -t {datasrc}/valid/bundle_kaguya_derived.xml" | | +| 308 | 2 | "github308" | "-R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 303 | 1 | "github303" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.array.bad_file_read=1" | +| 303 | 2 | "github303" | "-R pds4.label --skip-context-validation -t {datasrc}/valid/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | | +| 299 | 1 | "github299" | "-R pds4.label -t {datasrc}/valid/gbo_ast_fieber-beyer_spectra_v2.0_20210211_aip_v1.0.xml" | | +| 299 | 2 | "github299" | "-R pds4.label -t {datasrc}/invalid/gbo_ast_fieber-beyer_spectra_v2.0_20210211_aip_v1.0.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | +| 298 | 1 | "github298" | "-R pds4.label {datasrc}/valid/sentences.xml" | | +| 298 | 2 | "github298" | "-R pds4.label {datasrc}/invalid/sentences.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.validation.invalid_field_value=1" | +| 297 | 1 | "github297" | "--skip-context-validation -R pds4.label -t {datasrc}/valid/rimfax_rdr_0081_example.xml" | | +| 297 | 2 | "github297" | "--skip-context-validation -R pds4.label -t {datasrc}/invalid/rimfax_rdr_0081_example.xml" | "summary:totalErrors=0,summary:totalWarnings=1" | +| 294 | 1 | "github294" | "--skip-context-validation -R pds4.label -t {datasrc}/valid/minmax-error.xml" | | +| 294 | 2 | "github294" | "--skip-context-validation -R pds4.label -t {datasrc}/invalid/minmax-error.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.records_mismatch=1" | +| 292 | 1 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_VALID.xml" | | +| 292 | 2 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_VALID.xml" | | +| 292 | 3 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_LF=1" | +| 292 | 4 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_CRLF=1" | +| 292 | 5 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_lf.xml" | | +| 292 | 6 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_crlf.xml" | | +| 292 | 7 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_lf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_LF=1" | +| 292 | 8 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_crlf.xml" | "summary:totalErrors=0,summary:totalWarnings=4" | +| 292 | 9 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_VALID.xml" | | +| 292 | 10 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_VALID.xml" | | +| 292 | 11 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_LF=1" | +| 292 | 12 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_CRLF=1" | +| 291 | 1 | "github291" | "--skip-context-validation -R pds4.bundle -t {datasrc}/valid/bundle_kaguya_derived.xml" | | +| 291 | 2 | "github291" | "--skip-context-validation -R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.label.bad_schematypens=1" | +| 281 | 1 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_1_bad_filesize.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.filesize_mismatch=1" | +| 281 | 2 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_2_bad_checksum.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.checksum_mismatch=1" | +| 281 | 3 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_3_bad_checksum_no_filesize.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.checksum_mismatch=1" | +| 281 | 4 | "github281" | "-R pds4.label {datasrc}/valid/collection_gwe_spk_valid_1.xml" | | +| 281 | 5 | "github281" | "-R pds4.label {datasrc}/valid/collection_gwe_spk_valid_2_no_filesize.xml" | | +| 281 | 6 | "github281" | "-R pds4.label {datasrc}/valid/collection_gwe_spk_valid_3_no_filesize_no_checksum.xml" | | +| 278 | 1 | "github278" | "-R pds4.label {datasrc}/invalid/trk-2-34-revn-l5_tnf_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.context_ref_not_found=1" | +| 278 | 2 | "github278" | "-R pds4.label {datasrc}/valid/trk-2-34-revn-l5_tnf.xml" | | +| 240 | 1 | "github240" | "-R pds4.bundle --skip-context-validation {datasrc}/valid/bundle_kaguya_derived.xml" | | +| 240 | 2 | "github240" | "-R pds4.bundle --skip-context-validation {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.sub_directory.unallowed_name=1" | +| 230 | 1 | "github230" | "--skip-content-validation -R pds4.bundle -t {datasrc}/invalid/cocirs_c2h4abund/bundle_cocirs_c2h4abund.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.integrity.missing_version=1" | +| 230 | 2 | "github230" | "--skip-content-validation -R pds4.bundle -t {datasrc}/valid/cocirs_c2h4abund/bundle_cocirs_c2h4abund.xml" | | +| 217 | 1 | "github217" | "-t {datasrc}/success/" | | +| 217 | 2 | "github217" | "-t {datasrc}/fail/delmet4.xml {datasrc}/fail/binobs4.xml {datasrc}/fail/delobs4.xml {datasrc}/fail/delinv4.xml {datasrc}/fail/ascbro4.xml {datasrc}/fail/delsup4.xml {datasrc}/fail/delanc4.xml {datasrc}/fail/binanc4.xml {datasrc}/fail/binsup4.xml {datasrc}/fail/ascsup4.xml {datasrc}/fail/delbro4.xml {datasrc}/fail/ascanc4.xml {datasrc}/fail/binbro4.xml {datasrc}/fail/ascmet4.xml {datasrc}/fail/ascobs4.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.records_mismatch=1" | +| 217 | 3 | "github217" | "-t {datasrc}/fail/delmet4.xml {datasrc}/fail/binobs4.xml {datasrc}/fail/delobs4.xml {datasrc}/fail/delinv4.xml {datasrc}/fail/ascbro4.xml {datasrc}/fail/delsup4.xml {datasrc}/fail/delanc4.xml {datasrc}/fail/binanc4.xml {datasrc}/fail/binsup4.xml {datasrc}/fail/ascsup4.xml {datasrc}/fail/delbro4.xml {datasrc}/fail/ascanc4.xml {datasrc}/fail/binbro4.xml {datasrc}/fail/ascmet4.xml {datasrc}/fail/ascobs4.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.table_definition_problem=1" | +| 210 | | "github210" | "--skip-content-validation -t {datasrc}/bundle_cassini-huygens-coradar.xml {datasrc}/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | "summary:totalErrors=1,summary:totalWarnings=0" | +| 209 | 1 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/VALID_odf07155_msgr_11.xml" | | +| 209 | 2 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/FAIL1_overlapping_bit_fields.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_overlap=1" | +| 209 | 3 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/FAIL2_bad_stop_bit.xml" | "summary:totalErrors=2,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_overlap=1,summary:messageTypes:error.table.bad_field_read=1" | +| 190 | | "github190" | "--skip-context-validation -t {datasrc}/validation_test.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 188 | | "github188" | "--skip-content-validation -t {datasrc}/bundle_cassini-huygens-coradar.xml {datasrc}/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | | +| 173 | 1 | "github173" | "--skip-context-validation -R pds4.bundle -t {datasrc}/valid/ --skip-content-validation" | | +| 173 | 2 | "github173" | "--skip-context-validation -R pds4.bundle -t {datasrc}/invalid/ --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.records_mismatch=1" | +| 164 | 1 | "github164" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/document_test_1_pdf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 164 | 2 | "github164" | "-R pds4.label --skip-context-validation -t {datasrc}/valid/document_pdfa_valid.xml" | | +| 153 | 1 | "github153" | "--skip-context-validation -R pds4.label -t {datasrc}/iue_asteroid_spectra/document/3juno_lwr01896_ines_fits_headers.pdfa%.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.file.name_has_invalid_characters=1" | +| 153 | 2 | "github153" | "--skip-context-validation -R pds4.label -t {datasrc}/iue_asteroid_spectra/document/collection_iue_asteroid_spectra_document.xml" | | +| 149 | 1 | "github173" | "--skip-context-validation -t {datasrc}/valid/bundle_kaguya_derived.xml" | | +| 149 | 2 | "github173" | "--skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | | +| 137 | 1 | "github137" | "-t {datasrc}/delimited_table_good.xml" | | +| 137 | 2 | "github137" | "-t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 87 | | "github87" | "-R pds4.label --skip-content-validation -t {datasrc}/2t126632959btr0200p3002n0a1.xml {datasrc}/2t126646972btr0200p3001n0a1.xml -C {reportDir}/catalog.xml" | | +| 84 | 1 | "github84" | "--no-data-check -c {datasrc}/config.txt -t {resourceDir}/github71/ELE_MOM.xml" | | +| 84 | 2 | "github84" | "--skip-content-validation --skip-context-validation -c {datasrc}/config.txt -t {resourceDir}/github71/ELE_MOM.xml" | | +| 71 | 1 | "github71" | "-C {datasrc}/catalog.xml --skip-content-validation --skip-context-validation -t {datasrc}/ELE_MOM.xml" | | +| 71 | 2 | "github71" | "-C {datasrc}/catalog.xml --skip-context-validation -t {datasrc}/ELE_MOM_2.xml" | | +| 62 | 1 | "github62" | "-v1 --no-data-check -t {datasrc}/ele_mom_tblChar.xml" | "summary:totalErrors=0,summary:totalWarnings=0,summary:messageTypes:info.label.context_ref_found=1" | +| 62 | 2 | "github62" | "-v1 --no-data-check -t {datasrc}/spacecraft.orex_1.1.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:info.label.context_ref_found=1,summary:messageTypes:error.label.context_ref_not_found=1" | +| 57 | 1 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57a_valid.xml" | "summary:totalErrors=5,summary:totalWarnings=0" | +| 57 | 2 | "github57" | "-R pds4.label --skip-context-validation -t {datasrc}/validate_57a_valid.xml" | | +| 57 | 3 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57a_invalid.xml" | "summary:totalErrors=0,summary:totalWarnings=4" | +| 57 | 4 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57c.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.characters_between_fields=1" | +| 51 | 1 | "github51" | "--skip-content-validation --skip-context-validation -t {datasrc}/valid" | | +| 51 | 2 | "github51" | "-R pds4.bundle --alternate_file_paths src/test/resources/github51_additionals/additional_dir1/data_spectra,src/test/resources/github51_additionals/additional_dir2/data_spectra --skip-product-validation --skip-content-validation -t {datasrc}/valid" | "summary:totalErrors=0,summary:totalWarnings=0,summary:messageTypes:info.validation.general=1" | +| 50 | 1 | "github50" | "--skip-content-validation --skip-context-validation --target-manifest {reportDir}/target-manifest.xml" | | +| 50 | 2 | "github50" | "--target-manifest {reportDir}/target-manifest.xml -t {datasrc}/ele_evt_8hr_orbit_2014-2015.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.missing_file=1" | +| 47 | 1 | "github47" | "--disable-context-mismatch-warnings -R pds4.label --skip-content-validation --skip-context-validation {datasrc}/test_context_products.xml" | | +| 47 | 2 | "github47" | "-v1 --skip-content-validation --disable-context-mismatch-warnings -R pds4.label {datasrc}/test_context_products.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.context_ref_not_found=1" | +| 28 | 1 | "github28" | "{datasrc}/test_add_context_products.xml" | "summary:totalErrors=0,summary:totalWarnings=1" | +| 28 | 2 | "github28" | "--add-context-products {datasrc}/new_context.json -t {datasrc}/test_add_context_products.xml" | | +| 17 | 1 | "github17" | "--skip-context-validation -R pds4.label -t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=3,summary:totalWarnings=0" | +| 17 | 2 | "github17" | "--skip-context-validation -R pds4.label -t {datasrc}/delimited_table_good.xml" | | +| 15 | 1 | "github15" | "-v1 --disable-context-mismatch-warnings -R pds4.label -t {datasrc}/test_check-pass_context_products.xml" | | +| 15 | 2 | "github15" | "-v1 --disable-context-mismatch-warnings {datasrc}/test_check-no-pass_context_products.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:info.label.context_ref_mismatch=1" | +| 11 | 1 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_bad_1.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.invalid_object_definition=1" | +| 11 | 2 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_bad_2.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.invalid_object_definition=1" | +| 11 | 3 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_good.xml" | | +| 9 | 1 | "github09" | "-t {datasrc}/minimal_test_product_good2.xml" | | +| 9 | 2 | "github09" | "-t {datasrc}/minimal_test_product_good.xml" | | +| 9 | 3 | "github09" | "-t {datasrc}/csv_empty_field_test_VALID.xml" | | +| 9 | 4 | "github09" | "-t {datasrc}/csv_empty_field_test_INVALID.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 9 | 5 | "github09" | "-t {datasrc}/val9a.xml.xml" | | +| 9 | 6 | "github09" | "-t {datasrc}/val9b.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 7 | | "github7" | "--skip-context-validation -t {datasrc}/ch2_sar_ncxs_20090107t163003745_d_sli_xx_fp_hh_pb1_19111.xml" | | +| 6 | 1 | "github6" | "--skip-context-validation -R pds4.bundle {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=3,summary:totalWarnings=0,summary:messageTypes:error.file.name_has_invalid_characters=1,summary:messageTypes:error.file.unallowed_base_name=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 6 | 2 | "github6" | "-R pds4.bundle --skip-context-validation {datasrc}/invalid/bundle_kaguya_derived_7.xml" | "summary:totalErrors=0,summary:totalWarnings=5,summary:messageTypes:warning.integrity.unreferenced_member=1,summary:messageTypes:warning.file.not_referenced_in_label=1,summary:messageTypes:warning.integrity.reference_not_found=1,summary:messageTypes:warning.integrity.member_not_found=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | +| 6 | 3 | "github6" | "-R pds4.bundle --skip-context-validation {datasrc}/valid/bundle_kaguya_derived.xml" | | +| 5 | 1 | "github5" | "-R pds4.bundle --skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=2,summary:totalWarnings=0,summary:messageTypes:error.file.name_has_invalid_characters=1,summary:messageTypes:error.file.unallowed_base_name=1" | +| 5 | 2 | "github5" | "-R pds4.bundle --skip-context-validation -t {datasrc}/valid/bundle_kaguya_derived.xml" | | From 14e357ffd49fb316d8950f9b52597ba8aee8bd65 Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Thu, 16 Jan 2025 14:47:45 -0800 Subject: [PATCH 04/19] little cleanup translation of feature files --- src/test/java/cucumber/StepDefs.java | 1 + src/test/resources/features/pre.3.6.x.feature | 30 +++++++++---------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/src/test/java/cucumber/StepDefs.java b/src/test/java/cucumber/StepDefs.java index 0ffdacb2c..c45976c88 100644 --- a/src/test/java/cucumber/StepDefs.java +++ b/src/test/java/cucumber/StepDefs.java @@ -54,6 +54,7 @@ private List resolveArgumentStrings(String args) { throw new IllegalArgumentException("{Defining the report style is no longer valid."); } resolved.add(arg + .replace("{datasink}", this.datasink.toAbsolutePath().toString()) .replace("{datasrc}", this.datasrc.toAbsolutePath().toString()) .replace("%20", " ")); } diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index 62b62c640..8980b89fd 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -142,18 +142,18 @@ Feature: < 3.6 | 297 | 2 | "github297" | "--skip-context-validation -R pds4.label -t {datasrc}/invalid/rimfax_rdr_0081_example.xml" | "summary:totalErrors=0,summary:totalWarnings=1" | | 294 | 1 | "github294" | "--skip-context-validation -R pds4.label -t {datasrc}/valid/minmax-error.xml" | | | 294 | 2 | "github294" | "--skip-context-validation -R pds4.label -t {datasrc}/invalid/minmax-error.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.records_mismatch=1" | -| 292 | 1 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_VALID.xml" | | -| 292 | 2 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_VALID.xml" | | -| 292 | 3 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_LF=1" | -| 292 | 4 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_CRLF=1" | -| 292 | 5 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_lf.xml" | | -| 292 | 6 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_crlf.xml" | | -| 292 | 7 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_lf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_LF=1" | -| 292 | 8 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_crlf.xml" | "summary:totalErrors=0,summary:totalWarnings=4" | -| 292 | 9 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_VALID.xml" | | -| 292 | 10 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_VALID.xml" | | -| 292 | 11 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_LF=1" | -| 292 | 12 | "github292" | "--skip-context-validation -C {reportDir}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_CRLF=1" | +| 292 | 1 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_VALID.xml" | | +| 292 | 2 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_VALID.xml" | | +| 292 | 3 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_LF=1" | +| 292 | 4 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_CRLF=1" | +| 292 | 5 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_lf.xml" | | +| 292 | 6 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_crlf.xml" | | +| 292 | 7 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_lf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_LF=1" | +| 292 | 8 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_crlf.xml" | "summary:totalErrors=0,summary:totalWarnings=4" | +| 292 | 9 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_VALID.xml" | | +| 292 | 10 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_VALID.xml" | | +| 292 | 11 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_LF=1" | +| 292 | 12 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_CRLF=1" | | 291 | 1 | "github291" | "--skip-context-validation -R pds4.bundle -t {datasrc}/valid/bundle_kaguya_derived.xml" | | | 291 | 2 | "github291" | "--skip-context-validation -R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.label.bad_schematypens=1" | | 281 | 1 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_1_bad_filesize.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.filesize_mismatch=1" | @@ -187,7 +187,7 @@ Feature: < 3.6 | 149 | 2 | "github173" | "--skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | | | 137 | 1 | "github137" | "-t {datasrc}/delimited_table_good.xml" | | | 137 | 2 | "github137" | "-t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | -| 87 | | "github87" | "-R pds4.label --skip-content-validation -t {datasrc}/2t126632959btr0200p3002n0a1.xml {datasrc}/2t126646972btr0200p3001n0a1.xml -C {reportDir}/catalog.xml" | | +| 87 | | "github87" | "-R pds4.label --skip-content-validation -t {datasrc}/2t126632959btr0200p3002n0a1.xml {datasrc}/2t126646972btr0200p3001n0a1.xml -C {datasink}/catalog.xml" | | | 84 | 1 | "github84" | "--no-data-check -c {datasrc}/config.txt -t {resourceDir}/github71/ELE_MOM.xml" | | | 84 | 2 | "github84" | "--skip-content-validation --skip-context-validation -c {datasrc}/config.txt -t {resourceDir}/github71/ELE_MOM.xml" | | | 71 | 1 | "github71" | "-C {datasrc}/catalog.xml --skip-content-validation --skip-context-validation -t {datasrc}/ELE_MOM.xml" | | @@ -200,8 +200,8 @@ Feature: < 3.6 | 57 | 4 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57c.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.characters_between_fields=1" | | 51 | 1 | "github51" | "--skip-content-validation --skip-context-validation -t {datasrc}/valid" | | | 51 | 2 | "github51" | "-R pds4.bundle --alternate_file_paths src/test/resources/github51_additionals/additional_dir1/data_spectra,src/test/resources/github51_additionals/additional_dir2/data_spectra --skip-product-validation --skip-content-validation -t {datasrc}/valid" | "summary:totalErrors=0,summary:totalWarnings=0,summary:messageTypes:info.validation.general=1" | -| 50 | 1 | "github50" | "--skip-content-validation --skip-context-validation --target-manifest {reportDir}/target-manifest.xml" | | -| 50 | 2 | "github50" | "--target-manifest {reportDir}/target-manifest.xml -t {datasrc}/ele_evt_8hr_orbit_2014-2015.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.missing_file=1" | +| 50 | 1 | "github50" | "--skip-content-validation --skip-context-validation --target-manifest {datasink}/target-manifest.xml" | | +| 50 | 2 | "github50" | "--target-manifest {datasink}/target-manifest.xml -t {datasrc}/ele_evt_8hr_orbit_2014-2015.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.missing_file=1" | | 47 | 1 | "github47" | "--disable-context-mismatch-warnings -R pds4.label --skip-content-validation --skip-context-validation {datasrc}/test_context_products.xml" | | | 47 | 2 | "github47" | "-v1 --skip-content-validation --disable-context-mismatch-warnings -R pds4.label {datasrc}/test_context_products.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.context_ref_not_found=1" | | 28 | 1 | "github28" | "{datasrc}/test_add_context_products.xml" | "summary:totalErrors=0,summary:totalWarnings=1" | From b60fce3494919df4d8a98e7cc0983d77afca6c90 Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Thu, 16 Jan 2025 15:40:21 -0800 Subject: [PATCH 05/19] a little more cleanup --- src/test/java/cucumber/StepDefs.java | 17 ++- src/test/resources/features/3.6.x.feature | 14 +- src/test/resources/features/pre.3.6.x.feature | 140 +++++++++--------- 3 files changed, 93 insertions(+), 78 deletions(-) diff --git a/src/test/java/cucumber/StepDefs.java b/src/test/java/cucumber/StepDefs.java index c45976c88..c8bc4f1c8 100644 --- a/src/test/java/cucumber/StepDefs.java +++ b/src/test/java/cucumber/StepDefs.java @@ -7,9 +7,11 @@ import java.nio.file.Paths; import java.util.ArrayList; import java.util.Arrays; +import java.util.HashMap; import java.util.List; import org.apache.commons.io.FileUtils; import com.google.gson.Gson; +import com.google.gson.JsonElement; import com.google.gson.JsonObject; import gov.nasa.pds.tools.validate.CrossLabelFileAreaReferenceChecker; import gov.nasa.pds.validate.ValidateLauncher; @@ -109,21 +111,34 @@ public void compare_to_the(String expectation) { Gson gson = new Gson(); try (FileReader report = new FileReader(this.datasink.resolve("report.json").toFile())) { + HashMap messages = new HashMap(); JsonObject reportJson = gson.fromJson(report, JsonObject.class), node; + for (JsonElement msg : reportJson.getAsJsonObject("summary").getAsJsonArray("messageTypes")) { + messages.put( + msg.getAsJsonObject().getAsJsonPrimitive("messageType").getAsString(), + msg.getAsJsonObject().getAsJsonPrimitive("total").getAsInt()); + } for (String detail : expectation.split(",")) { + boolean nextIsMessage = false; Integer expected = Integer.valueOf(detail.split("=")[1].strip()); Integer reported = -1; String keyword = detail.split("=")[0]; node = reportJson; for (String key : keyword.split(":")) { - if (keyword.endsWith(key)) { + if (nextIsMessage) { + reported = messages.get(key); + messages.remove(key); + } else if (keyword.endsWith(key)) { reported = node.getAsJsonPrimitive(key).getAsInt(); + } else if (key.equals("messageTypes")) { + nextIsMessage = true; } else { node = node.getAsJsonObject(key); } } assertEquals (expected, reported, keyword); } + assertEquals (0, messages.size(), "Did not identify all message types generated."); } catch (ExitException e) { assertEquals(0, e.status, "Exit status"); } catch (Exception e) { diff --git a/src/test/resources/features/3.6.x.feature b/src/test/resources/features/3.6.x.feature index c1466dc09..8c5cbca74 100644 --- a/src/test/resources/features/3.6.x.feature +++ b/src/test/resources/features/3.6.x.feature @@ -10,9 +10,9 @@ Feature: 3.6.x | 1066 | | "github1066" | "--skip-content-validation -t {datasrc}/vg2u_49xr_1986024t232141.xml" | | | 1028 | | "github1028" | "--skip-context-validation -t {datasrc}/xa.s16..shz.1976.070.0.xml --schema {datasrc}/PDS4_PDS_1N00.xsd --schematron {datasrc}/PDS4_PDS_1N00.sch" | | -| 1008 | | "github1008" | "--skip-context-validation -t {datasrc}/example.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | -| 992 | 1 | "github992" | "--skip-context-validation -t {datasrc}/ff_char.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_too_long=1" | -| 992 | 2 | "github992" | "--skip-context-validation -t {datasrc}/ff_del.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_too_long=1" | +| 1008 | | "github1008" | "--skip-context-validation -t {datasrc}/example.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 992 | 1 | "github992" | "--skip-context-validation -t {datasrc}/ff_char.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_too_long=1" | +| 992 | 2 | "github992" | "--skip-context-validation -t {datasrc}/ff_del.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_too_long=1" | | 950 | 1 | "github915" | "--skip-content-validation --disable-context-mismatch-warnings -R pds4.collection -t {datasrc}/collection.xml" | | | 950 | 2 | "github950" | "--disable-context-mismatch-warnings -R pds4.bundle -t {datasrc}" | | | 919 | 1 | "github919" | "--skip-context-validation -t {datasrc}/uh0003b_draft.xml" | | @@ -26,8 +26,8 @@ Feature: 3.6.x | 873 | 2 | "github873" | "-t {datasrc}/." | | | 861 | | "github861" | "-t {datasrc}/PVO_OMAG_OEFD_ANC_ENG_0001.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | | 857 | | "github857" | "-t {datasrc}/highi_183_istria_fam3.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | -| 849 | 1 | "github849" | "--skip-context-validation -t {datasrc}/collection_uvs_data_raw.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.inventory.duplicate_lidvid=1" | -| 849 | 2 | "github849" | "-t {datasrc}/collection.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.inventory.duplicate_lidvid=1" | +| 849 | 1 | "github849" | "--skip-context-validation -t {datasrc}/collection_uvs_data_raw.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=1" | +| 849 | 2 | "github849" | "-t {datasrc}/collection.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=1" | | 837 | 1 | "github837" | "--skip-context-validation -t {datasrc}/times_table.xml" | | | 837 | 2 | "github837" | "-t {datasrc}/x.xml" | | | 831 | 1 | "github831" | "--skip-context-validation -t {datasrc}/kplo.xml" | | @@ -37,6 +37,6 @@ Feature: 3.6.x | 823 | 1 | "github823" | "-t {datasrc}/mvn_swi_l2_onboardsvymom_20230827_v02_r01.xml" | | | 823 | 2 | "github823" | "--skip-context-validation -t {datasrc}/mvn_swi_l2_onboardsvymom_20230827_v02_r01.xml" | | | 822 | | "github822" | "-R pds4.bundle -t {datasrc}" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_referenced_in_label=1" | -| 816 | 1 | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_format_precision_mismatch=1" | +| 816 | 1 | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_format_precision_mismatch=1" | | 816 | 2 | "github681" | "-t {datasrc}/ff_char_warn.xml {datasrc}/ff_del_warn.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1" | -| 816 | 3 | "github816" | "-t {datasrc}/ff_del.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_too_long=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 816 | 3 | "github816" | "-t {datasrc}/ff_del.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_too_long=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index 8980b89fd..eb55a1f3c 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -8,30 +8,30 @@ Feature: < 3.6 | issueNumber | subtest | datasrc | args | expectation | #begin -| 817 | | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_format_precision_mismatch=1" | +| 817 | | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_format_precision_mismatch=1" | | 785 | | "github785" | "--skip-context-validation -t {datasrc}/00038_FGM_RTN.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=1" | | 781 | | "github781" | "--skip-context-validation --skip-context-validation -t {datasrc}/RSS001E01_2031066T0241_EURGRVL20XXXXXXGSFC_COV010.xml" | | -| 755 | 1 | "github755" | "-skip-context-validation -t {datasrc}/m221011.0013.xml {datasrc}/m221011.0014.xml {datasrc}/m221011.0015.xml {datasrc}/m221011.0030.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.file_areas_duplicated_reference=1" | +| 755 | 1 | "github755" | "-skip-context-validation -t {datasrc}/m221011.0013.xml {datasrc}/m221011.0014.xml {datasrc}/m221011.0015.xml {datasrc}/m221011.0030.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.file_areas_duplicated_reference=1" | | 755 | 2 | "github755" | "-skip-context-validation -t {datasrc}/m221011.0013.xml {datasrc}/m221011.0015.xml" | | | 754 | | "github754" | "--skip-context-validation -t {datasrc}/Cassini_ISS_CB2_Jupiter_global_map_2.xml" | | -| 693 | | "github693" | "-t {datasrc}/" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 693 | | "github693" | "-t {datasrc}/" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | | 690 | | "github690" | "--skip-context-validation -t {datasrc}/rs_20160518_014000_udsc64_l3_e_v10.xml" | | | 684 | 1 | "github684" | "--skip-context-validation -t {datasrc}/example_params_noFileSize.xml" | | | 684 | 2 | "github684" | "--skip-context-validation -t {datasrc}/example_params_wFileSize.xml" | | | 683 | | "github614" | "-t {datasrc}/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.data_objects.out_of_order=1" | | 681 | 1 | "github681" | "-t {datasrc}/ff_char.xml {datasrc}/ff_del.xml" | | -| 681 | 2 | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_format_precision_mismatch=1" | +| 681 | 2 | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_format_precision_mismatch=1" | | 681 | 3 | "github681" | "-t {datasrc}/ff_char_warn.xml {datasrc}/ff_del_warn.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1" | | 680 | 1 | "github680" | "--skip-context-validation -t {datasrc}/ORB12_EUR_EPHIO_reclen96.xml" | | -| 680 | 2 | "github680" | "--skip-context-validation -t {datasrc}/ORB12_EUR_EPHIO_reclen95.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.record_length_mismatch=1" | +| 680 | 2 | "github680" | "--skip-context-validation -t {datasrc}/ORB12_EUR_EPHIO_reclen95.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.record_length_mismatch=1" | | 671 | | "github671" | "--skip-context-validation -t {datasrc} -R pds4.bundle" | | | 652 | | "github652" | "--skip-context-validation -t {datasrc}" | | | 651 | | "github651" | "-t {datasrc}/M1431146123CC.xml" | | | 649 | | "github597" | "-R pds4.collection --skip-context-validation -t {datasrc}/spice_kernels/collection_spice_kernels_v003.xml" | | | 644 | | "github644" | "-t {datasrc}/scam_0072_0673327336_185_cp2_scam01072_scct_41_irsalign_____04p04.xml" | | | 631 | | "github631" | "-v 1 -t {datasrc}/hyb2_tir_20180629_075501_l1.xml" | | -| 628 | | "github628" | "--skip-content-validation --disable-context-mismatch-warnings -t {datasrc}/mp2_flat_20061109.xml" | "summary:totalErrors=1,summary:totalWarnings=0" | -| 617 | | "github617" | "--skip-content-validation -t {datasrc}/uvis_euv_2005_159_solar_time_series_ingress.xml" | "summary:totalErrors=1,summary:totalWarnings=0" | +| 628 | | "github628" | "--skip-content-validation --disable-context-mismatch-warnings -t {datasrc}/mp2_flat_20061109.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1" | +| 617 | | "github617" | "--skip-content-validation -t {datasrc}/uvis_euv_2005_159_solar_time_series_ingress.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1" | | 616 | | "github616" | "--skip-context-validation -t {datasrc}/mre_cal_sc_ttcp_delay_schulte_01s_2021069.xml" | | | 614 | | "github614" | "-t {datasrc}/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | | | 611 | | "github611" | "-t {datasrc}/GRD-L1A-150313-150319_150625-BGO.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=1" | @@ -42,28 +42,28 @@ Feature: < 3.6 | 597 | 2 | "github562" | "-t {datasrc}" | | | 597 | 3 | "github561" | "-R pds4.collection --label-extension lblx --skip-context-validation -t {datasrc}" | | | 535 | 1 | "github535" | "-t {datasrc}/uvis_euv_2008_003_solar_time_series_ingress.xml --complete-descriptions" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.data.not_described=1" | -| 535 | 2 | "github535" | "-t {datasrc}/uvis_euv_2016_288_solar_time_series_egress.xml --complete-descriptions" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.table_definition_problem=1" | +| 535 | 2 | "github535" | "-t {datasrc}/uvis_euv_2016_288_solar_time_series_egress.xml --complete-descriptions" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.table_definition_problem=1" | | 533 | | "github533" | "--skip-content-validation --skip-context-validation -t {datasrc}/gggrx_1200a_shb_l420.xml" | | | 531 | 1 | "github531" | "--skip-context-validation -t {datasrc}/success/b.xml" | | -| 531 | 2 | "github531" | "--skip-context-validation -t {datasrc}/fail/b.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.table_definition_problem=1" | +| 531 | 2 | "github531" | "--skip-context-validation -t {datasrc}/fail/b.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.table_definition_problem=1" | | 529 | | "github529" | "--skip-context-validation -t {datasrc}/success/m0154651923f6_2p_cif_gbl.xml" | | | 514 | | "github514" | "--skip-context-validation -t {datasrc}/success/8array.xml" | | | 499 | 1 | "github499" | "--skip-context-validation -t {datasrc}/success/M7_217_044546_N.xml" | | -| 499 | 2 | "github499" | "--skip-context-validation -t {datasrc}/fail/M7_217_044546_N.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_CRLF=1" | +| 499 | 2 | "github499" | "--skip-context-validation -t {datasrc}/fail/M7_217_044546_N.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_CRLF=1" | | 482 | 1 | "github482" | "--skip-context-validation -e lblx -R pds4.folder -t {datasrc}/bundle1/" | | | 482 | 2 | "github482" | "--skip-context-validation -R pds4.folder -t {datasrc}/bundle2/" | | | 482 | 3 | "github482" | "--skip-context-validation -R pds4.bundle -e lblx -t {datasrc}/bundle1/bundle_kaguya_derived.lblx" | | | 482 | 4 | "github482" | "--skip-context-validation -R pds4.bundle -t {datasrc}/bundle2/bundle_kaguya_derived.xml" | | -| 482 | 5 | "github482" | "--skip-context-validation -R pds4.folder -t {datasrc}/bundle1/" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.execution.no_products_found=1" | -| 482 | 6 | "github482" | "--skip-context-validation -R pds4.folder -e lblx -t {datasrc}/bundle2/" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.execution.no_products_found=1" | +| 482 | 5 | "github482" | "--skip-context-validation -R pds4.folder -t {datasrc}/bundle1/" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.execution.no_products_found=1" | +| 482 | 6 | "github482" | "--skip-context-validation -R pds4.folder -e lblx -t {datasrc}/bundle2/" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.execution.no_products_found=1" | | 480 | 1 | "github480" | "--skip-context-validation -t {datasrc}/test_success.xml --skip-content-validation" | | -| 480 | 2 | "github480" | "-t {datasrc}/test_fail_header_offset.xml --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.invalid_object_definition=1" | -| 480 | 3 | "github480" | "-t {datasrc}/test_fail_table_offset.xml --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.invalid_object_definition=1" | +| 480 | 2 | "github480" | "-t {datasrc}/test_fail_header_offset.xml --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | +| 480 | 3 | "github480" | "-t {datasrc}/test_fail_table_offset.xml --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | | 469 | 1 | "github469" | "--skip-context-validation -t {datasrc}/201401031400_rdr.xml" | | -| 469 | 2 | "github469" | "--skip-context-validation -t {datasrc}/201401031400_rdr_max_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_out_of_min_max_range=1" | -| 469 | 3 | "github469" | "--skip-context-validation -t {datasrc}/201401031400_rdr_min_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_out_of_min_max_range=1" | -| 467 | 1 | "github476" | "-R pds4.label -t {datasrc}/bundle_mars2020_spice_v003.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.inventory.duplicate_lidvid=1" | -| 467 | 2 | "github476" | "-R pds4.label -t {datasrc}/collection_lab.hydrocarbon_spectra_data.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.inventory.duplicate_lidvid=1" | +| 469 | 2 | "github469" | "--skip-context-validation -t {datasrc}/201401031400_rdr_max_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_out_of_min_max_range=1" | +| 469 | 3 | "github469" | "--skip-context-validation -t {datasrc}/201401031400_rdr_min_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_out_of_min_max_range=1" | +| 467 | 1 | "github476" | "-R pds4.label -t {datasrc}/bundle_mars2020_spice_v003.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=1" | +| 467 | 2 | "github476" | "-R pds4.label -t {datasrc}/collection_lab.hydrocarbon_spectra_data.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=1" | | 447 | | "github447" | "-t {datasrc}/document/" | | | 444 | | "github444" | "--skip-context-validation -t {datasrc}/odya_bundle/bundle_ody_accel.xml" | | | 435 | | "github435" | "-R pds4.label -t {datasrc}/flat_w.xml" | | @@ -74,14 +74,14 @@ Feature: < 3.6 | 424 | 2 | "github424" | "-R pds4.label -t {datasrc}/asurpif_photos_amboycrater_v1.0_20211021_aip_v1.0.xml" | | | 419 | | "github419" | "-R pds4.label --disable-context-mismatch-warnings -t {datasrc}/bundle_astromat_chem.xml" | | | 416 | 1 | "github416" | "-R pds4.label -t {datasrc}/mix_raw_calib_mixs-c_sw_offset_table_20160301.xml" | | -| 416 | 2 | "github416" | "-R pds4.label -t {datasrc}/mix_raw_calib_mixs-c_sw_offset_table_20160301_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.invalid_object_definition=1" | +| 416 | 2 | "github416" | "-R pds4.label -t {datasrc}/mix_raw_calib_mixs-c_sw_offset_table_20160301_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | | 416 | 3 | "github416" | "-R pds4.label -t {datasrc}/phe_misc_temperature_reference_20190524.xml" | | -| 416 | 4 | "github416" | "-R pds4.label -t {datasrc}/phe_misc_temperature_reference_20190524_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.invalid_object_definition=1" | +| 416 | 4 | "github416" | "-R pds4.label -t {datasrc}/phe_misc_temperature_reference_20190524_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | | 408 | | "github408" | "-R pds4.bundle --skip-content-validation -t {datasrc}/valid/bundle_insight_seis.xml" | | -| 401 | | "github401" | "-R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.validation.invalid_field_value=1" | +| 401 | | "github401" | "-R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.validation.invalid_field_value=1" | | 392 | 1 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/test1_valid.xml" | | -| 392 | 2 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/test1_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_overlap=1" | -| 392 | 3 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/INVALID_odf07155_msgr_11.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_overlap=1" | +| 392 | 2 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/test1_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=1" | +| 392 | 3 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/INVALID_odf07155_msgr_11.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=1" | | 380 | 1 | "github380" | "-R pds4.label --skip-context-validation --skip-context-reference-check -t {resourceDir}/github379/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | | 380 | 2 | "github380" | "-R pds4.label --debug-mode --skip-context-validation --skip-context-reference-check -t {resourceDir}/github379/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | | 379 | | "github379" | "-R pds4.label --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | @@ -90,9 +90,9 @@ Feature: < 3.6 | 373 | 1 | "github373" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -t {resourceDir}/github240/valid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | | 373 | 2 | "github373" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -t {resourceDir}/github240/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | | 368 | | "github368" | "-R pds4.bundle --skip-context-reference-check --skip-product-validation -t {datasrc}/valid//bundle_kaguya_derived.xml" | | -| 367 | 1 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | -| 367 | 2 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.file.not_jpeg_compliant=1" | -| 367 | 3 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.file.not_png_compliant=1" | +| 367 | 1 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 367 | 2 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.file.not_jpeg_compliant=1" | +| 367 | 3 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.file.not_png_compliant=1" | | 367 | 4 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_html_mimetype=1" | | 367 | 5 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_msword_mimetype=1" | | 367 | 6 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_msexcel_mimetype=1" | @@ -102,29 +102,29 @@ Feature: < 3.6 | 367 | 10 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_gif_mimetype=1" | | 367 | 11 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_tiff_mimetype=1" | | 367 | 12 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_mp4_mimetype=1" | -| 366 | 1 | "github366" | "-R pds4.label --skip-context-validation -t {resourceDir}/github164/invalid/document_test_1_pdf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 366 | 1 | "github366" | "-R pds4.label --skip-context-validation -t {resourceDir}/github164/invalid/document_test_1_pdf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | | 366 | 2 | "github366" | "-R pds4.label -skip-context-validation -t {resourceDir}/github164/valid/document_pdfa_valid.xml" | | | 366 | 3 | "github366" | "-R pds4.label --skip-content-validation --skip-context-validation -t {resourceDir}/github164/valid/document_pdfa_valid.xml" | | | 364 | 1 | "github364" | "-R pds4.label --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}//MIS000XXX_2021001T000000_DEV0_2021001T0000_RAW010.XML" | | -| 364 | 2 | "github364" | "-R pds4.label --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}//MIS000XXX_2021001T000000_DEV0_2021001T0000_RAW010" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.bad_extension=1" | +| 364 | 2 | "github364" | "-R pds4.label --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}//MIS000XXX_2021001T000000_DEV0_2021001T0000_RAW010" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.bad_extension=1" | | 357 | 1 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata.xml" | "summary:totalErrors=0,summary:totalWarnings=2" | -| 357 | 2 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_2240_records.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.validation.invalid_field_value=1" | -| 357 | 3 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_2250_records.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.records_mismatch=1" | -| 357 | 4 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_4_records.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.validation.invalid_field_value=1" | +| 357 | 2 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_2240_records.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.validation.invalid_field_value=1" | +| 357 | 3 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_2250_records.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.records_mismatch=1" | +| 357 | 4 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_4_records.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.validation.invalid_field_value=1" | | 356 | 1 | "github356" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation -t {resourceDir}/github240/valid/bundle_kaguya_derived.xml" | | | 356 | 2 | "github356" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation -t {resourceDir}/github240/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.sub_directory.unallowed_name=1" | | 349 | 1 | "github349" | "-R pds4.label -t {datasrc}/valid/datasetgood.xml" | | -| 349 | 2 | "github349" | "-R pds4.label -t {datasrc}/invalid/datasetbad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.directory.unallowed_name=1" | +| 349 | 2 | "github349" | "-R pds4.label -t {datasrc}/invalid/datasetbad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.directory.unallowed_name=1" | | 345 | 1 | "github345" | "-R pds4.label -t {datasrc}/astro_sample_t.xml" | | | 345 | 2 | "github345" | "-R pds4.label -t {datasrc}/astro_sample_data_t.xml" | | | 344 | | "github344" | "-R pds4.bundle -t {datasrc}/bundle.xml" | | | 343 | 1 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | | -| 343 | 2 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs_bad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.array.value_out_of_min_max_range=1" | -| 343 | 3 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs_bad_noname.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.array.value_out_of_min_max_range=1" | +| 343 | 2 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs_bad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.array.value_out_of_min_max_range=1" | +| 343 | 3 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs_bad_noname.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.array.value_out_of_min_max_range=1" | | 335 | 1 | "github335" | "--skip-context-validation -R pds4.label -t {datasrc}/minimal_test_product.xml" | | | 335 | 2 | "github335" | "--skip-context-validation -t {datasrc}/" | | | 334 | 1 | "github334" | "-R pds4.label -t {datasrc}/valid/pvoro_graph_eden_k91_3a_01_v01_r00.xml" | | -| 334 | 2 | "github334" | "-R pds4.label -t {datasrc}/invalid/pvoro_graph_eden_k91_3a_01_v01_r00.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.invalid_object_definition=1" | +| 334 | 2 | "github334" | "-R pds4.label -t {datasrc}/invalid/pvoro_graph_eden_k91_3a_01_v01_r00.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | | 328 | 1 | "github328" | "-R pds4.bundle -t {datasrc}/valid/bundle_misc.xml" | | | 328 | 2 | "github328" | "-R pds4.bundle -t {datasrc}/invalid/bundle_misc.xml" | | | 325 | | "github325" | "-R pds4.label -t {datasrc}/crs009x.xml" | | @@ -132,96 +132,96 @@ Feature: < 3.6 | 310 | 2 | "github310" | "-R pds4.bundle --skip-content-validation -t {datasrc}/invalid/bundle.xml" | | | 308 | 1 | "github308" | "-R pds4.bundle -t {datasrc}/valid/bundle_kaguya_derived.xml" | | | 308 | 2 | "github308" | "-R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.unreferenced_member=1" | -| 303 | 1 | "github303" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.array.bad_file_read=1" | +| 303 | 1 | "github303" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.array.bad_file_read=1" | | 303 | 2 | "github303" | "-R pds4.label --skip-context-validation -t {datasrc}/valid/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | | | 299 | 1 | "github299" | "-R pds4.label -t {datasrc}/valid/gbo_ast_fieber-beyer_spectra_v2.0_20210211_aip_v1.0.xml" | | | 299 | 2 | "github299" | "-R pds4.label -t {datasrc}/invalid/gbo_ast_fieber-beyer_spectra_v2.0_20210211_aip_v1.0.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | | 298 | 1 | "github298" | "-R pds4.label {datasrc}/valid/sentences.xml" | | -| 298 | 2 | "github298" | "-R pds4.label {datasrc}/invalid/sentences.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.validation.invalid_field_value=1" | +| 298 | 2 | "github298" | "-R pds4.label {datasrc}/invalid/sentences.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.validation.invalid_field_value=1" | | 297 | 1 | "github297" | "--skip-context-validation -R pds4.label -t {datasrc}/valid/rimfax_rdr_0081_example.xml" | | | 297 | 2 | "github297" | "--skip-context-validation -R pds4.label -t {datasrc}/invalid/rimfax_rdr_0081_example.xml" | "summary:totalErrors=0,summary:totalWarnings=1" | | 294 | 1 | "github294" | "--skip-context-validation -R pds4.label -t {datasrc}/valid/minmax-error.xml" | | -| 294 | 2 | "github294" | "--skip-context-validation -R pds4.label -t {datasrc}/invalid/minmax-error.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.records_mismatch=1" | +| 294 | 2 | "github294" | "--skip-context-validation -R pds4.label -t {datasrc}/invalid/minmax-error.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.records_mismatch=1" | | 292 | 1 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_VALID.xml" | | | 292 | 2 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_VALID.xml" | | -| 292 | 3 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_LF=1" | -| 292 | 4 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_CRLF=1" | +| 292 | 3 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_LF=1" | +| 292 | 4 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_CRLF=1" | | 292 | 5 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_lf.xml" | | | 292 | 6 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_crlf.xml" | | -| 292 | 7 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_lf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_LF=1" | +| 292 | 7 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_lf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_LF=1" | | 292 | 8 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_crlf.xml" | "summary:totalErrors=0,summary:totalWarnings=4" | | 292 | 9 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_VALID.xml" | | | 292 | 10 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_VALID.xml" | | -| 292 | 11 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_LF=1" | -| 292 | 12 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.missing_CRLF=1" | +| 292 | 11 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_LF=1" | +| 292 | 12 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_CRLF=1" | | 291 | 1 | "github291" | "--skip-context-validation -R pds4.bundle -t {datasrc}/valid/bundle_kaguya_derived.xml" | | | 291 | 2 | "github291" | "--skip-context-validation -R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.label.bad_schematypens=1" | -| 281 | 1 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_1_bad_filesize.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.filesize_mismatch=1" | -| 281 | 2 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_2_bad_checksum.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.checksum_mismatch=1" | -| 281 | 3 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_3_bad_checksum_no_filesize.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.checksum_mismatch=1" | +| 281 | 1 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_1_bad_filesize.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.filesize_mismatch=1" | +| 281 | 2 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_2_bad_checksum.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.checksum_mismatch=1" | +| 281 | 3 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_3_bad_checksum_no_filesize.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.checksum_mismatch=1" | | 281 | 4 | "github281" | "-R pds4.label {datasrc}/valid/collection_gwe_spk_valid_1.xml" | | | 281 | 5 | "github281" | "-R pds4.label {datasrc}/valid/collection_gwe_spk_valid_2_no_filesize.xml" | | | 281 | 6 | "github281" | "-R pds4.label {datasrc}/valid/collection_gwe_spk_valid_3_no_filesize_no_checksum.xml" | | -| 278 | 1 | "github278" | "-R pds4.label {datasrc}/invalid/trk-2-34-revn-l5_tnf_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.context_ref_not_found=1" | +| 278 | 1 | "github278" | "-R pds4.label {datasrc}/invalid/trk-2-34-revn-l5_tnf_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1" | | 278 | 2 | "github278" | "-R pds4.label {datasrc}/valid/trk-2-34-revn-l5_tnf.xml" | | | 240 | 1 | "github240" | "-R pds4.bundle --skip-context-validation {datasrc}/valid/bundle_kaguya_derived.xml" | | | 240 | 2 | "github240" | "-R pds4.bundle --skip-context-validation {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.sub_directory.unallowed_name=1" | -| 230 | 1 | "github230" | "--skip-content-validation -R pds4.bundle -t {datasrc}/invalid/cocirs_c2h4abund/bundle_cocirs_c2h4abund.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.integrity.missing_version=1" | +| 230 | 1 | "github230" | "--skip-content-validation -R pds4.bundle -t {datasrc}/invalid/cocirs_c2h4abund/bundle_cocirs_c2h4abund.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.integrity.missing_version=1" | | 230 | 2 | "github230" | "--skip-content-validation -R pds4.bundle -t {datasrc}/valid/cocirs_c2h4abund/bundle_cocirs_c2h4abund.xml" | | | 217 | 1 | "github217" | "-t {datasrc}/success/" | | -| 217 | 2 | "github217" | "-t {datasrc}/fail/delmet4.xml {datasrc}/fail/binobs4.xml {datasrc}/fail/delobs4.xml {datasrc}/fail/delinv4.xml {datasrc}/fail/ascbro4.xml {datasrc}/fail/delsup4.xml {datasrc}/fail/delanc4.xml {datasrc}/fail/binanc4.xml {datasrc}/fail/binsup4.xml {datasrc}/fail/ascsup4.xml {datasrc}/fail/delbro4.xml {datasrc}/fail/ascanc4.xml {datasrc}/fail/binbro4.xml {datasrc}/fail/ascmet4.xml {datasrc}/fail/ascobs4.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.records_mismatch=1" | -| 217 | 3 | "github217" | "-t {datasrc}/fail/delmet4.xml {datasrc}/fail/binobs4.xml {datasrc}/fail/delobs4.xml {datasrc}/fail/delinv4.xml {datasrc}/fail/ascbro4.xml {datasrc}/fail/delsup4.xml {datasrc}/fail/delanc4.xml {datasrc}/fail/binanc4.xml {datasrc}/fail/binsup4.xml {datasrc}/fail/ascsup4.xml {datasrc}/fail/delbro4.xml {datasrc}/fail/ascanc4.xml {datasrc}/fail/binbro4.xml {datasrc}/fail/ascmet4.xml {datasrc}/fail/ascobs4.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.table_definition_problem=1" | -| 210 | | "github210" | "--skip-content-validation -t {datasrc}/bundle_cassini-huygens-coradar.xml {datasrc}/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | "summary:totalErrors=1,summary:totalWarnings=0" | +| 217 | 2 | "github217" | "-t {datasrc}/fail/delmet4.xml {datasrc}/fail/binobs4.xml {datasrc}/fail/delobs4.xml {datasrc}/fail/delinv4.xml {datasrc}/fail/ascbro4.xml {datasrc}/fail/delsup4.xml {datasrc}/fail/delanc4.xml {datasrc}/fail/binanc4.xml {datasrc}/fail/binsup4.xml {datasrc}/fail/ascsup4.xml {datasrc}/fail/delbro4.xml {datasrc}/fail/ascanc4.xml {datasrc}/fail/binbro4.xml {datasrc}/fail/ascmet4.xml {datasrc}/fail/ascobs4.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.records_mismatch=1" | +| 217 | 3 | "github217" | "-t {datasrc}/fail/delmet4.xml {datasrc}/fail/binobs4.xml {datasrc}/fail/delobs4.xml {datasrc}/fail/delinv4.xml {datasrc}/fail/ascbro4.xml {datasrc}/fail/delsup4.xml {datasrc}/fail/delanc4.xml {datasrc}/fail/binanc4.xml {datasrc}/fail/binsup4.xml {datasrc}/fail/ascsup4.xml {datasrc}/fail/delbro4.xml {datasrc}/fail/ascanc4.xml {datasrc}/fail/binbro4.xml {datasrc}/fail/ascmet4.xml {datasrc}/fail/ascobs4.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.table_definition_problem=1" | +| 210 | | "github210" | "--skip-content-validation -t {datasrc}/bundle_cassini-huygens-coradar.xml {datasrc}/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1" | | 209 | 1 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/VALID_odf07155_msgr_11.xml" | | -| 209 | 2 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/FAIL1_overlapping_bit_fields.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_overlap=1" | -| 209 | 3 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/FAIL2_bad_stop_bit.xml" | "summary:totalErrors=2,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_overlap=1,summary:messageTypes:error.table.bad_field_read=1" | -| 190 | | "github190" | "--skip-context-validation -t {datasrc}/validation_test.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 209 | 2 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/FAIL1_overlapping_bit_fields.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=1" | +| 209 | 3 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/FAIL2_bad_stop_bit.xml" | "summary:totalErrors=2,summary:totalWarnings=0,summary:productValidation:failed=2,summary:messageTypes:error.table.field_value_overlap=1,summary:messageTypes:error.table.bad_field_read=1" | +| 190 | | "github190" | "--skip-context-validation -t {datasrc}/validation_test.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | | 188 | | "github188" | "--skip-content-validation -t {datasrc}/bundle_cassini-huygens-coradar.xml {datasrc}/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | | | 173 | 1 | "github173" | "--skip-context-validation -R pds4.bundle -t {datasrc}/valid/ --skip-content-validation" | | -| 173 | 2 | "github173" | "--skip-context-validation -R pds4.bundle -t {datasrc}/invalid/ --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.records_mismatch=1" | -| 164 | 1 | "github164" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/document_test_1_pdf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 173 | 2 | "github173" | "--skip-context-validation -R pds4.bundle -t {datasrc}/invalid/ --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.records_mismatch=1" | +| 164 | 1 | "github164" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/document_test_1_pdf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | | 164 | 2 | "github164" | "-R pds4.label --skip-context-validation -t {datasrc}/valid/document_pdfa_valid.xml" | | -| 153 | 1 | "github153" | "--skip-context-validation -R pds4.label -t {datasrc}/iue_asteroid_spectra/document/3juno_lwr01896_ines_fits_headers.pdfa%.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.file.name_has_invalid_characters=1" | +| 153 | 1 | "github153" | "--skip-context-validation -R pds4.label -t {datasrc}/iue_asteroid_spectra/document/3juno_lwr01896_ines_fits_headers.pdfa%.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.file.name_has_invalid_characters=1" | | 153 | 2 | "github153" | "--skip-context-validation -R pds4.label -t {datasrc}/iue_asteroid_spectra/document/collection_iue_asteroid_spectra_document.xml" | | | 149 | 1 | "github173" | "--skip-context-validation -t {datasrc}/valid/bundle_kaguya_derived.xml" | | | 149 | 2 | "github173" | "--skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | | | 137 | 1 | "github137" | "-t {datasrc}/delimited_table_good.xml" | | -| 137 | 2 | "github137" | "-t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 137 | 2 | "github137" | "-t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | | 87 | | "github87" | "-R pds4.label --skip-content-validation -t {datasrc}/2t126632959btr0200p3002n0a1.xml {datasrc}/2t126646972btr0200p3001n0a1.xml -C {datasink}/catalog.xml" | | | 84 | 1 | "github84" | "--no-data-check -c {datasrc}/config.txt -t {resourceDir}/github71/ELE_MOM.xml" | | | 84 | 2 | "github84" | "--skip-content-validation --skip-context-validation -c {datasrc}/config.txt -t {resourceDir}/github71/ELE_MOM.xml" | | | 71 | 1 | "github71" | "-C {datasrc}/catalog.xml --skip-content-validation --skip-context-validation -t {datasrc}/ELE_MOM.xml" | | | 71 | 2 | "github71" | "-C {datasrc}/catalog.xml --skip-context-validation -t {datasrc}/ELE_MOM_2.xml" | | | 62 | 1 | "github62" | "-v1 --no-data-check -t {datasrc}/ele_mom_tblChar.xml" | "summary:totalErrors=0,summary:totalWarnings=0,summary:messageTypes:info.label.context_ref_found=1" | -| 62 | 2 | "github62" | "-v1 --no-data-check -t {datasrc}/spacecraft.orex_1.1.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:info.label.context_ref_found=1,summary:messageTypes:error.label.context_ref_not_found=1" | -| 57 | 1 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57a_valid.xml" | "summary:totalErrors=5,summary:totalWarnings=0" | +| 62 | 2 | "github62" | "-v1 --no-data-check -t {datasrc}/spacecraft.orex_1.1.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:info.label.context_ref_found=1,summary:messageTypes:error.label.context_ref_not_found=1" | +| 57 | 1 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57a_valid.xml" | "summary:totalErrors=5,summary:totalWarnings=0,summary:productValidation:failed=5" | | 57 | 2 | "github57" | "-R pds4.label --skip-context-validation -t {datasrc}/validate_57a_valid.xml" | | | 57 | 3 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57a_invalid.xml" | "summary:totalErrors=0,summary:totalWarnings=4" | | 57 | 4 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57c.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.characters_between_fields=1" | | 51 | 1 | "github51" | "--skip-content-validation --skip-context-validation -t {datasrc}/valid" | | | 51 | 2 | "github51" | "-R pds4.bundle --alternate_file_paths src/test/resources/github51_additionals/additional_dir1/data_spectra,src/test/resources/github51_additionals/additional_dir2/data_spectra --skip-product-validation --skip-content-validation -t {datasrc}/valid" | "summary:totalErrors=0,summary:totalWarnings=0,summary:messageTypes:info.validation.general=1" | | 50 | 1 | "github50" | "--skip-content-validation --skip-context-validation --target-manifest {datasink}/target-manifest.xml" | | -| 50 | 2 | "github50" | "--target-manifest {datasink}/target-manifest.xml -t {datasrc}/ele_evt_8hr_orbit_2014-2015.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.missing_file=1" | +| 50 | 2 | "github50" | "--target-manifest {datasink}/target-manifest.xml -t {datasrc}/ele_evt_8hr_orbit_2014-2015.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.missing_file=1" | | 47 | 1 | "github47" | "--disable-context-mismatch-warnings -R pds4.label --skip-content-validation --skip-context-validation {datasrc}/test_context_products.xml" | | -| 47 | 2 | "github47" | "-v1 --skip-content-validation --disable-context-mismatch-warnings -R pds4.label {datasrc}/test_context_products.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.context_ref_not_found=1" | +| 47 | 2 | "github47" | "-v1 --skip-content-validation --disable-context-mismatch-warnings -R pds4.label {datasrc}/test_context_products.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1" | | 28 | 1 | "github28" | "{datasrc}/test_add_context_products.xml" | "summary:totalErrors=0,summary:totalWarnings=1" | | 28 | 2 | "github28" | "--add-context-products {datasrc}/new_context.json -t {datasrc}/test_add_context_products.xml" | | -| 17 | 1 | "github17" | "--skip-context-validation -R pds4.label -t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=3,summary:totalWarnings=0" | +| 17 | 1 | "github17" | "--skip-context-validation -R pds4.label -t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=3,summary:totalWarnings=0,summary:productValidation:failed=3" | | 17 | 2 | "github17" | "--skip-context-validation -R pds4.label -t {datasrc}/delimited_table_good.xml" | | | 15 | 1 | "github15" | "-v1 --disable-context-mismatch-warnings -R pds4.label -t {datasrc}/test_check-pass_context_products.xml" | | -| 15 | 2 | "github15" | "-v1 --disable-context-mismatch-warnings {datasrc}/test_check-no-pass_context_products.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:info.label.context_ref_mismatch=1" | -| 11 | 1 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_bad_1.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.invalid_object_definition=1" | -| 11 | 2 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_bad_2.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.label.invalid_object_definition=1" | +| 15 | 2 | "github15" | "-v1 --disable-context-mismatch-warnings {datasrc}/test_check-no-pass_context_products.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:info.label.context_ref_mismatch=1" | +| 11 | 1 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_bad_1.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | +| 11 | 2 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_bad_2.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | | 11 | 3 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_good.xml" | | | 9 | 1 | "github09" | "-t {datasrc}/minimal_test_product_good2.xml" | | | 9 | 2 | "github09" | "-t {datasrc}/minimal_test_product_good.xml" | | | 9 | 3 | "github09" | "-t {datasrc}/csv_empty_field_test_VALID.xml" | | -| 9 | 4 | "github09" | "-t {datasrc}/csv_empty_field_test_INVALID.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 9 | 4 | "github09" | "-t {datasrc}/csv_empty_field_test_INVALID.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | | 9 | 5 | "github09" | "-t {datasrc}/val9a.xml.xml" | | -| 9 | 6 | "github09" | "-t {datasrc}/val9b.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 9 | 6 | "github09" | "-t {datasrc}/val9b.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | | 7 | | "github7" | "--skip-context-validation -t {datasrc}/ch2_sar_ncxs_20090107t163003745_d_sli_xx_fp_hh_pb1_19111.xml" | | -| 6 | 1 | "github6" | "--skip-context-validation -R pds4.bundle {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=3,summary:totalWarnings=0,summary:messageTypes:error.file.name_has_invalid_characters=1,summary:messageTypes:error.file.unallowed_base_name=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 6 | 1 | "github6" | "--skip-context-validation -R pds4.bundle {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=3,summary:totalWarnings=0,summary:productValidation:failed=3,summary:messageTypes:error.file.name_has_invalid_characters=1,summary:messageTypes:error.file.unallowed_base_name=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | | 6 | 2 | "github6" | "-R pds4.bundle --skip-context-validation {datasrc}/invalid/bundle_kaguya_derived_7.xml" | "summary:totalErrors=0,summary:totalWarnings=5,summary:messageTypes:warning.integrity.unreferenced_member=1,summary:messageTypes:warning.file.not_referenced_in_label=1,summary:messageTypes:warning.integrity.reference_not_found=1,summary:messageTypes:warning.integrity.member_not_found=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | | 6 | 3 | "github6" | "-R pds4.bundle --skip-context-validation {datasrc}/valid/bundle_kaguya_derived.xml" | | -| 5 | 1 | "github5" | "-R pds4.bundle --skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=2,summary:totalWarnings=0,summary:messageTypes:error.file.name_has_invalid_characters=1,summary:messageTypes:error.file.unallowed_base_name=1" | +| 5 | 1 | "github5" | "-R pds4.bundle --skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=2,summary:totalWarnings=0,summary:productValidation:failed=2,summary:messageTypes:error.file.name_has_invalid_characters=1,summary:messageTypes:error.file.unallowed_base_name=1" | | 5 | 2 | "github5" | "-R pds4.bundle --skip-context-validation -t {datasrc}/valid/bundle_kaguya_derived.xml" | | From c934bc5af8867bea4d798e5663e17de3d8e08727 Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Thu, 23 Jan 2025 13:38:44 -0800 Subject: [PATCH 06/19] no going back now --- src/test/java/cucumber/StepDefs.java | 43 ++++ src/test/resources/features/3.6.x.feature | 38 ++- src/test/resources/features/pre.3.6.x.feature | 218 +++++++++--------- 3 files changed, 170 insertions(+), 129 deletions(-) diff --git a/src/test/java/cucumber/StepDefs.java b/src/test/java/cucumber/StepDefs.java index c8bc4f1c8..c96370906 100644 --- a/src/test/java/cucumber/StepDefs.java +++ b/src/test/java/cucumber/StepDefs.java @@ -2,7 +2,9 @@ import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.fail; +import java.io.BufferedWriter; import java.io.FileReader; +import java.io.FileWriter; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; @@ -43,18 +45,40 @@ void tearDown() throws Exception { } private List resolveArgumentStrings(String args) { + boolean catalogNext = false, manifestNext = false; List resolved = new ArrayList(Arrays.asList("--report-file", this.datasink.resolve("report.json").toString(), "--report-style", "json")); for (String arg : args.split("\\s+")) { if (arg.contains("{reportDir}") || arg.contains("{resourceDir}")) { throw new IllegalArgumentException("{reportDir} and {resourceDir} are no longer valid."); } + if (catalogNext) { + catalogNext = false; + this.createCatalogFile(arg + .replace("{datasink}", this.datasink.toAbsolutePath().toString()) + .replace("{datasrc}", this.datasrc.toAbsolutePath().toString()) + .replace("%20", " "), + this.datasink.toAbsolutePath().toString()); + } + if (manifestNext) { + // read manifest + // do datasrc/datasink translations + // write to datasink + // change arg to new location + arg = "{datasink}/target-manifest.xml"; + } + if (arg.equals("-C") || arg.equals("--catalog")) { + catalogNext = true; + } if (arg.equals("-r}") || arg.equals("--report-file")) { throw new IllegalArgumentException("Defining the report file is no longer valid."); } if (arg.equals("-s") || arg.equals("--report-style")) { throw new IllegalArgumentException("{Defining the report style is no longer valid."); } + if (arg.equals("--target-manifest") ) { + manifestNext = true; + } resolved.add(arg .replace("{datasink}", this.datasink.toAbsolutePath().toString()) .replace("{datasrc}", this.datasrc.toAbsolutePath().toString()) @@ -147,6 +171,25 @@ public void compare_to_the(String expectation) { } } + private void createCatalogFile(String catFile, String substitutePath) { + // Create catalog file + String catText = "\n" + "\n" + "\n" + + " \n" + + " \n" + ""; + + try (BufferedWriter writer = new BufferedWriter(new FileWriter(catFile))) { + writer.write(catText); + writer.close(); + } catch (Exception e) { + e.printStackTrace(); + fail("Test Failed Due To Exception: " + e.getMessage()); + } + } + protected static class ExitException extends SecurityException { private static final long serialVersionUID = -1535371619727142623L; diff --git a/src/test/resources/features/3.6.x.feature b/src/test/resources/features/3.6.x.feature index ec1ad70c7..7a551210f 100644 --- a/src/test/resources/features/3.6.x.feature +++ b/src/test/resources/features/3.6.x.feature @@ -9,35 +9,33 @@ Feature: 3.6.x #begin | 1100 | | "github1100" | "--skip-context-validation -R pds4.bundle -t {datasrc}" | | -| 1066 | | "github1066" | "--skip-content-validation -t {datasrc}/vg2u_49xr_1986024t232141.xml" | | +| 1066 | | "github1066" | "--skip-content-validation -t {datasrc}/vg2u_49xr_1986024t232141.xml" | "summary:totalWarnings=3,summary:messageTypes:warning.label.context_ref_mismatch=3" | | 1028 | | "github1028" | "--skip-context-validation -t {datasrc}/xa.s16..shz.1976.070.0.xml --schema {datasrc}/PDS4_PDS_1N00.xsd --schematron {datasrc}/PDS4_PDS_1N00.sch" | | -| 1008 | | "github1008" | "--skip-context-validation -t {datasrc}/example.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | -| 992 | 1 | "github992" | "--skip-context-validation -t {datasrc}/ff_char.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_too_long=1" | -| 992 | 2 | "github992" | "--skip-context-validation -t {datasrc}/ff_del.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_too_long=1" | -| 950 | 1 | "github915" | "--skip-content-validation --disable-context-mismatch-warnings -R pds4.collection -t {datasrc}/collection.xml" | | +| 1008 | | "github1008" | "--skip-context-validation -t {datasrc}/example.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 992 | 1 | "github992" | "--skip-context-validation -t {datasrc}/ff_char.xml" | "summary:totalErrors=1,summary:totalWarnings=5,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=3,summary:messageTypes:warning.table.field_value_too_long=1" | +| 992 | 2 | "github992" | "--skip-context-validation -t {datasrc}/ff_del.xml" | "summary:totalErrors=1,summary:totalWarnings=5,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=3,summary:messageTypes:warning.table.field_value_too_long=1" | +| 950 | 1 | "github915" | "--skip-content-validation --disable-context-mismatch-warnings -R pds4.collection -t {datasrc}/collection.xml" | "summary:totalErrors=1,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:warning.integrity.unreferenced_member=1" | | 950 | 2 | "github950" | "--disable-context-mismatch-warnings -R pds4.bundle -t {datasrc}" | | | 919 | 1 | "github919" | "--skip-context-validation -t {datasrc}/uh0003b_draft.xml" | | | 919 | 2 | "github919" | "-t {datasrc}/uh0003b_draft.xml" | | -| 915 | | "github915" | "--skip-content-validation -R pds4.collection -t {datasrc}/collection.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 915 | | "github915" | "--skip-content-validation -R pds4.collection -t {datasrc}/collection.xml" | "summary:totalErrors=1,summary:totalWarnings=6,summary:productValidation:failed=1,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:warning.integrity.unreferenced_member=1,summary:messageTypes:warning.label.context_ref_mismatch=5" | | 905 | 1 | "github905" | "--skip-context-validation -t {datasrc}/dsn_0159-science.2008-02-29.xml {datasrc}/dsn_0159-science.2009-05-18.xml" | | | 905 | 2 | "github905" | "-t {datasrc}/." | | | 902 | 1 | "github902" | "--skip-context-validation -t {datasrc}/s_00168901_thm.xml" | | | 902 | 2 | "github902" | "-t {datasrc}/s_00168901_thm.xml" | | -| 873 | 1 | "github873" | "--skip-context-validation -R pds4.bundle -t {datasrc}" | | +| 873 | 1 | "github873" | "--skip-context-validation -R pds4.bundle -t {datasrc}" | "summary:totalWarnings=2,summary:messageTypes:warning.integrity.unreferenced_member=2" | | 873 | 2 | "github873" | "-t {datasrc}/." | | -| 861 | | "github861" | "-t {datasrc}/PVO_OMAG_OEFD_ANC_ENG_0001.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | -| 857 | | "github857" | "-t {datasrc}/highi_183_istria_fam3.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | -| 849 | 1 | "github849" | "--skip-context-validation -t {datasrc}/collection_uvs_data_raw.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=1" | -| 849 | 2 | "github849" | "-t {datasrc}/collection.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=1" | +| 861 | | "github861" | "-t {datasrc}/PVO_OMAG_OEFD_ANC_ENG_0001.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 857 | | "github857" | "-t {datasrc}/highi_183_istria_fam3.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 849 | 1 | "github849" | "--skip-context-validation -t {datasrc}/collection_uvs_data_raw.xml" | "summary:totalErrors=2,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=2" | +| 849 | 2 | "github849" | "-t {datasrc}/collection.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=1" | | 837 | 1 | "github837" | "--skip-context-validation -t {datasrc}/times_table.xml" | | -| 837 | 2 | "github837" | "-t {datasrc}/x.xml" | | -| 831 | 1 | "github831" | "--skip-context-validation -t {datasrc}/kplo.xml" | | -| 831 | 2 | "github831" | "-t {datasrc}/kplo.xml" | | +| 837 | 2 | "github837" | "-t {datasrc}/x.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 831 | | "github831" | "--skip-context-validation -t {datasrc}/kplo.xml" | | | 824 | 1 | "github824" | "--skip-context-validation -t {datasrc}/1203_12.xml" | | | 824 | 2 | "github824" | "-t {datasrc}/1203_12.xml" | | -| 823 | 1 | "github823" | "-t {datasrc}/mvn_swi_l2_onboardsvymom_20230827_v02_r01.xml" | | -| 823 | 2 | "github823" | "--skip-context-validation -t {datasrc}/mvn_swi_l2_onboardsvymom_20230827_v02_r01.xml" | | -| 822 | | "github822" | "-R pds4.bundle -t {datasrc}" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_referenced_in_label=1" | -| 816 | 1 | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_format_precision_mismatch=1" | -| 816 | 2 | "github681" | "-t {datasrc}/ff_char_warn.xml {datasrc}/ff_del_warn.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1" | -| 816 | 3 | "github816" | "-t {datasrc}/ff_del.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_too_long=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 823 | | "github823" | "--skip-context-validation -t {datasrc}/mvn_swi_l2_onboardsvymom_20230827_v02_r01.xml" | | +| 822 | | "github822" | "-R pds4.bundle -t {datasrc}" | "summary:totalWarnings=1,summary:messageTypes:warning.file.not_referenced_in_label=1" | +| 816 | 1 | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 816 | 2 | "github681" | "-t {datasrc}/ff_char_warn.xml {datasrc}/ff_del_warn.xml" | "summary:totalErrors=1,summary:totalWarnings=6,summary:productValidation:failed=1,summary:messageTypes:error.label.file_areas_duplicated_reference=1,summary:messageTypes:warning.label.context_ref_mismatch=4,summary:messageTypes:warning.table.field_value_format_precision_mismatch=2" | +| 816 | 3 | "github816" | "-t {datasrc}/ff_del.xml" | "summary:totalErrors=1,summary:totalWarnings=4,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=2,summary:messageTypes:warning.table.field_value_too_long=1" | diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index 68e300a68..81e47ee16 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -8,151 +8,151 @@ Feature: < 3.6 | issueNumber | subtest | datasrc | args | expectation | #begin -| 817 | | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_format_precision_mismatch=1" | -| 785 | | "github785" | "--skip-context-validation -t {datasrc}/00038_FGM_RTN.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=1" | +| 817 | | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 785 | | "github785" | "--skip-context-validation -t {datasrc}/00038_FGM_RTN.xml" | "summary:totalWarnings=6,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=6" | | 781 | | "github781" | "--skip-context-validation --skip-context-validation -t {datasrc}/RSS001E01_2031066T0241_EURGRVL20XXXXXXGSFC_COV010.xml" | | -| 755 | 1 | "github755" | "-skip-context-validation -t {datasrc}/m221011.0013.xml {datasrc}/m221011.0014.xml {datasrc}/m221011.0015.xml {datasrc}/m221011.0030.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.file_areas_duplicated_reference=1" | +| 755 | 1 | "github755" | "-skip-context-validation -t {datasrc}/m221011.0013.xml {datasrc}/m221011.0014.xml {datasrc}/m221011.0015.xml {datasrc}/m221011.0030.xml" | "summary:totalErrors=2,summary:productValidation:failed=2,summary:messageTypes:error.label.file_areas_duplicated_reference=2" | | 755 | 2 | "github755" | "-skip-context-validation -t {datasrc}/m221011.0013.xml {datasrc}/m221011.0015.xml" | | -| 754 | | "github754" | "--skip-context-validation -t {datasrc}/Cassini_ISS_CB2_Jupiter_global_map_2.xml" | | -| 693 | | "github693" | "-t {datasrc}/" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | -| 690 | | "github690" | "--skip-context-validation -t {datasrc}/rs_20160518_014000_udsc64_l3_e_v10.xml" | | +| 754 | | "github754" | "--skip-context-validation -t {datasrc}/Cassini_ISS_CB2_Jupiter_global_map_2.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schema=1" | +| 693 | | "github693" | "-t {datasrc}/" | "summary:totalErrors=4,summary:totalWarnings=8,summary:productValidation:failed=4,summary:messageTypes:error.pdf.file.not_pdfa_compliant=4,summary:messageTypes:warning.label.context_ref_mismatch=8" | +| 690 | | "github690" | "--skip-context-validation -t {datasrc}/rs_20160518_014000_udsc64_l3_e_v10.xml" | "summary:totalWarnings=888,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=888" | | 684 | 1 | "github684" | "--skip-context-validation -t {datasrc}/example_params_noFileSize.xml" | | | 684 | 2 | "github684" | "--skip-context-validation -t {datasrc}/example_params_wFileSize.xml" | | -| 683 | | "github614" | "-t {datasrc}/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.data_objects.out_of_order=1" | -| 681 | 1 | "github681" | "-t {datasrc}/ff_char.xml {datasrc}/ff_del.xml" | | -| 681 | 2 | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_format_precision_mismatch=1" | -| 681 | 3 | "github681" | "-t {datasrc}/ff_char_warn.xml {datasrc}/ff_del_warn.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1" | +| 683 | | "github614" | "-t {datasrc}/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | "summary:totalWarnings=4,summary:messageTypes:warning.data_objects.out_of_order=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | +| 681 | 1 | "github681" | "-t {datasrc}/ff_char.xml {datasrc}/ff_del.xml" | "summary:totalErrors=1,summary:totalWarnings=4,summary:productValidation:failed=1,summary:messageTypes:error.label.file_areas_duplicated_reference=1,summary:messageTypes:warning.label.context_ref_mismatch=4" | +| 681 | 2 | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 681 | 3 | "github681" | "-t {datasrc}/ff_char_warn.xml {datasrc}/ff_del_warn.xml" | "summary:totalErrors=1,summary:totalWarnings=6,summary:productValidation:failed=1,summary:messageTypes:error.label.file_areas_duplicated_reference=1,summary:messageTypes:warning.label.context_ref_mismatch=4,summary:messageTypes:warning.table.field_value_format_precision_mismatch=2" | | 680 | 1 | "github680" | "--skip-context-validation -t {datasrc}/ORB12_EUR_EPHIO_reclen96.xml" | | -| 680 | 2 | "github680" | "--skip-context-validation -t {datasrc}/ORB12_EUR_EPHIO_reclen95.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.record_length_mismatch=1" | +| 680 | 2 | "github680" | "--skip-context-validation -t {datasrc}/ORB12_EUR_EPHIO_reclen95.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.record_length_mismatch=1" | | 671 | | "github671" | "--skip-context-validation -t {datasrc} -R pds4.bundle" | | | 652 | | "github652" | "--skip-context-validation -t {datasrc}" | | | 651 | | "github651" | "-t {datasrc}/M1431146123CC.xml" | | -| 649 | | "github597" | "-R pds4.collection --skip-context-validation -t {datasrc}/spice_kernels/collection_spice_kernels_v003.xml" | | -| 644 | | "github644" | "-t {datasrc}/scam_0072_0673327336_185_cp2_scam01072_scct_41_irsalign_____04p04.xml" | | -| 631 | | "github631" | "-v 1 -t {datasrc}/hyb2_tir_20180629_075501_l1.xml" | | -| 628 | | "github628" | "--skip-content-validation --disable-context-mismatch-warnings -t {datasrc}/mp2_flat_20061109.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1" | -| 617 | | "github617" | "--skip-content-validation -t {datasrc}/uvis_euv_2005_159_solar_time_series_ingress.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1" | +| 649 | | "github597" | "-R pds4.collection --skip-context-validation -t {datasrc}/spice_kernels/collection_spice_kernels_v003.xml" | "summary:productValidation:skipped=2" | +| 644 | | "github644" | "-t {datasrc}/scam_0072_0673327336_185_cp2_scam01072_scct_41_irsalign_____04p04.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=1" | +| 631 | | "github631" | "-v 1 -t {datasrc}/hyb2_tir_20180629_075501_l1.xml" | "summary:totalWarnings=2,summary:messageTypes:info.label.context_ref_found=4,summary:messageTypes:info.label.filesize_matches=1,summary:messageTypes:info.label.local_identifier_found=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 628 | | "github628" | "--skip-content-validation --disable-context-mismatch-warnings -t {datasrc}/mp2_flat_20061109.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schema=1" | +| 617 | | "github617" | "--skip-content-validation -t {datasrc}/uvis_euv_2005_159_solar_time_series_ingress.xml" | "summary:totalWarnings=1,summary:messageTypes:error.validation.file_naming_problem=1" | | 616 | | "github616" | "--skip-context-validation -t {datasrc}/mre_cal_sc_ttcp_delay_schulte_01s_2021069.xml" | | -| 614 | | "github614" | "-t {datasrc}/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | | -| 611 | | "github611" | "-t {datasrc}/GRD-L1A-150313-150319_150625-BGO.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=1" | +| 614 | | "github614" | "-t {datasrc}/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | "summary:totalWarnings=4,summary:messageTypes:warning.data_objects.out_of_order=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | +| 611 | | "github611" | "-t {datasrc}/GRD-L1A-150313-150319_150625-BGO.xml" | "summary:totalWarnings=9,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=9" | | 605 | | "github605" | "--skip-context-validation -t {datasrc}/video_and_audio.xml" | | | 604 | | "github604" | "--skip-context-validation -t {datasrc}/video.xml" | | | 599 | 1 | "github599" | "--skip-context-validation -t {datasrc}/AREA_Camelot_1radii.xml" | | | 599 | 2 | "github599" | "--skip-context-validation -x {datasrc}/PDS4_PDS_1I00.xsd -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1" | | 599 | 3 | "github599" | "--skip-context-validation -S {datasrc}/PDS4_PDS_1I00.sch -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1" | | 599 | 4 | "github599" | "--skip-context-validation -S {datasrc}/PDS4_PDS_1I00.sch -x {datasrc}/PDS4_PDS_1I00.xsd -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1" | -| 597 | 1 | "github597" | "--skip-context-validation -R pds4.bundle -t {datasrc}" | | +| 597 | 1 | "github597" | "--skip-context-validation -R pds4.bundle -t {datasrc}" | "summary:totalWarnings=70,summary:productValidation:skipped=4,summary:messageTypes:warning.file.not_referenced_in_label=1,summary:messageTypes:warning.integrity.reference_not_found=69" | | 597 | 2 | "github562" | "-t {datasrc}" | | | 597 | 3 | "github561" | "-R pds4.collection --label-extension lblx --skip-context-validation -t {datasrc}" | | -| 535 | 1 | "github535" | "-t {datasrc}/uvis_euv_2008_003_solar_time_series_ingress.xml --complete-descriptions" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.data.not_described=1" | -| 535 | 2 | "github535" | "-t {datasrc}/uvis_euv_2016_288_solar_time_series_egress.xml --complete-descriptions" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.table_definition_problem=1" | +| 535 | 1 | "github535" | "-t {datasrc}/uvis_euv_2008_003_solar_time_series_ingress.xml --complete-descriptions" | "summary:totalWarnings=4,summary:messageTypes:warning.data.not_described=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | +| 535 | 2 | "github535" | "-t {datasrc}/uvis_euv_2016_288_solar_time_series_egress.xml --complete-descriptions" | "summary:totalErrors=1,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.table_definition_problem=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | | 533 | | "github533" | "--skip-content-validation --skip-context-validation -t {datasrc}/gggrx_1200a_shb_l420.xml" | | | 531 | 1 | "github531" | "--skip-context-validation -t {datasrc}/success/b.xml" | | -| 531 | 2 | "github531" | "--skip-context-validation -t {datasrc}/fail/b.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.table_definition_problem=1" | +| 531 | 2 | "github531" | "--skip-context-validation -t {datasrc}/fail/b.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.label.table_definition_problem=1" | | 529 | | "github529" | "--skip-context-validation -t {datasrc}/success/m0154651923f6_2p_cif_gbl.xml" | | | 514 | | "github514" | "--skip-context-validation -t {datasrc}/success/8array.xml" | | | 499 | 1 | "github499" | "--skip-context-validation -t {datasrc}/success/M7_217_044546_N.xml" | | -| 499 | 2 | "github499" | "--skip-context-validation -t {datasrc}/fail/M7_217_044546_N.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_CRLF=1" | +| 499 | 2 | "github499" | "--skip-context-validation -t {datasrc}/fail/M7_217_044546_N.xml" | "summary:totalErrors=25,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_CRLF=25" | | 482 | 1 | "github482" | "--skip-context-validation -e lblx -R pds4.folder -t {datasrc}/bundle1/" | | | 482 | 2 | "github482" | "--skip-context-validation -R pds4.folder -t {datasrc}/bundle2/" | | -| 482 | 3 | "github482" | "--skip-context-validation -R pds4.bundle -e lblx -t {datasrc}/bundle1/bundle_kaguya_derived.lblx" | | -| 482 | 4 | "github482" | "--skip-context-validation -R pds4.bundle -t {datasrc}/bundle2/bundle_kaguya_derived.xml" | | -| 482 | 5 | "github482" | "--skip-context-validation -R pds4.folder -t {datasrc}/bundle1/" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.execution.no_products_found=1" | -| 482 | 6 | "github482" | "--skip-context-validation -R pds4.folder -e lblx -t {datasrc}/bundle2/" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.execution.no_products_found=1" | +| 482 | 3 | "github482" | "--skip-context-validation -R pds4.bundle -e lblx -t {datasrc}/bundle1/bundle_kaguya_derived.lblx" | "summary:totalWarnings=3,summary:messageTypes:warning.integrity.reference_not_found=3" | +| 482 | 4 | "github482" | "--skip-context-validation -R pds4.bundle -t {datasrc}/bundle2/bundle_kaguya_derived.xml" | "summary:totalWarnings=4,summary:messageTypes:warning.file.not_referenced_in_label=1,summary:messageTypes:warning.integrity.reference_not_found=3" | +| 482 | 5 | "github482" | "--skip-context-validation -R pds4.folder -t {datasrc}/bundle1/" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.execution.no_products_found=1" | +| 482 | 6 | "github482" | "--skip-context-validation -R pds4.folder -e lblx -t {datasrc}/bundle2/" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.execution.no_products_found=1" | | 480 | 1 | "github480" | "--skip-context-validation -t {datasrc}/test_success.xml --skip-content-validation" | | -| 480 | 2 | "github480" | "-t {datasrc}/test_fail_header_offset.xml --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | -| 480 | 3 | "github480" | "-t {datasrc}/test_fail_table_offset.xml --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | +| 480 | 2 | "github480" | "-t {datasrc}/test_fail_header_offset.xml --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 480 | 3 | "github480" | "-t {datasrc}/test_fail_table_offset.xml --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | | 469 | 1 | "github469" | "--skip-context-validation -t {datasrc}/201401031400_rdr.xml" | | -| 469 | 2 | "github469" | "--skip-context-validation -t {datasrc}/201401031400_rdr_max_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_out_of_min_max_range=1" | -| 469 | 3 | "github469" | "--skip-context-validation -t {datasrc}/201401031400_rdr_min_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_out_of_min_max_range=1" | -| 467 | 1 | "github476" | "-R pds4.label -t {datasrc}/bundle_mars2020_spice_v003.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=1" | -| 467 | 2 | "github476" | "-R pds4.label -t {datasrc}/collection_lab.hydrocarbon_spectra_data.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=1" | -| 447 | | "github447" | "-t {datasrc}/document/" | | +| 469 | 2 | "github469" | "--skip-context-validation -t {datasrc}/201401031400_rdr_max_FAIL.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_out_of_min_max_range=1" | +| 469 | 3 | "github469" | "--skip-context-validation -t {datasrc}/201401031400_rdr_min_FAIL.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_out_of_min_max_range=3" | +| 467 | 1 | "github476" | "-R pds4.label -t {datasrc}/bundle_mars2020_spice_v003.xml" | "summary:totalErrors=2,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 467 | 2 | "github476" | "-R pds4.label -t {datasrc}/collection_lab.hydrocarbon_spectra_data.xml" | "summary:totalErrors=1,summary:totalWarnings=8,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=1,summary:messageTypes:warning.label.context_ref_mismatch=8" | +| 447 | | "github447" | "-t {datasrc}/document/" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | | 444 | | "github444" | "--skip-context-validation -t {datasrc}/odya_bundle/bundle_ody_accel.xml" | | | 435 | | "github435" | "-R pds4.label -t {datasrc}/flat_w.xml" | | -| 432 | | "github432" | "-R pds4.bundle -t {datasrc}/bundle-voyager1-pls-sat-1.0.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.reference_not_found=1" | +| 432 | | "github432" | "-R pds4.bundle -t {datasrc}/bundle-voyager1-pls-sat-1.0.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.integrity.reference_not_found=1" | | 429 | | "github429" | "-R pds4.label --disable-context-mismatch-warnings -t {datasrc}/EPPS_EDR_SIS.xml" | | -| 427 | | "github427" | "--skip-context-validation -t {datasrc}/dir%20with%20spaces/rs_20160518_014000_udsc64_l3_e_v10.xml" | | +| 427 | | "github427" | "--skip-context-validation -t {datasrc}/dir%20with%20spaces/rs_20160518_014000_udsc64_l3_e_v10.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=2" | | 424 | 1 | "github424" | "-R pds4.label -t {datasrc}/asurpif_photos_amboycrater_v1.0_20211021_sip_v1.0.xml" | | | 424 | 2 | "github424" | "-R pds4.label -t {datasrc}/asurpif_photos_amboycrater_v1.0_20211021_aip_v1.0.xml" | | | 419 | | "github419" | "-R pds4.label --disable-context-mismatch-warnings -t {datasrc}/bundle_astromat_chem.xml" | | -| 416 | 1 | "github416" | "-R pds4.label -t {datasrc}/mix_raw_calib_mixs-c_sw_offset_table_20160301.xml" | | -| 416 | 2 | "github416" | "-R pds4.label -t {datasrc}/mix_raw_calib_mixs-c_sw_offset_table_20160301_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | -| 416 | 3 | "github416" | "-R pds4.label -t {datasrc}/phe_misc_temperature_reference_20190524.xml" | | -| 416 | 4 | "github416" | "-R pds4.label -t {datasrc}/phe_misc_temperature_reference_20190524_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | -| 408 | | "github408" | "-R pds4.bundle --skip-content-validation -t {datasrc}/valid/bundle_insight_seis.xml" | | -| 401 | | "github401" | "-R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.validation.invalid_field_value=1" | +| 416 | 1 | "github416" | "-R pds4.label -t {datasrc}/mix_raw_calib_mixs-c_sw_offset_table_20160301.xml" | "summary:totalWarnings=5,summary:messageTypes:warning.label.context_ref_mismatch=5" | +| 416 | 2 | "github416" | "-R pds4.label -t {datasrc}/mix_raw_calib_mixs-c_sw_offset_table_20160301_invalid.xml" | "summary:totalErrors=5,summary:totalWarnings=5,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.table.field_value_data_type_mismatch=2,summary:messageTypes:warning.label.context_ref_mismatch=5" | +| 416 | 3 | "github416" | "-R pds4.label -t {datasrc}/phe_misc_temperature_reference_20190524.xml" | "summary:totalWarnings=5,summary:messageTypes:warning.label.context_ref_mismatch=5" | +| 416 | 4 | "github416" | "-R pds4.label -t {datasrc}/phe_misc_temperature_reference_20190524_invalid.xml" | "summary:totalErrors=866,summary:totalWarnings=293,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.table.field_value_data_type_mismatch=575,summary:messageTypes:error.table.missing_CRLF=288,summary:messageTypes:warning.label.context_ref_mismatch=5,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=288" | +| 408 | | "github408" | "-R pds4.bundle --skip-content-validation -t {datasrc}/valid/bundle_insight_seis.xml" | "summary:totalWarnings=17,summary:productValidation:skipped=2,summary:messageTypes:warning.integrity.member_not_found=14,summary:messageTypes:warning.label.context_ref_mismatch=3" | +| 401 | | "github401" | "-R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=5,summary:totalWarnings=2,summary:productValidation:failed=5,summary:productValidation:skipped=1,summary:messageTypes:error.label.schema=1,summary:messageTypes:error.table.records_mismatch=1,summary:messageTypes:error.validation.invalid_field_value=3,summary:messageTypes:warning.integrity.member_not_found=1,summary:messageTypes:warning.integrity.unreferenced_member=1" | | 392 | 1 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/test1_valid.xml" | | -| 392 | 2 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/test1_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=1" | -| 392 | 3 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/INVALID_odf07155_msgr_11.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=1" | -| 380 | 1 | "github380" | "-R pds4.label --skip-context-validation --skip-context-reference-check -t {resourceDir}/github379/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | -| 380 | 2 | "github380" | "-R pds4.label --debug-mode --skip-context-validation --skip-context-reference-check -t {resourceDir}/github379/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | -| 379 | | "github379" | "-R pds4.label --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | +| 392 | 2 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/test1_invalid.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=1" | +| 392 | 3 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/INVALID_odf07155_msgr_11.xml" | "summary:totalErrors=2,summary:productValidation:failed=1,summary:messageTypes:error.table.bad_field_read=1,summary:messageTypes:error.table.field_value_overlap=1" | +| 380 | 1 | "github379" | "-R pds4.label --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | +| 380 | 2 | "github379" | "-R pds4.label --debug-mode --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | +| 379 | | "github379" | "-R pds4.label --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=2,summary:messageTypes:error.table.records_mismatch=1" | | 376 | | "github376" | "-R pds4.label -M src/test/resources/github376/urn-nasa-pds-duxbury_pdart14_mariner69.md5 -t {datasrc}/bundle_duxbury_pdart14_mariner69.xml" | | | 375 | | "github375" | "-R pds4.bundle --skip-content-validation --skip-context-validation -t {datasrc}/h/bundle_gbo.ast.primass-l.spectra.xml" | | -| 373 | 1 | "github373" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -t {resourceDir}/github240/valid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | -| 373 | 2 | "github373" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -t {resourceDir}/github240/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | -| 368 | | "github368" | "-R pds4.bundle --skip-context-reference-check --skip-product-validation -t {datasrc}/valid//bundle_kaguya_derived.xml" | | -| 367 | 1 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | -| 367 | 2 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.file.not_jpeg_compliant=1" | -| 367 | 3 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.file.not_png_compliant=1" | -| 367 | 4 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_html_mimetype=1" | -| 367 | 5 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_msword_mimetype=1" | -| 367 | 6 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_msexcel_mimetype=1" | -| 367 | 7 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_latex_mimetype=1" | -| 367 | 8 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | | -| 367 | 9 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1" | -| 367 | 10 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_gif_mimetype=1" | -| 367 | 11 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_tiff_mimetype=1" | -| 367 | 12 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.file.not_mp4_mimetype=1" | -| 366 | 1 | "github366" | "-R pds4.label --skip-context-validation -t {resourceDir}/github164/invalid/document_test_1_pdf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | -| 366 | 2 | "github366" | "-R pds4.label -skip-context-validation -t {resourceDir}/github164/valid/document_pdfa_valid.xml" | | -| 366 | 3 | "github366" | "-R pds4.label --skip-content-validation --skip-context-validation -t {resourceDir}/github164/valid/document_pdfa_valid.xml" | | +| 373 | 1 | "github240" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -t {datasrc}/valid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | +| 373 | 2 | "github240" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | +| 368 | | "github368" | "-R pds4.bundle --skip-context-reference-check --skip-product-validation -t {datasrc}/valid//bundle_kaguya_derived.xml" | "summary:totalWarnings=3,summary:productValidation:skipped=1,summary:messageTypes:warning.integrity.member_not_found=1,summary:messageTypes:warning.integrity.reference_not_found=1,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 367 | 1 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 367 | 2 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 367 | 3 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 367 | 4 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 367 | 5 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 367 | 6 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 367 | 7 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 367 | 8 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 367 | 9 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 367 | 10 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 367 | 11 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 367 | 12 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 366 | 1 | "github164" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/document_test_1_pdf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 366 | 2 | "github164" | "-R pds4.label -skip-context-validation -t {datasrc}/valid/document_pdfa_valid.xml" | | +| 366 | 3 | "github164" | "-R pds4.label --skip-content-validation --skip-context-validation -t {datasrc}/valid/document_pdfa_valid.xml" | | | 364 | 1 | "github364" | "-R pds4.label --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}//MIS000XXX_2021001T000000_DEV0_2021001T0000_RAW010.XML" | | -| 364 | 2 | "github364" | "-R pds4.label --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}//MIS000XXX_2021001T000000_DEV0_2021001T0000_RAW010" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.bad_extension=1" | -| 357 | 1 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata.xml" | "summary:totalErrors=0,summary:totalWarnings=2" | -| 357 | 2 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_2240_records.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.validation.invalid_field_value=1" | -| 357 | 3 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_2250_records.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.records_mismatch=1" | -| 357 | 4 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_4_records.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.validation.invalid_field_value=1" | -| 356 | 1 | "github356" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation -t {resourceDir}/github240/valid/bundle_kaguya_derived.xml" | | -| 356 | 2 | "github356" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation -t {resourceDir}/github240/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.sub_directory.unallowed_name=1" | +| 364 | 2 | "github364" | "-R pds4.label --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}//MIS000XXX_2021001T000000_DEV0_2021001T0000_RAW010" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.label.bad_extension=1" | +| 357 | 1 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata.xml" | "summary:totalErrors=2,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.table.bad_field_read=1,summary:messageTypes:error.validation.invalid_field_value=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 357 | 2 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_2240_records.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.validation.invalid_field_value=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 357 | 3 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_2250_records.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.table.records_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 357 | 4 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_4_records.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.validation.invalid_field_value=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 356 | 1 | "github240" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}/valid/bundle_kaguya_derived.xml" | | +| 356 | 2 | "github240" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.sub_directory.unallowed_name=1" | | 349 | 1 | "github349" | "-R pds4.label --skip-context-validation -t {datasrc}/valid/datasetgood.xml" | | | 349 | 2 | "github349" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/datasetbad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.directory.unallowed_name=1" | -| 345 | 1 | "github345" | "-R pds4.label -t {datasrc}/astro_sample_t.xml" | | -| 345 | 2 | "github345" | "-R pds4.label -t {datasrc}/astro_sample_data_t.xml" | | -| 344 | | "github344" | "-R pds4.bundle -t {datasrc}/bundle.xml" | | +| 345 | 1 | "github345" | "-R pds4.label -t {datasrc}/astro_sample_t.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 345 | 2 | "github345" | "-R pds4.label -t {datasrc}/astro_sample_data_t.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 344 | | "github344" | "-R pds4.bundle -t {datasrc}/bundle.xml" | "summary:totalWarnings=21,summary:messageTypes:warning.integrity.reference_not_found=7,summary:messageTypes:warning.label.context_ref_mismatch=14" | | 343 | 1 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | | -| 343 | 2 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs_bad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.array.value_out_of_min_max_range=1" | -| 343 | 3 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs_bad_noname.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.array.value_out_of_min_max_range=1" | +| 343 | 2 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs_bad.xml" | "summary:totalErrors=14,summary:productValidation:failed=1,summary:messageTypes:error.array.value_out_of_min_max_range=14" | +| 343 | 3 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs_bad_noname.xml" | "summary:totalErrors=14,summary:productValidation:failed=1,summary:messageTypes:error.array.value_out_of_min_max_range=14" | | 335 | 1 | "github335" | "--skip-context-validation -R pds4.label -t {datasrc}/minimal_test_product.xml" | | | 335 | 2 | "github335" | "--skip-context-validation -t {datasrc}/" | | -| 334 | 1 | "github334" | "-R pds4.label -t {datasrc}/valid/pvoro_graph_eden_k91_3a_01_v01_r00.xml" | | -| 334 | 2 | "github334" | "-R pds4.label -t {datasrc}/invalid/pvoro_graph_eden_k91_3a_01_v01_r00.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | -| 328 | 1 | "github328" | "-R pds4.bundle -t {datasrc}/valid/bundle_misc.xml" | | -| 328 | 2 | "github328" | "-R pds4.bundle -t {datasrc}/invalid/bundle_misc.xml" | | -| 325 | | "github325" | "-R pds4.label -t {datasrc}/crs009x.xml" | | -| 310 | 1 | "github310" | "-R pds4.bundle --skip-content-validation -t {datasrc}/valid/bundle.xml" | | -| 310 | 2 | "github310" | "-R pds4.bundle --skip-content-validation -t {datasrc}/invalid/bundle.xml" | | -| 308 | 1 | "github308" | "-R pds4.bundle -t {datasrc}/valid/bundle_kaguya_derived.xml" | | -| 308 | 2 | "github308" | "-R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.unreferenced_member=1" | -| 303 | 1 | "github303" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.array.bad_file_read=1" | +| 334 | 1 | "github334" | "-R pds4.label -t {datasrc}/valid/pvoro_graph_eden_k91_3a_01_v01_r00.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 334 | 2 | "github334" | "-R pds4.label -t {datasrc}/invalid/pvoro_graph_eden_k91_3a_01_v01_r00.xml" | "summary:totalErrors=3,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=2,summary:messageTypes:error.label.schematron=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 328 | 1 | "github328" | "-R pds4.bundle -t {datasrc}/valid/bundle_misc.xml" | "summary:totalErrors=1,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 328 | 2 | "github328" | "-R pds4.bundle -t {datasrc}/invalid/bundle_misc.xml" | "summary:totalErrors=1,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 325 | | "github325" | "-R pds4.label -t {datasrc}/crs009x.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 310 | 1 | "github310" | "-R pds4.bundle --skip-content-validation -t {datasrc}/valid/bundle.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=1" | +| 310 | 2 | "github310" | "-R pds4.bundle --skip-content-validation -t {datasrc}/invalid/bundle.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=1" | +| 308 | 1 | "github308" | "-R pds4.bundle -t {datasrc}/valid/bundle_kaguya_derived.xml" | "summary:totalWarnings=5,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.unreferenced_member=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 308 | 2 | "github308" | "-R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalWarnings=8,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 303 | 1 | "github303" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.array.bad_file_read=1" | | 303 | 2 | "github303" | "-R pds4.label --skip-context-validation -t {datasrc}/valid/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | | | 299 | 1 | "github299" | "-R pds4.label -t {datasrc}/valid/gbo_ast_fieber-beyer_spectra_v2.0_20210211_aip_v1.0.xml" | | -| 299 | 2 | "github299" | "-R pds4.label -t {datasrc}/invalid/gbo_ast_fieber-beyer_spectra_v2.0_20210211_aip_v1.0.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | +| 299 | 2 | "github299" | "-R pds4.label -t {datasrc}/invalid/gbo_ast_fieber-beyer_spectra_v2.0_20210211_aip_v1.0.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=3" | | 298 | 1 | "github298" | "-R pds4.label --skip-context-validation {datasrc}/valid/sentences.xml" | | | 298 | 2 | "github298" | "-R pds4.label --skip-context-validation {datasrc}/invalid/sentences.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.validation.invalid_field_value=1" | | 297 | 1 | "github297" | "--skip-context-validation -R pds4.label -t {datasrc}/valid/rimfax_rdr_0081_example.xml" | | -| 297 | 2 | "github297" | "--skip-context-validation -R pds4.label -t {datasrc}/invalid/rimfax_rdr_0081_example.xml" | "summary:totalErrors=0,summary:totalWarnings=1" | +| 297 | 2 | "github297" | "--skip-context-validation -R pds4.label -t {datasrc}/invalid/rimfax_rdr_0081_example.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_out_of_min_max_range=1" | | 294 | 1 | "github294" | "--skip-context-validation -R pds4.label -t {datasrc}/valid/minmax-error.xml" | | -| 294 | 2 | "github294" | "--skip-context-validation -R pds4.label -t {datasrc}/invalid/minmax-error.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.records_mismatch=1" | +| 294 | 2 | "github294" | "--skip-context-validation -R pds4.label -t {datasrc}/invalid/minmax-error.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.records_mismatch=1" | | 292 | 1 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_VALID.xml" | | | 292 | 2 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_VALID.xml" | | | 292 | 3 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_LF=1" | | 292 | 4 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_CRLF=1" | -| 292 | 5 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_lf.xml" | | -| 292 | 6 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_crlf.xml" | | -| 292 | 7 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_lf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_LF=1" | -| 292 | 8 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_crlf.xml" | "summary:totalErrors=0,summary:totalWarnings=4" | +| 292 | 5 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_lf.xml" | "summary:totalErrors=7,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=2" | +| 292 | 6 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_crlf.xml" | "summary:totalErrors=7,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=2" | +| 292 | 7 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_lf.xml" | "summary:totalErrors=17,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=2,summary:messageTypes:error.table.field_value_data_type_mismatch=6,summary:messageTypes:error.table.missing_LF=4" | +| 292 | 8 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_crlf.xml" | "summary:totalErrors=8,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=2,summary:messageTypes:error.table.record_length_mismatch=1" | | 292 | 9 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_VALID.xml" | | | 292 | 10 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_VALID.xml" | | | 292 | 11 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_LF=1" | @@ -191,37 +191,37 @@ Feature: < 3.6 | 137 | 1 | "github137" | "-t {datasrc}/delimited_table_good.xml" | | | 137 | 2 | "github137" | "-t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | | 87 | | "github87" | "-R pds4.label --skip-content-validation -t {datasrc}/2t126632959btr0200p3002n0a1.xml {datasrc}/2t126646972btr0200p3001n0a1.xml -C {datasink}/catalog.xml" | | -| 84 | 1 | "github84" | "--no-data-check -c {datasrc}/config.txt -t {resourceDir}/github71/ELE_MOM.xml" | | -| 84 | 2 | "github84" | "--skip-content-validation --skip-context-validation -c {datasrc}/config.txt -t {resourceDir}/github71/ELE_MOM.xml" | | -| 71 | 1 | "github71" | "-C {datasrc}/catalog.xml --skip-content-validation --skip-context-validation -t {datasrc}/ELE_MOM.xml" | | -| 71 | 2 | "github71" | "-C {datasrc}/catalog.xml --skip-context-validation -t {datasrc}/ELE_MOM_2.xml" | | +| 84 | 1 | "github84" | "--no-data-check -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | | +| 84 | 2 | "github84" | "--skip-content-validation --skip-context-validation -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | | +| 71 | 1 | "github71" | "-C {datasink}/catalog.xml --skip-content-validation --skip-context-validation -t {datasrc}/ELE_MOM.xml" | "summary:totalErrors=9,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=5,summary:messageTypes:warning.label.schema=3" | +| 71 | 2 | "github71" | "-C {datasink}/catalog.xml --skip-context-validation -t {datasrc}/ELE_MOM_2.xml" | "summary:totalErrors=9,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=5,summary:messageTypes:warning.label.schema=3" | | 62 | 1 | "github62" | "-v1 --no-data-check -t {datasrc}/ele_mom_tblChar.xml" | "summary:totalErrors=0,summary:totalWarnings=0,summary:messageTypes:info.label.context_ref_found=1" | | 62 | 2 | "github62" | "-v1 --no-data-check -t {datasrc}/spacecraft.orex_1.1.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:info.label.context_ref_found=1,summary:messageTypes:error.label.context_ref_not_found=1" | | 57 | 1 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57a_valid.xml" | "summary:totalErrors=5,summary:totalWarnings=0,summary:productValidation:failed=5" | | 57 | 2 | "github57" | "-R pds4.label --skip-context-validation -t {datasrc}/validate_57a_valid.xml" | | | 57 | 3 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57a_invalid.xml" | "summary:totalErrors=0,summary:totalWarnings=4" | -| 57 | 4 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57c.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.table.characters_between_fields=1" | +| 57 | 4 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57c.xml" | "summary:totalErrors=5,summary:totalWarnings=5,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.unresolvable_resource=1,summary:messageTypes:warning.table.characters_between_fields=5" | | 51 | 1 | "github51" | "--skip-content-validation --skip-context-validation -t {datasrc}/valid" | | | 51 | 2 | "github51" | "-R pds4.bundle --alternate_file_paths src/test/resources/github51_additionals/additional_dir1/data_spectra,src/test/resources/github51_additionals/additional_dir2/data_spectra --skip-product-validation --skip-content-validation -t {datasrc}/valid" | "summary:totalErrors=0,summary:totalWarnings=0,summary:messageTypes:info.validation.general=1" | -| 50 | 1 | "github50" | "--skip-content-validation --skip-context-validation --target-manifest {datasink}/target-manifest.xml" | | -| 50 | 2 | "github50" | "--target-manifest {datasink}/target-manifest.xml -t {datasrc}/ele_evt_8hr_orbit_2014-2015.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.missing_file=1" | +| 50 | 1 | "github50" | "--skip-content-validation --skip-context-validation --target-manifest {datasrc}/target-manifest.xml" | | +| 50 | 2 | "github50" | "--target-manifest {datasrc}/target-manifest.xml -t {datasrc}/ele_evt_8hr_orbit_2014-2015.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.missing_file=1" | | 47 | 1 | "github47" | "--disable-context-mismatch-warnings -R pds4.label --skip-content-validation --skip-context-validation {datasrc}/test_context_products.xml" | | | 47 | 2 | "github47" | "-v1 --skip-content-validation --disable-context-mismatch-warnings -R pds4.label {datasrc}/test_context_products.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1" | | 28 | 1 | "github28" | "{datasrc}/test_add_context_products.xml" | "summary:totalErrors=0,summary:totalWarnings=1" | -| 28 | 2 | "github28" | "--add-context-products {datasrc}/new_context.json -t {datasrc}/test_add_context_products.xml" | | +| 28 | 2 | "github28" | "--add-context-products {datasrc}/new_context.json -t {datasrc}/test_add_context_products.xml" | "summary:totalErrors=2,summary:totalWarnings=4,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=1,summary:messageTypes:warning.label.context_ref_mismatch=3,summary:messageTypes:warning.product_not_registered=1" | | 17 | 1 | "github17" | "--skip-context-validation -R pds4.label -t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=3,summary:totalWarnings=0,summary:productValidation:failed=3" | | 17 | 2 | "github17" | "--skip-context-validation -R pds4.label -t {datasrc}/delimited_table_good.xml" | | | 15 | 1 | "github15" | "-v1 --disable-context-mismatch-warnings -R pds4.label -t {datasrc}/test_check-pass_context_products.xml" | | -| 15 | 2 | "github15" | "-v1 --disable-context-mismatch-warnings {datasrc}/test_check-no-pass_context_products.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:info.label.context_ref_mismatch=1" | +| 15 | 2 | "github15" | "-v1 --disable-context-mismatch-warnings {datasrc}/test_check-no-pass_context_products.xml" | "summary:totalErrors=25,summary:productValidation:failed=1,summary:messageTypes:error.array.bad_file_read=20,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.unresolvable_resource=1" | | 11 | 1 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_bad_1.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | | 11 | 2 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_bad_2.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | | 11 | 3 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_good.xml" | | -| 9 | 1 | "github09" | "-t {datasrc}/minimal_test_product_good2.xml" | | -| 9 | 2 | "github09" | "-t {datasrc}/minimal_test_product_good.xml" | | -| 9 | 3 | "github09" | "-t {datasrc}/csv_empty_field_test_VALID.xml" | | -| 9 | 4 | "github09" | "-t {datasrc}/csv_empty_field_test_INVALID.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | -| 9 | 5 | "github09" | "-t {datasrc}/val9a.xml.xml" | | -| 9 | 6 | "github09" | "-t {datasrc}/val9b.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 9 | 1 | "github09" | "-t {datasrc}/minimal_test_product_good2.xml" | "summary:totalErrors=5,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.unresolvable_resource=1" | +| 9 | 2 | "github09" | "-t {datasrc}/minimal_test_product_good.xml" | "summary:totalErrors=5,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.unresolvable_resource=1" | +| 9 | 3 | "github09" | "-t {datasrc}/csv_empty_field_test_VALID.xml" | "summary:totalErrors=2,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=1" | +| 9 | 4 | "github09" | "-t {datasrc}/csv_empty_field_test_INVALID.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 9 | 5 | "github09" | "-t {datasrc}/val9a.xml.xml" | "summary:totalErrors=2,summary:productValidation:failed=2,summary:messageTypes:error.execution.no_products_found=2" | +| 9 | 6 | "github09" | "-t {datasrc}/val9b.xml" | "summary:totalErrors=3,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | | 7 | | "github7" | "--skip-context-validation -t {datasrc}/ch2_sar_ncxs_20090107t163003745_d_sli_xx_fp_hh_pb1_19111.xml" | | | 6 | 1 | "github6" | "--skip-context-validation -R pds4.bundle {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=3,summary:totalWarnings=0,summary:productValidation:failed=3,summary:messageTypes:error.file.name_has_invalid_characters=1,summary:messageTypes:error.file.unallowed_base_name=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | | 6 | 2 | "github6" | "-R pds4.bundle --skip-context-validation {datasrc}/invalid/bundle_kaguya_derived_7.xml" | "summary:totalErrors=0,summary:totalWarnings=5,summary:messageTypes:warning.integrity.unreferenced_member=1,summary:messageTypes:warning.file.not_referenced_in_label=1,summary:messageTypes:warning.integrity.reference_not_found=1,summary:messageTypes:warning.integrity.member_not_found=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | From ab52fb83f9ae82357e3f1dd4e721eb525a78082f Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Thu, 23 Jan 2025 15:09:47 -0800 Subject: [PATCH 07/19] another fix --- src/test/resources/features/pre.3.6.x.feature | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index 81e47ee16..60b9f8e5b 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -85,13 +85,13 @@ Feature: < 3.6 | 392 | 1 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/test1_valid.xml" | | | 392 | 2 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/test1_invalid.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=1" | | 392 | 3 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/INVALID_odf07155_msgr_11.xml" | "summary:totalErrors=2,summary:productValidation:failed=1,summary:messageTypes:error.table.bad_field_read=1,summary:messageTypes:error.table.field_value_overlap=1" | -| 380 | 1 | "github379" | "-R pds4.label --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | -| 380 | 2 | "github379" | "-R pds4.label --debug-mode --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=0,summary:totalWarnings=3" | +| 380 | 1 | "github379" | "-R pds4.label --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=2,summary:messageTypes:error.table.records_mismatch=1" | +| 380 | 2 | "github379" | "-R pds4.label --debug-mode --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:debug.table.field_value_matches_data_type=92,summary:messageTypes:debug.table.record_has_CRLF=1,summary:messageTypes:debug.table.record_match=1,summary:messageTypes:error.table.field_value_overlap=2,summary:messageTypes:error.table.records_mismatch=1,summary:messageTypes:info.label.checksum_matches=1,summary:messageTypes:info.label.filesize_matches=1,summary:messageTypes:info.table.blank_field_value=1" | | 379 | | "github379" | "-R pds4.label --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=2,summary:messageTypes:error.table.records_mismatch=1" | | 376 | | "github376" | "-R pds4.label -M src/test/resources/github376/urn-nasa-pds-duxbury_pdart14_mariner69.md5 -t {datasrc}/bundle_duxbury_pdart14_mariner69.xml" | | | 375 | | "github375" | "-R pds4.bundle --skip-content-validation --skip-context-validation -t {datasrc}/h/bundle_gbo.ast.primass-l.spectra.xml" | | -| 373 | 1 | "github240" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -t {datasrc}/valid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | -| 373 | 2 | "github240" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | +| 373 | 1 | "github240" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -t {datasrc}/valid/bundle_kaguya_derived.xml" | "summary:totalWarnings=5,summary:productValidation:skipped=6,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 373 | 2 | "github240" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalWarnings=8,summary:productValidation:skipped=6,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1,summary:messageTypes:warning.sub_directory.unallowed_name=3" | | 368 | | "github368" | "-R pds4.bundle --skip-context-reference-check --skip-product-validation -t {datasrc}/valid//bundle_kaguya_derived.xml" | "summary:totalWarnings=3,summary:productValidation:skipped=1,summary:messageTypes:warning.integrity.member_not_found=1,summary:messageTypes:warning.integrity.reference_not_found=1,summary:messageTypes:warning.integrity.unreferenced_member=1" | | 367 | 1 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | | 367 | 2 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | @@ -105,7 +105,7 @@ Feature: < 3.6 | 367 | 10 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | | 367 | 11 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | | 367 | 12 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | -| 366 | 1 | "github164" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/document_test_1_pdf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 366 | 1 | "github164" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/document_test_1_pdf.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | | 366 | 2 | "github164" | "-R pds4.label -skip-context-validation -t {datasrc}/valid/document_pdfa_valid.xml" | | | 366 | 3 | "github164" | "-R pds4.label --skip-content-validation --skip-context-validation -t {datasrc}/valid/document_pdfa_valid.xml" | | | 364 | 1 | "github364" | "-R pds4.label --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}//MIS000XXX_2021001T000000_DEV0_2021001T0000_RAW010.XML" | | @@ -114,8 +114,8 @@ Feature: < 3.6 | 357 | 2 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_2240_records.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.validation.invalid_field_value=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | | 357 | 3 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_2250_records.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.table.records_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | | 357 | 4 | "github357" | "-R pds4.label -t {datasrc}/whypointsremovedfromdata_4_records.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.validation.invalid_field_value=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | -| 356 | 1 | "github240" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}/valid/bundle_kaguya_derived.xml" | | -| 356 | 2 | "github240" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.sub_directory.unallowed_name=1" | +| 356 | 1 | "github240" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}/valid/bundle_kaguya_derived.xml" | "summary:totalWarnings=5,summary:productValidation:skipped=6,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 356 | 2 | "github240" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalWarnings=8,summary:productValidation:skipped=6,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1,summary:messageTypes:warning.sub_directory.unallowed_name=3" | | 349 | 1 | "github349" | "-R pds4.label --skip-context-validation -t {datasrc}/valid/datasetgood.xml" | | | 349 | 2 | "github349" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/datasetbad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.directory.unallowed_name=1" | | 345 | 1 | "github345" | "-R pds4.label -t {datasrc}/astro_sample_t.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | @@ -191,8 +191,8 @@ Feature: < 3.6 | 137 | 1 | "github137" | "-t {datasrc}/delimited_table_good.xml" | | | 137 | 2 | "github137" | "-t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | | 87 | | "github87" | "-R pds4.label --skip-content-validation -t {datasrc}/2t126632959btr0200p3002n0a1.xml {datasrc}/2t126646972btr0200p3001n0a1.xml -C {datasink}/catalog.xml" | | -| 84 | 1 | "github84" | "--no-data-check -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | | -| 84 | 2 | "github84" | "--skip-content-validation --skip-context-validation -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | | +| 84 | 1 | "github84" | "--no-data-check -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | "summary:totalErrors=6,summary:totalWarnings=4,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.unresolvable_resource=3,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=3" | +| 84 | 2 | "github84" | "--skip-content-validation --skip-context-validation -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | "summary:totalErrors=5,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.unresolvable_resource=3,summary:messageTypes:warning.label.schema=3" | | 71 | 1 | "github71" | "-C {datasink}/catalog.xml --skip-content-validation --skip-context-validation -t {datasrc}/ELE_MOM.xml" | "summary:totalErrors=9,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=5,summary:messageTypes:warning.label.schema=3" | | 71 | 2 | "github71" | "-C {datasink}/catalog.xml --skip-context-validation -t {datasrc}/ELE_MOM_2.xml" | "summary:totalErrors=9,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=5,summary:messageTypes:warning.label.schema=3" | | 62 | 1 | "github62" | "-v1 --no-data-check -t {datasrc}/ele_mom_tblChar.xml" | "summary:totalErrors=0,summary:totalWarnings=0,summary:messageTypes:info.label.context_ref_found=1" | From f40c0285e8cffc7bba040d5571a24d6eb0c8b320 Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Thu, 23 Jan 2025 16:47:19 -0800 Subject: [PATCH 08/19] another cleanup step --- .../nasa/pds/tools/label/LabelValidator.java | 51 ++++---- .../nasa/pds/validate/ValidateLauncher.java | 5 +- src/test/java/cucumber/CucumberTest.java | 2 - src/test/resources/features/pre.3.6.x.feature | 114 +++++++++--------- 4 files changed, 84 insertions(+), 88 deletions(-) diff --git a/src/main/java/gov/nasa/pds/tools/label/LabelValidator.java b/src/main/java/gov/nasa/pds/tools/label/LabelValidator.java index 59015a5ca..e8ee29e20 100644 --- a/src/main/java/gov/nasa/pds/tools/label/LabelValidator.java +++ b/src/main/java/gov/nasa/pds/tools/label/LabelValidator.java @@ -144,6 +144,31 @@ public double getTotalTimeElapsed() { * responsible for doing the transformations of the schematrons. */ public LabelValidator() throws ParserConfigurationException, TransformerConfigurationException { + this.clear(); + } + + /** + * Pass in a list of schemas to validate against. + * + * @param schemaFiles A list of schema URLs. + * + */ + public void setSchema(List schemaFiles) { + this.userSchemaFiles.addAll(schemaFiles); + LOG.debug("setSchema:schemaFiles.size(),schemaFiles {},{}", schemaFiles.size(), schemaFiles); + } + + /** + * Pass in a list of transformed schematrons to validate against. + * + * @param schematrons A list of transformed schematrons. + */ + public void setSchematrons(List schematrons) { + userSchematronTransformers = schematrons; + LOG.debug("setSchematrons:schematrons.size(),schematrons {}", schematrons.size()); + } + public void clear() throws ParserConfigurationException, TransformerConfigurationException { + this.configurations.clear(); this.configurations.put(SCHEMA_CHECK, true); this.configurations.put(SCHEMATRON_CHECK, true); cachedParser = null; @@ -191,32 +216,6 @@ public LabelValidator() throws ParserConfigurationException, TransformerConfigur documentValidators.add(new DefaultDocumentValidator()); schematronTransformer = new SchematronTransformer(); } - - /** - * Pass in a list of schemas to validate against. - * - * @param schemaFiles A list of schema URLs. - * - */ - public void setSchema(List schemaFiles) { - this.userSchemaFiles.addAll(schemaFiles); - LOG.debug("setSchema:schemaFiles.size(),schemaFiles {},{}", schemaFiles.size(), schemaFiles); - } - - /** - * Pass in a list of transformed schematrons to validate against. - * - * @param schematrons A list of transformed schematrons. - */ - public void setSchematrons(List schematrons) { - userSchematronTransformers = schematrons; - LOG.debug("setSchematrons:schematrons.size(),schematrons {}", schematrons.size()); - } - public void clear() { - this.userSchemaFiles.clear(); - this.userSchematronFiles.clear(); - this.userSchematronTransformers.clear(); - } /** * Pass in a hash map of schematron URLs to its transformed schematron object. This is used when * validating a label against it's referenced schematron. diff --git a/src/main/java/gov/nasa/pds/validate/ValidateLauncher.java b/src/main/java/gov/nasa/pds/validate/ValidateLauncher.java index 39bff15ef..73a96bfd8 100644 --- a/src/main/java/gov/nasa/pds/validate/ValidateLauncher.java +++ b/src/main/java/gov/nasa/pds/validate/ValidateLauncher.java @@ -60,6 +60,7 @@ import java.util.TimeZone; import java.util.stream.Collectors; import java.util.stream.Stream; +import javax.xml.parsers.ParserConfigurationException; import javax.xml.transform.TransformerConfigurationException; import javax.xml.transform.TransformerException; import javax.xml.transform.stream.StreamSource; @@ -291,8 +292,6 @@ public ValidateLauncher() throws TransformerConfigurationException { checkInbetweenFields = false; pdfErrorDir = ""; setLabelExtension(Constants.DEFAULT_LABEL_EXTENSION); - - this.flushValidators(); } /** @@ -1783,7 +1782,7 @@ public int processMain(String[] args) throws Exception { * validation data between runs, which can cause issues, specifically when using varying * dictionaries and catalog files. */ - public void flushValidators() { + public void flushValidators() throws ParserConfigurationException, TransformerConfigurationException { if (this.factory != null) { this.factory.flush(); } diff --git a/src/test/java/cucumber/CucumberTest.java b/src/test/java/cucumber/CucumberTest.java index f2b8ddfa4..101bb9003 100644 --- a/src/test/java/cucumber/CucumberTest.java +++ b/src/test/java/cucumber/CucumberTest.java @@ -8,7 +8,5 @@ @CucumberOptions(plugin = {"pretty", "html:target/cucumber.html"}, features = "src/test/resources/features/", glue = "cucumber") public class CucumberTest { - public CucumberTest() {} - } diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index 60b9f8e5b..04024d346 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -149,82 +149,82 @@ Feature: < 3.6 | 292 | 2 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_VALID.xml" | | | 292 | 3 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_LF=1" | | 292 | 4 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_CRLF=1" | -| 292 | 5 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_lf.xml" | "summary:totalErrors=7,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=2" | -| 292 | 6 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_crlf.xml" | "summary:totalErrors=7,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=2" | -| 292 | 7 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_lf.xml" | "summary:totalErrors=17,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=2,summary:messageTypes:error.table.field_value_data_type_mismatch=6,summary:messageTypes:error.table.missing_LF=4" | -| 292 | 8 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_crlf.xml" | "summary:totalErrors=8,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=2,summary:messageTypes:error.table.record_length_mismatch=1" | +| 292 | 5 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_lf.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=1" | +| 292 | 6 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_crlf.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=1" | +| 292 | 7 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_lf.xml" | "summary:totalErrors=13,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=1,summary:messageTypes:error.table.field_value_data_type_mismatch=6,summary:messageTypes:error.table.missing_LF=4" | +| 292 | 8 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_crlf.xml" | "summary:totalErrors=4,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=1,summary:messageTypes:error.table.record_length_mismatch=1" | | 292 | 9 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_VALID.xml" | | | 292 | 10 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_VALID.xml" | | | 292 | 11 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_LF=1" | | 292 | 12 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_CRLF=1" | -| 291 | 1 | "github291" | "--skip-context-validation -R pds4.bundle -t {datasrc}/valid/bundle_kaguya_derived.xml" | | -| 291 | 2 | "github291" | "--skip-context-validation -R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.label.bad_schematypens=1" | -| 281 | 1 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_1_bad_filesize.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.filesize_mismatch=1" | -| 281 | 2 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_2_bad_checksum.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.checksum_mismatch=1" | -| 281 | 3 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_3_bad_checksum_no_filesize.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.checksum_mismatch=1" | -| 281 | 4 | "github281" | "-R pds4.label {datasrc}/valid/collection_gwe_spk_valid_1.xml" | | -| 281 | 5 | "github281" | "-R pds4.label {datasrc}/valid/collection_gwe_spk_valid_2_no_filesize.xml" | | -| 281 | 6 | "github281" | "-R pds4.label {datasrc}/valid/collection_gwe_spk_valid_3_no_filesize_no_checksum.xml" | | -| 278 | 1 | "github278" | "-R pds4.label {datasrc}/invalid/trk-2-34-revn-l5_tnf_invalid.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1" | -| 278 | 2 | "github278" | "-R pds4.label {datasrc}/valid/trk-2-34-revn-l5_tnf.xml" | | -| 240 | 1 | "github240" | "-R pds4.bundle --skip-context-validation {datasrc}/valid/bundle_kaguya_derived.xml" | | -| 240 | 2 | "github240" | "-R pds4.bundle --skip-context-validation {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=0,summary:totalWarnings=1,summary:messageTypes:warning.sub_directory.unallowed_name=1" | -| 230 | 1 | "github230" | "--skip-content-validation -R pds4.bundle -t {datasrc}/invalid/cocirs_c2h4abund/bundle_cocirs_c2h4abund.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.integrity.missing_version=1" | -| 230 | 2 | "github230" | "--skip-content-validation -R pds4.bundle -t {datasrc}/valid/cocirs_c2h4abund/bundle_cocirs_c2h4abund.xml" | | -| 217 | 1 | "github217" | "-t {datasrc}/success/" | | -| 217 | 2 | "github217" | "-t {datasrc}/fail/delmet4.xml {datasrc}/fail/binobs4.xml {datasrc}/fail/delobs4.xml {datasrc}/fail/delinv4.xml {datasrc}/fail/ascbro4.xml {datasrc}/fail/delsup4.xml {datasrc}/fail/delanc4.xml {datasrc}/fail/binanc4.xml {datasrc}/fail/binsup4.xml {datasrc}/fail/ascsup4.xml {datasrc}/fail/delbro4.xml {datasrc}/fail/ascanc4.xml {datasrc}/fail/binbro4.xml {datasrc}/fail/ascmet4.xml {datasrc}/fail/ascobs4.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.records_mismatch=1" | -| 217 | 3 | "github217" | "-t {datasrc}/fail/delmet4.xml {datasrc}/fail/binobs4.xml {datasrc}/fail/delobs4.xml {datasrc}/fail/delinv4.xml {datasrc}/fail/ascbro4.xml {datasrc}/fail/delsup4.xml {datasrc}/fail/delanc4.xml {datasrc}/fail/binanc4.xml {datasrc}/fail/binsup4.xml {datasrc}/fail/ascsup4.xml {datasrc}/fail/delbro4.xml {datasrc}/fail/ascanc4.xml {datasrc}/fail/binbro4.xml {datasrc}/fail/ascmet4.xml {datasrc}/fail/ascobs4.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.table_definition_problem=1" | -| 210 | | "github210" | "--skip-content-validation -t {datasrc}/bundle_cassini-huygens-coradar.xml {datasrc}/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1" | +| 291 | 1 | "github291" | "--skip-context-validation -R pds4.bundle -t {datasrc}/valid/bundle_kaguya_derived.xml" | "summary:totalWarnings=8,summary:productValidation:skipped=6,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=2" | +| 291 | 2 | "github291" | "--skip-context-validation -R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalWarnings=10,summary:productValidation:skipped=6,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=2,summary:messageTypes:warning.label.bad_schematypens=1,summary:messageTypes:warning.label.missing_schematron_spec=1" | +| 281 | 1 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_1_bad_filesize.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.label.filesize_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 281 | 2 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_2_bad_checksum.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.label.checksum_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 281 | 3 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_3_bad_checksum_no_filesize.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.label.checksum_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 281 | 4 | "github281" | "-R pds4.label {datasrc}/valid/collection_gwe_spk_valid_1.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 281 | 5 | "github281" | "-R pds4.label {datasrc}/valid/collection_gwe_spk_valid_2_no_filesize.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 281 | 6 | "github281" | "-R pds4.label {datasrc}/valid/collection_gwe_spk_valid_3_no_filesize_no_checksum.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 278 | 1 | "github278" | "-R pds4.label {datasrc}/invalid/trk-2-34-revn-l5_tnf_invalid.xml" | "summary:totalErrors=2,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 278 | 2 | "github278" | "-R pds4.label {datasrc}/valid/trk-2-34-revn-l5_tnf.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 240 | 1 | "github240" | "-R pds4.bundle --skip-context-validation {datasrc}/valid/bundle_kaguya_derived.xml" | "summary:totalWarnings=7,summary:productValidation:skipped=6,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 240 | 2 | "github240" | "-R pds4.bundle --skip-context-validation {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalWarnings=13,summary:productValidation:skipped=6,summary:messageTypes:warning.file.not_referenced_in_label=5,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1,summary:messageTypes:warning.sub_directory.unallowed_name=3" | +| 230 | 1 | "github230" | "--skip-content-validation -R pds4.bundle -t {datasrc}/invalid/cocirs_c2h4abund/bundle_cocirs_c2h4abund.xml" | "summary:totalErrors=2,summary:totalWarnings=19,summary:referentialIntegrity:failed=1,summary:messageTypes:error.integrity.missing_version=2,summary:messageTypes:warning.label.context_ref_mismatch=18,summary:messageTypes:warning.label.schema=1" | +| 230 | 2 | "github230" | "--skip-content-validation -R pds4.bundle -t {datasrc}/valid/cocirs_c2h4abund/bundle_cocirs_c2h4abund.xml" | "summary:totalWarnings=19,summary:messageTypes:warning.label.context_ref_mismatch=18,summary:messageTypes:warning.label.schema=1" | +| 217 | 1 | "github217" | "-t {datasrc}/success/" | "summary:totalErrors=28,summary:totalWarnings=9,summary:productValidation:failed=22,summary:messageTypes:error.label.file_areas_duplicated_reference=28,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=8" | +| 217 | 2 | "github217" | "-t {datasrc}/fail/delmet4.xml {datasrc}/fail/binobs4.xml {datasrc}/fail/delobs4.xml {datasrc}/fail/delinv4.xml {datasrc}/fail/ascbro4.xml {datasrc}/fail/delsup4.xml {datasrc}/fail/delanc4.xml {datasrc}/fail/binanc4.xml {datasrc}/fail/binsup4.xml {datasrc}/fail/ascsup4.xml {datasrc}/fail/delbro4.xml {datasrc}/fail/ascanc4.xml {datasrc}/fail/binbro4.xml {datasrc}/fail/ascmet4.xml {datasrc}/fail/ascobs4.xml" | "summary:totalErrors=29,summary:totalWarnings=5,summary:productValidation:failed=15,summary:messageTypes:error.label.file_areas_duplicated_reference=14,summary:messageTypes:error.label.table_definition_problem=9,summary:messageTypes:error.table.records_mismatch=6,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=4" | +| 217 | 3 | "github217" | "-t {datasrc}/fail/delmet4.xml {datasrc}/fail/binobs4.xml {datasrc}/fail/delobs4.xml {datasrc}/fail/delinv4.xml {datasrc}/fail/ascbro4.xml {datasrc}/fail/delsup4.xml {datasrc}/fail/delanc4.xml {datasrc}/fail/binanc4.xml {datasrc}/fail/binsup4.xml {datasrc}/fail/ascsup4.xml {datasrc}/fail/delbro4.xml {datasrc}/fail/ascanc4.xml {datasrc}/fail/binbro4.xml {datasrc}/fail/ascmet4.xml {datasrc}/fail/ascobs4.xml" | "summary:totalErrors=29,summary:totalWarnings=5,summary:productValidation:failed=15,summary:messageTypes:error.label.file_areas_duplicated_reference=14,summary:messageTypes:error.label.table_definition_problem=9,summary:messageTypes:error.table.records_mismatch=6,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=4" | +| 210 | | "github210" | "--skip-content-validation -t {datasrc}/bundle_cassini-huygens-coradar.xml {datasrc}/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | | 209 | 1 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/VALID_odf07155_msgr_11.xml" | | -| 209 | 2 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/FAIL1_overlapping_bit_fields.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=1" | -| 209 | 3 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/FAIL2_bad_stop_bit.xml" | "summary:totalErrors=2,summary:totalWarnings=0,summary:productValidation:failed=2,summary:messageTypes:error.table.field_value_overlap=1,summary:messageTypes:error.table.bad_field_read=1" | -| 190 | | "github190" | "--skip-context-validation -t {datasrc}/validation_test.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | -| 188 | | "github188" | "--skip-content-validation -t {datasrc}/bundle_cassini-huygens-coradar.xml {datasrc}/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | | -| 173 | 1 | "github173" | "--skip-context-validation -R pds4.bundle -t {datasrc}/valid/ --skip-content-validation" | | -| 173 | 2 | "github173" | "--skip-context-validation -R pds4.bundle -t {datasrc}/invalid/ --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.records_mismatch=1" | -| 164 | 1 | "github164" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/document_test_1_pdf.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 209 | 2 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/FAIL1_overlapping_bit_fields.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=1" | +| 209 | 3 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/FAIL2_bad_stop_bit.xml" | "summary:totalErrors=2,summary:productValidation:failed=1,summary:messageTypes:error.table.bad_field_read=1,summary:messageTypes:error.table.field_value_overlap=1" | +| 190 | | "github190" | "--skip-context-validation -t {datasrc}/validation_test.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 188 | | "github188" | "--skip-content-validation -t {datasrc}/bundle_cassini-huygens-coradar.xml {datasrc}/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | +| 173 | 1 | "github173" | "--skip-context-validation -R pds4.bundle -t {datasrc}/valid/ --skip-content-validation" | "summary:totalWarnings=5,summary:messageTypes:warning.integrity.reference_not_found=5" | +| 173 | 2 | "github173" | "--skip-context-validation -R pds4.bundle -t {datasrc}/invalid/ --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=5,summary:referentialIntegrity:failed=1,summary:messageTypes:error.table.records_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=5" | +| 164 | 1 | "github164" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/document_test_1_pdf.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | | 164 | 2 | "github164" | "-R pds4.label --skip-context-validation -t {datasrc}/valid/document_pdfa_valid.xml" | | -| 153 | 1 | "github153" | "--skip-context-validation -R pds4.label -t {datasrc}/iue_asteroid_spectra/document/3juno_lwr01896_ines_fits_headers.pdfa%.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.file.name_has_invalid_characters=1" | +| 153 | 1 | "github153" | "--skip-context-validation -R pds4.label -t {datasrc}/iue_asteroid_spectra/document/3juno_lwr01896_ines_fits_headers.pdfa%.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.file.name_has_invalid_characters=1" | | 153 | 2 | "github153" | "--skip-context-validation -R pds4.label -t {datasrc}/iue_asteroid_spectra/document/collection_iue_asteroid_spectra_document.xml" | | | 149 | 1 | "github173" | "--skip-context-validation -t {datasrc}/valid/bundle_kaguya_derived.xml" | | | 149 | 2 | "github173" | "--skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | | -| 137 | 1 | "github137" | "-t {datasrc}/delimited_table_good.xml" | | -| 137 | 2 | "github137" | "-t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 137 | 1 | "github137" | "-t {datasrc}/delimited_table_good.xml" | "summary:totalErrors=4,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=3,summary:messageTypes:error.label.filesize_mismatch=1" | +| 137 | 2 | "github137" | "-t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=5,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=3,summary:messageTypes:error.table.field_value_data_type_mismatch=2" | | 87 | | "github87" | "-R pds4.label --skip-content-validation -t {datasrc}/2t126632959btr0200p3002n0a1.xml {datasrc}/2t126646972btr0200p3001n0a1.xml -C {datasink}/catalog.xml" | | -| 84 | 1 | "github84" | "--no-data-check -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | "summary:totalErrors=6,summary:totalWarnings=4,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.unresolvable_resource=3,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=3" | -| 84 | 2 | "github84" | "--skip-content-validation --skip-context-validation -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | "summary:totalErrors=5,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.unresolvable_resource=3,summary:messageTypes:warning.label.schema=3" | +| 84 | 1 | "github84" | "--no-data-check -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=1" | +| 84 | 2 | "github84" | "--skip-content-validation --skip-context-validation -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schema=1" | | 71 | 1 | "github71" | "-C {datasink}/catalog.xml --skip-content-validation --skip-context-validation -t {datasrc}/ELE_MOM.xml" | "summary:totalErrors=9,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=5,summary:messageTypes:warning.label.schema=3" | | 71 | 2 | "github71" | "-C {datasink}/catalog.xml --skip-context-validation -t {datasrc}/ELE_MOM_2.xml" | "summary:totalErrors=9,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=5,summary:messageTypes:warning.label.schema=3" | | 62 | 1 | "github62" | "-v1 --no-data-check -t {datasrc}/ele_mom_tblChar.xml" | "summary:totalErrors=0,summary:totalWarnings=0,summary:messageTypes:info.label.context_ref_found=1" | | 62 | 2 | "github62" | "-v1 --no-data-check -t {datasrc}/spacecraft.orex_1.1.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:info.label.context_ref_found=1,summary:messageTypes:error.label.context_ref_not_found=1" | -| 57 | 1 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57a_valid.xml" | "summary:totalErrors=5,summary:totalWarnings=0,summary:productValidation:failed=5" | +| 57 | 1 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57a_valid.xml" | "summary:totalWarnings=5,summary:messageTypes:warning.table.characters_between_fields=5" | | 57 | 2 | "github57" | "-R pds4.label --skip-context-validation -t {datasrc}/validate_57a_valid.xml" | | -| 57 | 3 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57a_invalid.xml" | "summary:totalErrors=0,summary:totalWarnings=4" | -| 57 | 4 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57c.xml" | "summary:totalErrors=5,summary:totalWarnings=5,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.unresolvable_resource=1,summary:messageTypes:warning.table.characters_between_fields=5" | +| 57 | 3 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57a_invalid.xml" | "summary:totalErrors=4,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=2,summary:messageTypes:error.table.records_mismatch=1,summary:messageTypes:info.validation.general=1" | +| 57 | 4 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57c.xml" | "summary:totalWarnings=5,summary:messageTypes:warning.table.characters_between_fields=5" | | 51 | 1 | "github51" | "--skip-content-validation --skip-context-validation -t {datasrc}/valid" | | -| 51 | 2 | "github51" | "-R pds4.bundle --alternate_file_paths src/test/resources/github51_additionals/additional_dir1/data_spectra,src/test/resources/github51_additionals/additional_dir2/data_spectra --skip-product-validation --skip-content-validation -t {datasrc}/valid" | "summary:totalErrors=0,summary:totalWarnings=0,summary:messageTypes:info.validation.general=1" | +| 51 | 2 | "github51" | "-R pds4.bundle --alternate_file_paths src/test/resources/github51_additionals/additional_dir1/data_spectra,src/test/resources/github51_additionals/additional_dir2/data_spectra --skip-product-validation --skip-content-validation -t {datasrc}/valid" | "summary:totalWarnings=7,summary:messageTypes:info.validation.general=2,summary:messageTypes:warning.integrity.reference_not_found=5" | | 50 | 1 | "github50" | "--skip-content-validation --skip-context-validation --target-manifest {datasrc}/target-manifest.xml" | | | 50 | 2 | "github50" | "--target-manifest {datasrc}/target-manifest.xml -t {datasrc}/ele_evt_8hr_orbit_2014-2015.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.missing_file=1" | | 47 | 1 | "github47" | "--disable-context-mismatch-warnings -R pds4.label --skip-content-validation --skip-context-validation {datasrc}/test_context_products.xml" | | -| 47 | 2 | "github47" | "-v1 --skip-content-validation --disable-context-mismatch-warnings -R pds4.label {datasrc}/test_context_products.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1" | -| 28 | 1 | "github28" | "{datasrc}/test_add_context_products.xml" | "summary:totalErrors=0,summary:totalWarnings=1" | -| 28 | 2 | "github28" | "--add-context-products {datasrc}/new_context.json -t {datasrc}/test_add_context_products.xml" | "summary:totalErrors=2,summary:totalWarnings=4,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=1,summary:messageTypes:warning.label.context_ref_mismatch=3,summary:messageTypes:warning.product_not_registered=1" | -| 17 | 1 | "github17" | "--skip-context-validation -R pds4.label -t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=3,summary:totalWarnings=0,summary:productValidation:failed=3" | +| 47 | 2 | "github47" | "-v1 --skip-content-validation --disable-context-mismatch-warnings -R pds4.label {datasrc}/test_context_products.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:info.label.context_ref_found=4,summary:messageTypes:info.label.context_ref_mismatch=3,summary:messageTypes:info.label.local_identifier_found=1" | +| 28 | 1 | "github28" | "{datasrc}/test_add_context_products.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | +| 28 | 2 | "github28" | "--add-context-products {datasrc}/new_context.json -t {datasrc}/test_add_context_products.xml" | "summary:totalWarnings=4,summary:messageTypes:warning.label.context_ref_mismatch=3,summary:messageTypes:warning.product_not_registered=1" | +| 17 | 1 | "github17" | "--skip-context-validation -R pds4.label -t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.filesize_mismatch=1,summary:messageTypes:warning.label.bad_schematypens=1,summary:messageTypes:warning.label.missing_schematron_spec=1,summary:messageTypes:warning.label.schema=1" | | 17 | 2 | "github17" | "--skip-context-validation -R pds4.label -t {datasrc}/delimited_table_good.xml" | | -| 15 | 1 | "github15" | "-v1 --disable-context-mismatch-warnings -R pds4.label -t {datasrc}/test_check-pass_context_products.xml" | | -| 15 | 2 | "github15" | "-v1 --disable-context-mismatch-warnings {datasrc}/test_check-no-pass_context_products.xml" | "summary:totalErrors=25,summary:productValidation:failed=1,summary:messageTypes:error.array.bad_file_read=20,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.unresolvable_resource=1" | -| 11 | 1 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_bad_1.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | -| 11 | 2 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_bad_2.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1" | -| 11 | 3 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_good.xml" | | -| 9 | 1 | "github09" | "-t {datasrc}/minimal_test_product_good2.xml" | "summary:totalErrors=5,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.unresolvable_resource=1" | -| 9 | 2 | "github09" | "-t {datasrc}/minimal_test_product_good.xml" | "summary:totalErrors=5,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=4,summary:messageTypes:error.label.unresolvable_resource=1" | -| 9 | 3 | "github09" | "-t {datasrc}/csv_empty_field_test_VALID.xml" | "summary:totalErrors=2,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=1" | -| 9 | 4 | "github09" | "-t {datasrc}/csv_empty_field_test_INVALID.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 15 | 1 | "github15" | "-v1 --disable-context-mismatch-warnings -R pds4.label -t {datasrc}/test_check-pass_context_products.xml" | "summary:totalErrors=23,summary:productValidation:failed=1,summary:messageTypes:error.array.bad_file_read=20,summary:messageTypes:error.label.missing_file=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:info.label.context_ref_found=4,summary:messageTypes:info.label.local_identifier_found=1" | +| 15 | 2 | "github15" | "-v1 --disable-context-mismatch-warnings {datasrc}/test_check-no-pass_context_products.xml" | "summary:totalErrors=23,summary:productValidation:failed=2,summary:messageTypes:error.array.bad_file_read=20,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:error.validation.internal_error=1,summary:messageTypes:error.validation.invalid_field_value=1,summary:messageTypes:info.label.context_ref_found=4,summary:messageTypes:info.label.context_ref_mismatch=3,summary:messageTypes:info.label.local_identifier_found=1" | +| 11 | 1 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_bad_1.xml" | "summary:totalErrors=4,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=2,summary:messageTypes:error.label.filesize_mismatch=1,summary:messageTypes:error.label.invalid_object_definition=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 11 | 2 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_bad_2.xml" | "summary:totalErrors=4,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=2,summary:messageTypes:error.label.filesize_mismatch=1,summary:messageTypes:error.label.invalid_object_definition=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 11 | 3 | "github11" | "-R pds4.label -t {datasrc}/test_data/science_index_good.xml" | "summary:totalErrors=3,summary:totalWarnings=4,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=3,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.table.field_value_not_left_justified=3" | +| 9 | 1 | "github09" | "-t {datasrc}/minimal_test_product_good2.xml" | "summary:totalErrors=4,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=3,summary:messageTypes:error.label.filesize_mismatch=1" | +| 9 | 2 | "github09" | "-t {datasrc}/minimal_test_product_good.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=3" | +| 9 | 3 | "github09" | "-t {datasrc}/csv_empty_field_test_VALID.xml" | | +| 9 | 4 | "github09" | "-t {datasrc}/csv_empty_field_test_INVALID.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | | 9 | 5 | "github09" | "-t {datasrc}/val9a.xml.xml" | "summary:totalErrors=2,summary:productValidation:failed=2,summary:messageTypes:error.execution.no_products_found=2" | -| 9 | 6 | "github09" | "-t {datasrc}/val9b.xml" | "summary:totalErrors=3,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.unresolvable_resource=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | +| 9 | 6 | "github09" | "-t {datasrc}/val9b.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | | 7 | | "github7" | "--skip-context-validation -t {datasrc}/ch2_sar_ncxs_20090107t163003745_d_sli_xx_fp_hh_pb1_19111.xml" | | -| 6 | 1 | "github6" | "--skip-context-validation -R pds4.bundle {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=3,summary:totalWarnings=0,summary:productValidation:failed=3,summary:messageTypes:error.file.name_has_invalid_characters=1,summary:messageTypes:error.file.unallowed_base_name=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | -| 6 | 2 | "github6" | "-R pds4.bundle --skip-context-validation {datasrc}/invalid/bundle_kaguya_derived_7.xml" | "summary:totalErrors=0,summary:totalWarnings=5,summary:messageTypes:warning.integrity.unreferenced_member=1,summary:messageTypes:warning.file.not_referenced_in_label=1,summary:messageTypes:warning.integrity.reference_not_found=1,summary:messageTypes:warning.integrity.member_not_found=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | -| 6 | 3 | "github6" | "-R pds4.bundle --skip-context-validation {datasrc}/valid/bundle_kaguya_derived.xml" | | -| 5 | 1 | "github5" | "-R pds4.bundle --skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=2,summary:totalWarnings=0,summary:productValidation:failed=2,summary:messageTypes:error.file.name_has_invalid_characters=1,summary:messageTypes:error.file.unallowed_base_name=1" | -| 5 | 2 | "github5" | "-R pds4.bundle --skip-context-validation -t {datasrc}/valid/bundle_kaguya_derived.xml" | | +| 6 | 1 | "github6" | "--skip-context-validation -R pds4.bundle {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=14,summary:productValidation:failed=2,summary:productValidation:skipped=6,summary:referentialIntegrity:failed=5,summary:messageTypes:error.file.name_has_invalid_characters=6,summary:messageTypes:error.file.unallowed_base_name=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_referenced_in_label=7,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=2,summary:messageTypes:warning.label.schematron=1" | +| 6 | 2 | "github6" | "-R pds4.bundle --skip-context-validation {datasrc}/invalid/bundle_kaguya_derived_7.xml" | "summary:totalErrors=8,summary:totalWarnings=15,summary:productValidation:failed=2,summary:productValidation:skipped=6,summary:referentialIntegrity:failed=5,summary:messageTypes:error.file.name_has_invalid_characters=6,summary:messageTypes:error.file.unallowed_base_name=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_referenced_in_label=7,summary:messageTypes:warning.integrity.member_not_found=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=3" | +| 6 | 3 | "github6" | "-R pds4.bundle --skip-context-validation {datasrc}/valid/bundle_kaguya_derived.xml" | "summary:totalWarnings=7,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 5 | 1 | "github5" | "-R pds4.bundle --skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=7,summary:totalWarnings=13,summary:productValidation:failed=2,summary:productValidation:skipped=6,summary:referentialIntegrity:failed=4,summary:messageTypes:error.file.name_has_invalid_characters=5,summary:messageTypes:error.file.unallowed_base_name=1,summary:messageTypes:error.label.missing_file=1,summary:messageTypes:warning.file.not_referenced_in_label=6,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=2,summary:messageTypes:warning.label.schematron=1" | +| 5 | 2 | "github5" | "-R pds4.bundle --skip-context-validation -t {datasrc}/valid/bundle_kaguya_derived.xml" | "summary:totalWarnings=6,summary:productValidation:skipped=6,summary:messageTypes:warning.file.not_referenced_in_label=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | From 4b4fa150c326e33479fdf763ca2df146cea54b0a Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Fri, 24 Jan 2025 08:58:14 -0800 Subject: [PATCH 09/19] try using given catalog --- src/test/java/cucumber/StepDefs.java | 84 ++++++++++++------- src/test/resources/features/pre.3.6.x.feature | 4 +- src/test/resources/github71/catalog.xml | 8 +- 3 files changed, 61 insertions(+), 35 deletions(-) diff --git a/src/test/java/cucumber/StepDefs.java b/src/test/java/cucumber/StepDefs.java index c96370906..e89e40495 100644 --- a/src/test/java/cucumber/StepDefs.java +++ b/src/test/java/cucumber/StepDefs.java @@ -5,6 +5,7 @@ import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; +import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; import java.util.ArrayList; @@ -34,6 +35,8 @@ void setUp() throws Exception { FileUtils.forceMkdir(this.datasink.toFile()); // Create directory if one does not already exist. System.setProperty("resources.home", TestConstants.RESOURCES_DIR); this.launcher = new ValidateLauncher(); + this.datasink.resolve("cucumber.success").toFile().delete(); + this.datasink.resolve("cucumber.failed").toFile().createNewFile(); } /** @@ -44,6 +47,12 @@ void tearDown() throws Exception { CrossLabelFileAreaReferenceChecker.reset(); } + private String normalize (String s) { + return s + .replace("{datasink}", this.datasink.toAbsolutePath().toString()) + .replace("{datasrc}", this.datasrc.toAbsolutePath().toString()) + .replace("%20", " "); + } private List resolveArgumentStrings(String args) { boolean catalogNext = false, manifestNext = false; List resolved = new ArrayList(Arrays.asList("--report-file", @@ -54,18 +63,21 @@ private List resolveArgumentStrings(String args) { } if (catalogNext) { catalogNext = false; - this.createCatalogFile(arg - .replace("{datasink}", this.datasink.toAbsolutePath().toString()) - .replace("{datasrc}", this.datasrc.toAbsolutePath().toString()) - .replace("%20", " "), - this.datasink.toAbsolutePath().toString()); + if (!this.createCatalogFile(this.normalize(arg), this.datasink.toAbsolutePath().toString())) { + arg = arg.replace("datasrc", "datasink"); + } } if (manifestNext) { - // read manifest - // do datasrc/datasink translations - // write to datasink - // change arg to new location - arg = "{datasink}/target-manifest.xml"; + manifestNext = false; + Path path = Paths.get(this.normalize(arg)); + try { + Files.writeString(this.datasink.resolve(path.getFileName()), + this.normalize(Files.readString(path))); + arg = this.datasink.resolve(path.getFileName()).toAbsolutePath().toString(); + } catch (Exception e) { + e.printStackTrace(); + fail("Test Failed Due To Exception: " + e.getMessage()); + } } if (arg.equals("-C") || arg.equals("--catalog")) { catalogNext = true; @@ -79,10 +91,7 @@ private List resolveArgumentStrings(String args) { if (arg.equals("--target-manifest") ) { manifestNext = true; } - resolved.add(arg - .replace("{datasink}", this.datasink.toAbsolutePath().toString()) - .replace("{datasrc}", this.datasrc.toAbsolutePath().toString()) - .replace("%20", " ")); + resolved.add(this.normalize(arg)); } return resolved; } @@ -163,6 +172,8 @@ public void compare_to_the(String expectation) { assertEquals (expected, reported, keyword); } assertEquals (0, messages.size(), "Did not identify all message types generated."); + this.datasink.resolve("cucumber.failed").toFile().delete(); + this.datasink.resolve("cucumber.success").toFile().createNewFile(); } catch (ExitException e) { assertEquals(0, e.status, "Exit status"); } catch (Exception e) { @@ -171,23 +182,38 @@ public void compare_to_the(String expectation) { } } - private void createCatalogFile(String catFile, String substitutePath) { - // Create catalog file - String catText = "\n" + "\n" + "\n" - + " \n" - + " \n" + ""; + private boolean createCatalogFile(String catFile, String substitutePath) { + boolean isNew = true; + Path catPath = Paths.get(catFile); + + if (catPath.toFile().exists()) { + try { + Files.writeString(this.datasink.resolve(catPath.getFileName()), + this.normalize(Files.readString(catPath))); + isNew = true; + } catch (Exception e) { + e.printStackTrace(); + fail("Test Failed Due To Exception: " + e.getMessage()); + } + } else { + // Create catalog file + String catText = "\n" + "\n" + "\n" + + " \n" + + " \n" + ""; - try (BufferedWriter writer = new BufferedWriter(new FileWriter(catFile))) { - writer.write(catText); - writer.close(); - } catch (Exception e) { - e.printStackTrace(); - fail("Test Failed Due To Exception: " + e.getMessage()); + try (BufferedWriter writer = new BufferedWriter(new FileWriter (catPath.toFile()))) { + writer.write(catText); + writer.close(); + } catch (Exception e) { + e.printStackTrace(); + fail("Test Failed Due To Exception: " + e.getMessage()); + } } + return isNew; } protected static class ExitException extends SecurityException { diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index 04024d346..43a688b0d 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -193,8 +193,8 @@ Feature: < 3.6 | 87 | | "github87" | "-R pds4.label --skip-content-validation -t {datasrc}/2t126632959btr0200p3002n0a1.xml {datasrc}/2t126646972btr0200p3001n0a1.xml -C {datasink}/catalog.xml" | | | 84 | 1 | "github84" | "--no-data-check -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=1" | | 84 | 2 | "github84" | "--skip-content-validation --skip-context-validation -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schema=1" | -| 71 | 1 | "github71" | "-C {datasink}/catalog.xml --skip-content-validation --skip-context-validation -t {datasrc}/ELE_MOM.xml" | "summary:totalErrors=9,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=5,summary:messageTypes:warning.label.schema=3" | -| 71 | 2 | "github71" | "-C {datasink}/catalog.xml --skip-context-validation -t {datasrc}/ELE_MOM_2.xml" | "summary:totalErrors=9,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=5,summary:messageTypes:warning.label.schema=3" | +| 71 | 1 | "github71" | "-C {datasrc}/catalog.xml --skip-content-validation --skip-context-validation -t {datasrc}/ELE_MOM.xml" | "summary:totalErrors=9,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=5,summary:messageTypes:warning.label.schema=3" | +| 71 | 2 | "github71" | "-C {datasrc}/catalog.xml --skip-context-validation -t {datasrc}/ELE_MOM_2.xml" | "summary:totalErrors=9,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=5,summary:messageTypes:warning.label.schema=3" | | 62 | 1 | "github62" | "-v1 --no-data-check -t {datasrc}/ele_mom_tblChar.xml" | "summary:totalErrors=0,summary:totalWarnings=0,summary:messageTypes:info.label.context_ref_found=1" | | 62 | 2 | "github62" | "-v1 --no-data-check -t {datasrc}/spacecraft.orex_1.1.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:info.label.context_ref_found=1,summary:messageTypes:error.label.context_ref_not_found=1" | | 57 | 1 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57a_valid.xml" | "summary:totalWarnings=5,summary:messageTypes:warning.table.characters_between_fields=5" | diff --git a/src/test/resources/github71/catalog.xml b/src/test/resources/github71/catalog.xml index 34905d0be..66851d57b 100644 --- a/src/test/resources/github71/catalog.xml +++ b/src/test/resources/github71/catalog.xml @@ -11,16 +11,16 @@ Note: These will not work when the schemas are released into development area --> + rewritePrefix="file://{datasrc}"/> + rewritePrefix="file://{datasrc}"/> + rewritePrefix="file://{datasrc}"/> + rewritePrefix="file://{datasrc}"/> From b48c28ec6ed2dd12da377362d8b70e0f7360b30b Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Fri, 24 Jan 2025 09:24:56 -0800 Subject: [PATCH 10/19] another fix --- src/test/resources/features/pre.3.6.x.feature | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index 43a688b0d..39e942030 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -15,7 +15,7 @@ Feature: < 3.6 | 755 | 2 | "github755" | "-skip-context-validation -t {datasrc}/m221011.0013.xml {datasrc}/m221011.0015.xml" | | | 754 | | "github754" | "--skip-context-validation -t {datasrc}/Cassini_ISS_CB2_Jupiter_global_map_2.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schema=1" | | 693 | | "github693" | "-t {datasrc}/" | "summary:totalErrors=4,summary:totalWarnings=8,summary:productValidation:failed=4,summary:messageTypes:error.pdf.file.not_pdfa_compliant=4,summary:messageTypes:warning.label.context_ref_mismatch=8" | -| 690 | | "github690" | "--skip-context-validation -t {datasrc}/rs_20160518_014000_udsc64_l3_e_v10.xml" | "summary:totalWarnings=888,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=888" | +| 690 | | "github690" | "--skip-context-validation -t {datasrc}/rs_20160518_014000_udsc64_l3_e_v10.xml" | "summary:totalErrors=16,summary:totalWarnings=900,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=13,summary:messageTypes:warning.label.schema=12,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=888" | | 684 | 1 | "github684" | "--skip-context-validation -t {datasrc}/example_params_noFileSize.xml" | | | 684 | 2 | "github684" | "--skip-context-validation -t {datasrc}/example_params_wFileSize.xml" | | | 683 | | "github614" | "-t {datasrc}/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | "summary:totalWarnings=4,summary:messageTypes:warning.data_objects.out_of_order=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | @@ -29,7 +29,7 @@ Feature: < 3.6 | 651 | | "github651" | "-t {datasrc}/M1431146123CC.xml" | | | 649 | | "github597" | "-R pds4.collection --skip-context-validation -t {datasrc}/spice_kernels/collection_spice_kernels_v003.xml" | "summary:productValidation:skipped=2" | | 644 | | "github644" | "-t {datasrc}/scam_0072_0673327336_185_cp2_scam01072_scct_41_irsalign_____04p04.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=1" | -| 631 | | "github631" | "-v 1 -t {datasrc}/hyb2_tir_20180629_075501_l1.xml" | "summary:totalWarnings=2,summary:messageTypes:info.label.context_ref_found=4,summary:messageTypes:info.label.filesize_matches=1,summary:messageTypes:info.label.local_identifier_found=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 631 | | "github631" | "-v 1 -t {datasrc}/hyb2_tir_20180629_075501_l1.xml" | "summary:totalErrors=24,summary:totalWarnings=20,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=3,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=19,summary:messageTypes:info.label.context_ref_found=4,summary:messageTypes:info.label.filesize_matches=1,summary:messageTypes:info.label.local_identifier_found=2,summary:messageTypes:warning.label.context_ref_mismatch=2,summary:messageTypes:warning.label.schema=18" | | 628 | | "github628" | "--skip-content-validation --disable-context-mismatch-warnings -t {datasrc}/mp2_flat_20061109.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schema=1" | | 617 | | "github617" | "--skip-content-validation -t {datasrc}/uvis_euv_2005_159_solar_time_series_ingress.xml" | "summary:totalWarnings=1,summary:messageTypes:error.validation.file_naming_problem=1" | | 616 | | "github616" | "--skip-context-validation -t {datasrc}/mre_cal_sc_ttcp_delay_schulte_01s_2021069.xml" | | @@ -72,7 +72,7 @@ Feature: < 3.6 | 435 | | "github435" | "-R pds4.label -t {datasrc}/flat_w.xml" | | | 432 | | "github432" | "-R pds4.bundle -t {datasrc}/bundle-voyager1-pls-sat-1.0.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.integrity.reference_not_found=1" | | 429 | | "github429" | "-R pds4.label --disable-context-mismatch-warnings -t {datasrc}/EPPS_EDR_SIS.xml" | | -| 427 | | "github427" | "--skip-context-validation -t {datasrc}/dir%20with%20spaces/rs_20160518_014000_udsc64_l3_e_v10.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=2" | +| 427 | | "github427" | "--skip-context-validation -t {datasrc}/dir%20with%20spaces/rs_20160518_014000_udsc64_l3_e_v10.xml" | "summary:totalErrors=16,summary:totalWarnings=14,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=13,summary:messageTypes:warning.label.schema=12,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=2" | | 424 | 1 | "github424" | "-R pds4.label -t {datasrc}/asurpif_photos_amboycrater_v1.0_20211021_sip_v1.0.xml" | | | 424 | 2 | "github424" | "-R pds4.label -t {datasrc}/asurpif_photos_amboycrater_v1.0_20211021_aip_v1.0.xml" | | | 419 | | "github419" | "-R pds4.label --disable-context-mismatch-warnings -t {datasrc}/bundle_astromat_chem.xml" | | @@ -204,7 +204,7 @@ Feature: < 3.6 | 51 | 1 | "github51" | "--skip-content-validation --skip-context-validation -t {datasrc}/valid" | | | 51 | 2 | "github51" | "-R pds4.bundle --alternate_file_paths src/test/resources/github51_additionals/additional_dir1/data_spectra,src/test/resources/github51_additionals/additional_dir2/data_spectra --skip-product-validation --skip-content-validation -t {datasrc}/valid" | "summary:totalWarnings=7,summary:messageTypes:info.validation.general=2,summary:messageTypes:warning.integrity.reference_not_found=5" | | 50 | 1 | "github50" | "--skip-content-validation --skip-context-validation --target-manifest {datasrc}/target-manifest.xml" | | -| 50 | 2 | "github50" | "--target-manifest {datasrc}/target-manifest.xml -t {datasrc}/ele_evt_8hr_orbit_2014-2015.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.missing_file=1" | +| 50 | 2 | "github50" | "--target-manifest {datasrc}/target-manifest.xml -t {datasrc}/ele_evt_8hr_orbit_2014-2015.xml" | "summary:totalErrors=3,summary:totalWarnings=3,summary:productValidation:failed=3,summary:messageTypes:error.label.missing_file=3,summary:messageTypes:warning.label.context_ref_mismatch=3" | | 47 | 1 | "github47" | "--disable-context-mismatch-warnings -R pds4.label --skip-content-validation --skip-context-validation {datasrc}/test_context_products.xml" | | | 47 | 2 | "github47" | "-v1 --skip-content-validation --disable-context-mismatch-warnings -R pds4.label {datasrc}/test_context_products.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:info.label.context_ref_found=4,summary:messageTypes:info.label.context_ref_mismatch=3,summary:messageTypes:info.label.local_identifier_found=1" | | 28 | 1 | "github28" | "{datasrc}/test_add_context_products.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | From 9b64749ee39a227c83ac52ea547a78632b2dbf7b Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Fri, 24 Jan 2025 10:47:34 -0800 Subject: [PATCH 11/19] maybe last set of fixes --- src/test/java/cucumber/StepDefs.java | 4 +-- src/test/resources/features/pre.3.6.x.feature | 32 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/test/java/cucumber/StepDefs.java b/src/test/java/cucumber/StepDefs.java index e89e40495..3503de655 100644 --- a/src/test/java/cucumber/StepDefs.java +++ b/src/test/java/cucumber/StepDefs.java @@ -63,8 +63,8 @@ private List resolveArgumentStrings(String args) { } if (catalogNext) { catalogNext = false; - if (!this.createCatalogFile(this.normalize(arg), this.datasink.toAbsolutePath().toString())) { - arg = arg.replace("datasrc", "datasink"); + if (!this.createCatalogFile(this.normalize(arg), this.datasrc.toAbsolutePath().toString())) { + arg = arg.replace("{datasrc}", "{datasink}"); } } if (manifestNext) { diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index 39e942030..408759b2e 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -37,10 +37,10 @@ Feature: < 3.6 | 611 | | "github611" | "-t {datasrc}/GRD-L1A-150313-150319_150625-BGO.xml" | "summary:totalWarnings=9,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=9" | | 605 | | "github605" | "--skip-context-validation -t {datasrc}/video_and_audio.xml" | | | 604 | | "github604" | "--skip-context-validation -t {datasrc}/video.xml" | | -| 599 | 1 | "github599" | "--skip-context-validation -t {datasrc}/AREA_Camelot_1radii.xml" | | -| 599 | 2 | "github599" | "--skip-context-validation -x {datasrc}/PDS4_PDS_1I00.xsd -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1" | -| 599 | 3 | "github599" | "--skip-context-validation -S {datasrc}/PDS4_PDS_1I00.sch -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1" | -| 599 | 4 | "github599" | "--skip-context-validation -S {datasrc}/PDS4_PDS_1I00.sch -x {datasrc}/PDS4_PDS_1I00.xsd -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1" | +| 599 | 1 | "github599" | "--skip-context-validation -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schematron=1" | +| 599 | 2 | "github599" | "--skip-context-validation -x {datasrc}/PDS4_PDS_1I00.xsd -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1" | +| 599 | 3 | "github599" | "--skip-context-validation -S {datasrc}/PDS4_PDS_1I00.sch -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalErrors=1,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=1,summary:messageTypes:warning.label.schematron=1" | +| 599 | 4 | "github599" | "--skip-context-validation -S {datasrc}/PDS4_PDS_1I00.sch -x {datasrc}/PDS4_PDS_1I00.xsd -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalErrors=2,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1,summary:messageTypes:error.label.schematron=1,summary:messageTypes:warning.label.schematron=1" | | 597 | 1 | "github597" | "--skip-context-validation -R pds4.bundle -t {datasrc}" | "summary:totalWarnings=70,summary:productValidation:skipped=4,summary:messageTypes:warning.file.not_referenced_in_label=1,summary:messageTypes:warning.integrity.reference_not_found=69" | | 597 | 2 | "github562" | "-t {datasrc}" | | | 597 | 3 | "github561" | "-R pds4.collection --label-extension lblx --skip-context-validation -t {datasrc}" | | @@ -140,23 +140,23 @@ Feature: < 3.6 | 299 | 1 | "github299" | "-R pds4.label -t {datasrc}/valid/gbo_ast_fieber-beyer_spectra_v2.0_20210211_aip_v1.0.xml" | | | 299 | 2 | "github299" | "-R pds4.label -t {datasrc}/invalid/gbo_ast_fieber-beyer_spectra_v2.0_20210211_aip_v1.0.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=3" | | 298 | 1 | "github298" | "-R pds4.label --skip-context-validation {datasrc}/valid/sentences.xml" | | -| 298 | 2 | "github298" | "-R pds4.label --skip-context-validation {datasrc}/invalid/sentences.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.validation.invalid_field_value=1" | +| 298 | 2 | "github298" | "-R pds4.label --skip-context-validation {datasrc}/invalid/sentences.xml" | "summary:totalErrors=43,summary:productValidation:failed=1,summary:messageTypes:error.validation.invalid_field_value=43" | | 297 | 1 | "github297" | "--skip-context-validation -R pds4.label -t {datasrc}/valid/rimfax_rdr_0081_example.xml" | | | 297 | 2 | "github297" | "--skip-context-validation -R pds4.label -t {datasrc}/invalid/rimfax_rdr_0081_example.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_out_of_min_max_range=1" | | 294 | 1 | "github294" | "--skip-context-validation -R pds4.label -t {datasrc}/valid/minmax-error.xml" | | | 294 | 2 | "github294" | "--skip-context-validation -R pds4.label -t {datasrc}/invalid/minmax-error.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.records_mismatch=1" | | 292 | 1 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_VALID.xml" | | | 292 | 2 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_VALID.xml" | | -| 292 | 3 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_LF=1" | -| 292 | 4 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_CRLF=1" | -| 292 | 5 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_lf.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=1" | -| 292 | 6 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_crlf.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=1" | -| 292 | 7 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_lf.xml" | "summary:totalErrors=13,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=1,summary:messageTypes:error.table.field_value_data_type_mismatch=6,summary:messageTypes:error.table.missing_LF=4" | -| 292 | 8 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_crlf.xml" | "summary:totalErrors=4,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=1,summary:messageTypes:error.table.record_length_mismatch=1" | +| 292 | 3 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_LF_FAIL.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_LF=1" | +| 292 | 4 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_delimited/kgrs_calibrated_spectra_per1_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_CRLF=1" | +| 292 | 5 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_lf.xml" | | +| 292 | 6 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/valid/minimal_test_product_crlf.xml" | | +| 292 | 7 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_lf.xml" | "summary:totalErrors=10,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=6,summary:messageTypes:error.table.missing_LF=4" | +| 292 | 8 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/table_character/invalid/minimal_test_product_crlf.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.record_length_mismatch=1" | | 292 | 9 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_VALID.xml" | | | 292 | 10 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_VALID.xml" | | -| 292 | 11 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_LF=1" | -| 292 | 12 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_FAIL.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_CRLF=1" | +| 292 | 11 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_LF_FAIL.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_LF=3" | +| 292 | 12 | "github292" | "--skip-context-validation -C {datasink}/catalog.xml -schema src/test/resources/github292/pds/v1/PDS4_PDS_1G00.xsd -schematron src/test/resources/github292/pds/v1/PDS4_PDS_1G00.sch -R pds4.label -t {datasrc}/inventory/collection_eetable_inventory_CRLF_FAIL.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_CRLF=3" | | 291 | 1 | "github291" | "--skip-context-validation -R pds4.bundle -t {datasrc}/valid/bundle_kaguya_derived.xml" | "summary:totalWarnings=8,summary:productValidation:skipped=6,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=2" | | 291 | 2 | "github291" | "--skip-context-validation -R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalWarnings=10,summary:productValidation:skipped=6,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=2,summary:messageTypes:warning.label.bad_schematypens=1,summary:messageTypes:warning.label.missing_schematron_spec=1" | | 281 | 1 | "github281" | "-R pds4.label {datasrc}/invalid/collection_gwe_spk_invalid_1_bad_filesize.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.label.filesize_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | @@ -190,13 +190,13 @@ Feature: < 3.6 | 149 | 2 | "github173" | "--skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | | | 137 | 1 | "github137" | "-t {datasrc}/delimited_table_good.xml" | "summary:totalErrors=4,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=3,summary:messageTypes:error.label.filesize_mismatch=1" | | 137 | 2 | "github137" | "-t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=5,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=3,summary:messageTypes:error.table.field_value_data_type_mismatch=2" | -| 87 | | "github87" | "-R pds4.label --skip-content-validation -t {datasrc}/2t126632959btr0200p3002n0a1.xml {datasrc}/2t126646972btr0200p3001n0a1.xml -C {datasink}/catalog.xml" | | +| 87 | | "github87" | "-R pds4.label --skip-content-validation -t {datasrc}/2t126632959btr0200p3002n0a1.xml {datasrc}/2t126646972btr0200p3001n0a1.xml -C {datasink}/catalog.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | | 84 | 1 | "github84" | "--no-data-check -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=1" | | 84 | 2 | "github84" | "--skip-content-validation --skip-context-validation -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schema=1" | | 71 | 1 | "github71" | "-C {datasrc}/catalog.xml --skip-content-validation --skip-context-validation -t {datasrc}/ELE_MOM.xml" | "summary:totalErrors=9,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=5,summary:messageTypes:warning.label.schema=3" | | 71 | 2 | "github71" | "-C {datasrc}/catalog.xml --skip-context-validation -t {datasrc}/ELE_MOM_2.xml" | "summary:totalErrors=9,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=5,summary:messageTypes:warning.label.schema=3" | -| 62 | 1 | "github62" | "-v1 --no-data-check -t {datasrc}/ele_mom_tblChar.xml" | "summary:totalErrors=0,summary:totalWarnings=0,summary:messageTypes:info.label.context_ref_found=1" | -| 62 | 2 | "github62" | "-v1 --no-data-check -t {datasrc}/spacecraft.orex_1.1.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:info.label.context_ref_found=1,summary:messageTypes:error.label.context_ref_not_found=1" | +| 62 | 1 | "github62" | "-v1 --no-data-check -t {datasrc}/ele_mom_tblChar.xml" | "summary:totalErrors=4,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:error.label.schema=1,summary:messageTypes:error.label.schematron=1,summary:messageTypes:error.label.table_definition_problem=1,summary:messageTypes:info.label.context_ref_found=3,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=1,summary:messageTypes:warning.label.schematron=1" | +| 62 | 2 | "github62" | "-v1 --no-data-check -t {datasrc}/spacecraft.orex_1.1.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:info.label.context_ref_found=7" | | 57 | 1 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57a_valid.xml" | "summary:totalWarnings=5,summary:messageTypes:warning.table.characters_between_fields=5" | | 57 | 2 | "github57" | "-R pds4.label --skip-context-validation -t {datasrc}/validate_57a_valid.xml" | | | 57 | 3 | "github57" | "-R pds4.label --strict-field-checks --skip-context-validation -t {datasrc}/validate_57a_invalid.xml" | "summary:totalErrors=4,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=2,summary:messageTypes:error.table.records_mismatch=1,summary:messageTypes:info.validation.general=1" | From d6ae5e45f088daca577cafa07305ff87ea76f687 Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Fri, 24 Jan 2025 12:46:17 -0800 Subject: [PATCH 12/19] all tests should pass Bulk of the work is done. Made the report.json match (give or take) for the tests from when run on main as well. If they are wrong, they are as wrong as they ere anyway. Added a new test function for running single scenerios as though typed in on the command line. cut-n-paste is no longer your friend when translating scenerios to command lines. However, what it should look like is printed out so you can just grab it from there now. --- src/test/java/cucumber/StepDefs.java | 30 ++++++--- .../RunFeatureScenerioAsValidateFromCLI.java | 61 +++++++++++++++++++ .../resources/github50/target-manifest.xml | 2 + 3 files changed, 83 insertions(+), 10 deletions(-) create mode 100644 src/test/java/gov/nasa/pds/validate/RunFeatureScenerioAsValidateFromCLI.java create mode 100644 src/test/resources/github50/target-manifest.xml diff --git a/src/test/java/cucumber/StepDefs.java b/src/test/java/cucumber/StepDefs.java index 3503de655..425559696 100644 --- a/src/test/java/cucumber/StepDefs.java +++ b/src/test/java/cucumber/StepDefs.java @@ -5,6 +5,7 @@ import java.io.BufferedWriter; import java.io.FileReader; import java.io.FileWriter; +import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; import java.nio.file.Paths; @@ -32,8 +33,8 @@ public class StepDefs { * @throws java.lang.Exception */ void setUp() throws Exception { - FileUtils.forceMkdir(this.datasink.toFile()); // Create directory if one does not already exist. System.setProperty("resources.home", TestConstants.RESOURCES_DIR); + this.makeSink(); this.launcher = new ValidateLauncher(); this.datasink.resolve("cucumber.success").toFile().delete(); this.datasink.resolve("cucumber.failed").toFile().createNewFile(); @@ -47,16 +48,23 @@ void tearDown() throws Exception { CrossLabelFileAreaReferenceChecker.reset(); } + public void makeSink() throws IOException { + FileUtils.forceMkdir(this.datasink.toFile()); // Create directory if one does not already exist. + } private String normalize (String s) { return s .replace("{datasink}", this.datasink.toAbsolutePath().toString()) .replace("{datasrc}", this.datasrc.toAbsolutePath().toString()) .replace("%20", " "); } - private List resolveArgumentStrings(String args) { + public List resolveArgumentStrings(String args, boolean noReportInArgs) { boolean catalogNext = false, manifestNext = false; - List resolved = new ArrayList(Arrays.asList("--report-file", - this.datasink.resolve("report.json").toString(), "--report-style", "json")); + List resolved = new ArrayList(); + + if (noReportInArgs) { + resolved.addAll(Arrays.asList("--report-file", + this.datasink.resolve("report.json").toString(), "--report-style", "json")); + } for (String arg : args.split("\\s+")) { if (arg.contains("{reportDir}") || arg.contains("{resourceDir}")) { throw new IllegalArgumentException("{reportDir} and {resourceDir} are no longer valid."); @@ -82,11 +90,13 @@ private List resolveArgumentStrings(String args) { if (arg.equals("-C") || arg.equals("--catalog")) { catalogNext = true; } - if (arg.equals("-r}") || arg.equals("--report-file")) { - throw new IllegalArgumentException("Defining the report file is no longer valid."); - } - if (arg.equals("-s") || arg.equals("--report-style")) { - throw new IllegalArgumentException("{Defining the report style is no longer valid."); + if (noReportInArgs) { + if (arg.equals("-r}") || arg.equals("--report-file")) { + throw new IllegalArgumentException("Defining the report file is no longer valid."); + } + if (arg.equals("-s") || arg.equals("--report-style")) { + throw new IllegalArgumentException("{Defining the report style is no longer valid."); + } } if (arg.equals("--target-manifest") ) { manifestNext = true; @@ -110,9 +120,9 @@ public void an_and(Integer issueNumber, Integer count, String datasrc) { @When("execute validate with {string}") public void execute_validate(String args) { - List arguments = this.resolveArgumentStrings(args); try { this.setUp(); + List arguments = this.resolveArgumentStrings(args, true); this.launcher.processMain(arguments.toArray(new String[0])); this.tearDown(); } catch (ExitException e) { diff --git a/src/test/java/gov/nasa/pds/validate/RunFeatureScenerioAsValidateFromCLI.java b/src/test/java/gov/nasa/pds/validate/RunFeatureScenerioAsValidateFromCLI.java new file mode 100644 index 000000000..78d099df8 --- /dev/null +++ b/src/test/java/gov/nasa/pds/validate/RunFeatureScenerioAsValidateFromCLI.java @@ -0,0 +1,61 @@ +package gov.nasa.pds.validate; + +import java.io.File; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Paths; +import java.util.ArrayList; +import javax.xml.transform.TransformerConfigurationException; +import cucumber.StepDefs; +import gov.nasa.pds.validate.constants.TestConstants; + +public class RunFeatureScenerioAsValidateFromCLI { + public static void main(String[] args) throws IOException, TransformerConfigurationException { + if (args.length > 2) { + System.out.println ("usage: "); + System.out.println (" is the first column in the feature file like 1066"); + System.out.println (" is the second column and should be omitted if there are no subtests for the "); + return; + } + + ArrayList validate_args = new ArrayList(); + for (File file : Paths.get(TestConstants.TEST_DATA_DIR, "features").toFile().listFiles((dir, name) -> name.endsWith(".feature"))) { + for (String line : Files.readAllLines(file.toPath())) { + line = line.strip(); + if (line.startsWith("|")) { + String[] scenerio = line.split("\\|"); + if (scenerio[1].strip().equals(args[0])) { + if (args.length == 1 && !scenerio[2].strip().isBlank()) { + System.out.println ("Scenerio " + args[0] + " requires a subtest value too."); + return; + } + if (args.length == 2 && scenerio[2].strip().isBlank()) { + System.out.println ("Scenerio " + args[0] + " does not require a subtest value."); + return; + } + if (args.length == 2 && !args[1].equals(scenerio[2].strip())) continue; + StepDefs helper = new StepDefs(); + helper.an_and( + Integer.valueOf(scenerio[1].strip()), + args.length == 1 ? null : Integer.valueOf(scenerio[2].strip()), + scenerio[3].strip().substring(1, scenerio[3].strip().length()-1)); + validate_args.addAll(helper.resolveArgumentStrings(scenerio[4].strip().substring(1,scenerio[4].strip().length()-1), false)); + break; + } + } + } + if (validate_args.size() > 0) break; + } + if (validate_args.size() == 0) { + System.out.print ("Could not find issue number " + args[0]); + if (args.length == 2) System.out.print (" and subtest " + args[1]); + System.out.println(); + return; + } + System.out.println ("Same as: validate " + String.join(" ", validate_args)); + if (System.getProperty("resources.home") == null) { + System.setProperty("resources.home", TestConstants.RESOURCES_DIR); + } + ValidateLauncher.main(validate_args.toArray(new String[0])); + } +} diff --git a/src/test/resources/github50/target-manifest.xml b/src/test/resources/github50/target-manifest.xml new file mode 100644 index 000000000..cc7b7a3c6 --- /dev/null +++ b/src/test/resources/github50/target-manifest.xml @@ -0,0 +1,2 @@ +{datasrc}/ele_evt_12hr_orbit_2011-2012.xml +{datasrc}/ele_evt_8hr_orbit_2012-2013.xml From 353f3276451ce91cbe23fd10097dc849e0f6b5b7 Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Fri, 24 Jan 2025 13:41:17 -0800 Subject: [PATCH 13/19] removed local file and cleaned up expectation --- src/test/resources/features/pre.3.6.x.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index 408759b2e..8e40f95b0 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -41,7 +41,7 @@ Feature: < 3.6 | 599 | 2 | "github599" | "--skip-context-validation -x {datasrc}/PDS4_PDS_1I00.xsd -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1" | | 599 | 3 | "github599" | "--skip-context-validation -S {datasrc}/PDS4_PDS_1I00.sch -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalErrors=1,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=1,summary:messageTypes:warning.label.schematron=1" | | 599 | 4 | "github599" | "--skip-context-validation -S {datasrc}/PDS4_PDS_1I00.sch -x {datasrc}/PDS4_PDS_1I00.xsd -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalErrors=2,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1,summary:messageTypes:error.label.schematron=1,summary:messageTypes:warning.label.schematron=1" | -| 597 | 1 | "github597" | "--skip-context-validation -R pds4.bundle -t {datasrc}" | "summary:totalWarnings=70,summary:productValidation:skipped=4,summary:messageTypes:warning.file.not_referenced_in_label=1,summary:messageTypes:warning.integrity.reference_not_found=69" | +| 597 | 1 | "github597" | "--skip-context-validation -R pds4.bundle -t {datasrc}" | "summary:totalWarnings=69,summary:productValidation:skipped=4,summary:messageTypes:warning.integrity.reference_not_found=69" | | 597 | 2 | "github562" | "-t {datasrc}" | | | 597 | 3 | "github561" | "-R pds4.collection --label-extension lblx --skip-context-validation -t {datasrc}" | | | 535 | 1 | "github535" | "-t {datasrc}/uvis_euv_2008_003_solar_time_series_ingress.xml --complete-descriptions" | "summary:totalWarnings=4,summary:messageTypes:warning.data.not_described=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | From 739c7cd614a55f70f363ec658cd8cfba82151317 Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Fri, 24 Jan 2025 14:10:39 -0800 Subject: [PATCH 14/19] catch up to modern day validate --- src/test/resources/features/pre.3.6.x.feature | 2 +- .../github217/success/{asc.tab => asc.01.tab} | 0 src/test/resources/github217/success/asc.02.tab | 3 +++ src/test/resources/github217/success/asc.03.tab | 3 +++ src/test/resources/github217/success/asc.04.tab | 3 +++ src/test/resources/github217/success/asc.05.tab | 3 +++ src/test/resources/github217/success/asc.06.tab | 3 +++ src/test/resources/github217/success/asc.07.tab | 3 +++ src/test/resources/github217/success/asc.08.tab | 3 +++ src/test/resources/github217/success/asc.09.tab | 3 +++ src/test/resources/github217/success/asc.10.tab | 3 +++ src/test/resources/github217/success/asc.11.tab | 3 +++ src/test/resources/github217/success/asc.12.tab | 3 +++ src/test/resources/github217/success/ascanc2.xml | 2 +- src/test/resources/github217/success/ascanc3.xml | 2 +- src/test/resources/github217/success/ascbro2.xml | 2 +- src/test/resources/github217/success/ascbro3.xml | 2 +- src/test/resources/github217/success/ascmet2.xml | 2 +- src/test/resources/github217/success/ascmet3.xml | 2 +- src/test/resources/github217/success/ascobs2.xml | 2 +- src/test/resources/github217/success/ascobs3.xml | 2 +- src/test/resources/github217/success/ascsup2.xml | 4 ++-- src/test/resources/github217/success/ascsup3.xml | 4 ++-- .../github217/success/{bin.dat => bin.01.dat} | Bin src/test/resources/github217/success/bin.02.dat | Bin 0 -> 246 bytes src/test/resources/github217/success/bin.03.dat | Bin 0 -> 246 bytes src/test/resources/github217/success/bin.04.dat | Bin 0 -> 246 bytes src/test/resources/github217/success/bin.05.dat | Bin 0 -> 246 bytes src/test/resources/github217/success/bin.06.dat | Bin 0 -> 246 bytes src/test/resources/github217/success/bin.07.dat | Bin 0 -> 246 bytes src/test/resources/github217/success/bin.08.dat | Bin 0 -> 246 bytes src/test/resources/github217/success/bin.09.dat | Bin 0 -> 246 bytes src/test/resources/github217/success/bin.10.dat | Bin 0 -> 246 bytes src/test/resources/github217/success/binanc2.xml | 2 +- src/test/resources/github217/success/binanc3.xml | 2 +- src/test/resources/github217/success/binbro2.xml | 2 +- src/test/resources/github217/success/binbro3.xml | 2 +- src/test/resources/github217/success/binobs2.xml | 2 +- src/test/resources/github217/success/binobs3.xml | 2 +- src/test/resources/github217/success/binsup2.xml | 4 ++-- src/test/resources/github217/success/binsup3.xml | 4 ++-- .../github217/success/{del.csv => del.01.csv} | 0 src/test/resources/github217/success/del.02.csv | 5 +++++ src/test/resources/github217/success/del.03.csv | 5 +++++ src/test/resources/github217/success/del.04.csv | 5 +++++ src/test/resources/github217/success/del.05.csv | 5 +++++ src/test/resources/github217/success/del.06.csv | 5 +++++ src/test/resources/github217/success/del.07.csv | 5 +++++ src/test/resources/github217/success/del.08.csv | 5 +++++ src/test/resources/github217/success/del.09.csv | 5 +++++ src/test/resources/github217/success/del.10.csv | 5 +++++ src/test/resources/github217/success/del.11.csv | 5 +++++ src/test/resources/github217/success/del.12.csv | 5 +++++ src/test/resources/github217/success/delanc2.xml | 2 +- src/test/resources/github217/success/delanc3.xml | 2 +- src/test/resources/github217/success/delbro2.xml | 2 +- src/test/resources/github217/success/delbro3.xml | 2 +- .../success/{delinv.csv => delinv.01.csv} | 0 .../resources/github217/success/delinv.02.csv | 3 +++ src/test/resources/github217/success/delinv2.xml | 2 +- src/test/resources/github217/success/delinv3.xml | 2 +- src/test/resources/github217/success/delmet2.xml | 2 +- src/test/resources/github217/success/delmet3.xml | 2 +- src/test/resources/github217/success/delobs2.xml | 2 +- src/test/resources/github217/success/delobs3.xml | 2 +- src/test/resources/github217/success/delsup2.xml | 4 ++-- src/test/resources/github217/success/delsup3.xml | 4 ++-- 67 files changed, 128 insertions(+), 37 deletions(-) rename src/test/resources/github217/success/{asc.tab => asc.01.tab} (100%) create mode 100644 src/test/resources/github217/success/asc.02.tab create mode 100644 src/test/resources/github217/success/asc.03.tab create mode 100644 src/test/resources/github217/success/asc.04.tab create mode 100644 src/test/resources/github217/success/asc.05.tab create mode 100644 src/test/resources/github217/success/asc.06.tab create mode 100644 src/test/resources/github217/success/asc.07.tab create mode 100644 src/test/resources/github217/success/asc.08.tab create mode 100644 src/test/resources/github217/success/asc.09.tab create mode 100644 src/test/resources/github217/success/asc.10.tab create mode 100644 src/test/resources/github217/success/asc.11.tab create mode 100644 src/test/resources/github217/success/asc.12.tab rename src/test/resources/github217/success/{bin.dat => bin.01.dat} (100%) create mode 100644 src/test/resources/github217/success/bin.02.dat create mode 100644 src/test/resources/github217/success/bin.03.dat create mode 100644 src/test/resources/github217/success/bin.04.dat create mode 100644 src/test/resources/github217/success/bin.05.dat create mode 100644 src/test/resources/github217/success/bin.06.dat create mode 100644 src/test/resources/github217/success/bin.07.dat create mode 100644 src/test/resources/github217/success/bin.08.dat create mode 100644 src/test/resources/github217/success/bin.09.dat create mode 100644 src/test/resources/github217/success/bin.10.dat rename src/test/resources/github217/success/{del.csv => del.01.csv} (100%) create mode 100644 src/test/resources/github217/success/del.02.csv create mode 100644 src/test/resources/github217/success/del.03.csv create mode 100644 src/test/resources/github217/success/del.04.csv create mode 100644 src/test/resources/github217/success/del.05.csv create mode 100644 src/test/resources/github217/success/del.06.csv create mode 100644 src/test/resources/github217/success/del.07.csv create mode 100644 src/test/resources/github217/success/del.08.csv create mode 100644 src/test/resources/github217/success/del.09.csv create mode 100644 src/test/resources/github217/success/del.10.csv create mode 100644 src/test/resources/github217/success/del.11.csv create mode 100644 src/test/resources/github217/success/del.12.csv rename src/test/resources/github217/success/{delinv.csv => delinv.01.csv} (100%) create mode 100644 src/test/resources/github217/success/delinv.02.csv diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index 8e40f95b0..ed1a1028c 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -171,7 +171,7 @@ Feature: < 3.6 | 240 | 2 | "github240" | "-R pds4.bundle --skip-context-validation {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalWarnings=13,summary:productValidation:skipped=6,summary:messageTypes:warning.file.not_referenced_in_label=5,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1,summary:messageTypes:warning.sub_directory.unallowed_name=3" | | 230 | 1 | "github230" | "--skip-content-validation -R pds4.bundle -t {datasrc}/invalid/cocirs_c2h4abund/bundle_cocirs_c2h4abund.xml" | "summary:totalErrors=2,summary:totalWarnings=19,summary:referentialIntegrity:failed=1,summary:messageTypes:error.integrity.missing_version=2,summary:messageTypes:warning.label.context_ref_mismatch=18,summary:messageTypes:warning.label.schema=1" | | 230 | 2 | "github230" | "--skip-content-validation -R pds4.bundle -t {datasrc}/valid/cocirs_c2h4abund/bundle_cocirs_c2h4abund.xml" | "summary:totalWarnings=19,summary:messageTypes:warning.label.context_ref_mismatch=18,summary:messageTypes:warning.label.schema=1" | -| 217 | 1 | "github217" | "-t {datasrc}/success/" | "summary:totalErrors=28,summary:totalWarnings=9,summary:productValidation:failed=22,summary:messageTypes:error.label.file_areas_duplicated_reference=28,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=8" | +| 217 | 1 | "github217" | "--skip-context-validation -t {datasrc}/success/" | "summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | | 217 | 2 | "github217" | "-t {datasrc}/fail/delmet4.xml {datasrc}/fail/binobs4.xml {datasrc}/fail/delobs4.xml {datasrc}/fail/delinv4.xml {datasrc}/fail/ascbro4.xml {datasrc}/fail/delsup4.xml {datasrc}/fail/delanc4.xml {datasrc}/fail/binanc4.xml {datasrc}/fail/binsup4.xml {datasrc}/fail/ascsup4.xml {datasrc}/fail/delbro4.xml {datasrc}/fail/ascanc4.xml {datasrc}/fail/binbro4.xml {datasrc}/fail/ascmet4.xml {datasrc}/fail/ascobs4.xml" | "summary:totalErrors=29,summary:totalWarnings=5,summary:productValidation:failed=15,summary:messageTypes:error.label.file_areas_duplicated_reference=14,summary:messageTypes:error.label.table_definition_problem=9,summary:messageTypes:error.table.records_mismatch=6,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=4" | | 217 | 3 | "github217" | "-t {datasrc}/fail/delmet4.xml {datasrc}/fail/binobs4.xml {datasrc}/fail/delobs4.xml {datasrc}/fail/delinv4.xml {datasrc}/fail/ascbro4.xml {datasrc}/fail/delsup4.xml {datasrc}/fail/delanc4.xml {datasrc}/fail/binanc4.xml {datasrc}/fail/binsup4.xml {datasrc}/fail/ascsup4.xml {datasrc}/fail/delbro4.xml {datasrc}/fail/ascanc4.xml {datasrc}/fail/binbro4.xml {datasrc}/fail/ascmet4.xml {datasrc}/fail/ascobs4.xml" | "summary:totalErrors=29,summary:totalWarnings=5,summary:productValidation:failed=15,summary:messageTypes:error.label.file_areas_duplicated_reference=14,summary:messageTypes:error.label.table_definition_problem=9,summary:messageTypes:error.table.records_mismatch=6,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=4" | | 210 | | "github210" | "--skip-content-validation -t {datasrc}/bundle_cassini-huygens-coradar.xml {datasrc}/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | diff --git a/src/test/resources/github217/success/asc.tab b/src/test/resources/github217/success/asc.01.tab similarity index 100% rename from src/test/resources/github217/success/asc.tab rename to src/test/resources/github217/success/asc.01.tab diff --git a/src/test/resources/github217/success/asc.02.tab b/src/test/resources/github217/success/asc.02.tab new file mode 100644 index 000000000..2697bf7b8 --- /dev/null +++ b/src/test/resources/github217/success/asc.02.tab @@ -0,0 +1,3 @@ +1 717.42 +2 725.13 +3 732.85 diff --git a/src/test/resources/github217/success/asc.03.tab b/src/test/resources/github217/success/asc.03.tab new file mode 100644 index 000000000..2697bf7b8 --- /dev/null +++ b/src/test/resources/github217/success/asc.03.tab @@ -0,0 +1,3 @@ +1 717.42 +2 725.13 +3 732.85 diff --git a/src/test/resources/github217/success/asc.04.tab b/src/test/resources/github217/success/asc.04.tab new file mode 100644 index 000000000..2697bf7b8 --- /dev/null +++ b/src/test/resources/github217/success/asc.04.tab @@ -0,0 +1,3 @@ +1 717.42 +2 725.13 +3 732.85 diff --git a/src/test/resources/github217/success/asc.05.tab b/src/test/resources/github217/success/asc.05.tab new file mode 100644 index 000000000..2697bf7b8 --- /dev/null +++ b/src/test/resources/github217/success/asc.05.tab @@ -0,0 +1,3 @@ +1 717.42 +2 725.13 +3 732.85 diff --git a/src/test/resources/github217/success/asc.06.tab b/src/test/resources/github217/success/asc.06.tab new file mode 100644 index 000000000..2697bf7b8 --- /dev/null +++ b/src/test/resources/github217/success/asc.06.tab @@ -0,0 +1,3 @@ +1 717.42 +2 725.13 +3 732.85 diff --git a/src/test/resources/github217/success/asc.07.tab b/src/test/resources/github217/success/asc.07.tab new file mode 100644 index 000000000..2697bf7b8 --- /dev/null +++ b/src/test/resources/github217/success/asc.07.tab @@ -0,0 +1,3 @@ +1 717.42 +2 725.13 +3 732.85 diff --git a/src/test/resources/github217/success/asc.08.tab b/src/test/resources/github217/success/asc.08.tab new file mode 100644 index 000000000..2697bf7b8 --- /dev/null +++ b/src/test/resources/github217/success/asc.08.tab @@ -0,0 +1,3 @@ +1 717.42 +2 725.13 +3 732.85 diff --git a/src/test/resources/github217/success/asc.09.tab b/src/test/resources/github217/success/asc.09.tab new file mode 100644 index 000000000..2697bf7b8 --- /dev/null +++ b/src/test/resources/github217/success/asc.09.tab @@ -0,0 +1,3 @@ +1 717.42 +2 725.13 +3 732.85 diff --git a/src/test/resources/github217/success/asc.10.tab b/src/test/resources/github217/success/asc.10.tab new file mode 100644 index 000000000..2697bf7b8 --- /dev/null +++ b/src/test/resources/github217/success/asc.10.tab @@ -0,0 +1,3 @@ +1 717.42 +2 725.13 +3 732.85 diff --git a/src/test/resources/github217/success/asc.11.tab b/src/test/resources/github217/success/asc.11.tab new file mode 100644 index 000000000..2697bf7b8 --- /dev/null +++ b/src/test/resources/github217/success/asc.11.tab @@ -0,0 +1,3 @@ +1 717.42 +2 725.13 +3 732.85 diff --git a/src/test/resources/github217/success/asc.12.tab b/src/test/resources/github217/success/asc.12.tab new file mode 100644 index 000000000..2697bf7b8 --- /dev/null +++ b/src/test/resources/github217/success/asc.12.tab @@ -0,0 +1,3 @@ +1 717.42 +2 725.13 +3 732.85 diff --git a/src/test/resources/github217/success/ascanc2.xml b/src/test/resources/github217/success/ascanc2.xml index acd167f4b..46f3fb4bd 100644 --- a/src/test/resources/github217/success/ascanc2.xml +++ b/src/test/resources/github217/success/ascanc2.xml @@ -51,7 +51,7 @@ - asc.tab + asc.01.tab Wavelength_File 2018-07-19T10:52:00 diff --git a/src/test/resources/github217/success/ascanc3.xml b/src/test/resources/github217/success/ascanc3.xml index 747b85c59..bdd65a758 100644 --- a/src/test/resources/github217/success/ascanc3.xml +++ b/src/test/resources/github217/success/ascanc3.xml @@ -51,7 +51,7 @@ - asc.tab + asc.02.tab Wavelength_File 2018-07-19T10:52:00 diff --git a/src/test/resources/github217/success/ascbro2.xml b/src/test/resources/github217/success/ascbro2.xml index 8c21d2262..3c09a2da1 100644 --- a/src/test/resources/github217/success/ascbro2.xml +++ b/src/test/resources/github217/success/ascbro2.xml @@ -36,7 +36,7 @@ stellar occultation of star u17b (Hipparcos 80841) Observed by the SAAO 188cm Te - asc.tab + asc.03.tab 2020-01-29T18:55:43Z This figure shows the altitude (in degrees) of Uranus and the sun relative to the horizon over the duration of the stellar occultation of star u17b (Hipparcos 80841) Observed by the SAAO 188cm Telescope, diff --git a/src/test/resources/github217/success/ascbro3.xml b/src/test/resources/github217/success/ascbro3.xml index 07d396bad..327b35a69 100644 --- a/src/test/resources/github217/success/ascbro3.xml +++ b/src/test/resources/github217/success/ascbro3.xml @@ -36,7 +36,7 @@ stellar occultation of star u17b (Hipparcos 80841) Observed by the SAAO 188cm Te - asc.tab + asc.04.tab 2020-01-29T18:55:43Z This figure shows the altitude (in degrees) of Uranus and the sun relative to the horizon over the duration of the stellar occultation of star u17b (Hipparcos 80841) Observed by the SAAO 188cm Telescope, diff --git a/src/test/resources/github217/success/ascmet2.xml b/src/test/resources/github217/success/ascmet2.xml index 239b91723..224bac3a1 100644 --- a/src/test/resources/github217/success/ascmet2.xml +++ b/src/test/resources/github217/success/ascmet2.xml @@ -21,7 +21,7 @@ - asc.tab + asc.05.tab Wavelength_File 2018-07-19T10:52:00 diff --git a/src/test/resources/github217/success/ascmet3.xml b/src/test/resources/github217/success/ascmet3.xml index 29a522170..c405e77b4 100644 --- a/src/test/resources/github217/success/ascmet3.xml +++ b/src/test/resources/github217/success/ascmet3.xml @@ -21,7 +21,7 @@ - asc.tab + asc.06.tab Wavelength_File 2018-07-19T10:52:00 diff --git a/src/test/resources/github217/success/ascobs2.xml b/src/test/resources/github217/success/ascobs2.xml index 937be2eff..67d5f8049 100644 --- a/src/test/resources/github217/success/ascobs2.xml +++ b/src/test/resources/github217/success/ascobs2.xml @@ -52,7 +52,7 @@ - asc.tab + asc.07.tab Wavelength_File 2018-07-19T10:52:00 diff --git a/src/test/resources/github217/success/ascobs3.xml b/src/test/resources/github217/success/ascobs3.xml index 16912d925..36e200953 100644 --- a/src/test/resources/github217/success/ascobs3.xml +++ b/src/test/resources/github217/success/ascobs3.xml @@ -52,7 +52,7 @@ - asc.tab + asc.08.tab Wavelength_File 2018-07-19T10:52:00 diff --git a/src/test/resources/github217/success/ascsup2.xml b/src/test/resources/github217/success/ascsup2.xml index ac2d7de1b..185003589 100644 --- a/src/test/resources/github217/success/ascsup2.xml +++ b/src/test/resources/github217/success/ascsup2.xml @@ -68,7 +68,7 @@ - asc.tab + asc.09.tab 2020-01-29T18:55:43Z This figure shows the altitude (in degrees) of Uranus and the sun relative to the horizon over the duration of the stellar occultation of star u17b (Hipparcos 80841) Observed by the SAAO 188cm Telescope, @@ -85,7 +85,7 @@ times are shown as filled circles, with selected ring features individually labe - asc.tab + asc.10.tab 2016-07-13T15:33:44Z This file provides some supplemental information regarding input parameters. diff --git a/src/test/resources/github217/success/ascsup3.xml b/src/test/resources/github217/success/ascsup3.xml index eee3a3267..1c1ba6451 100644 --- a/src/test/resources/github217/success/ascsup3.xml +++ b/src/test/resources/github217/success/ascsup3.xml @@ -68,7 +68,7 @@ - asc.tab + asc.11.tab 2020-01-29T18:55:43Z This figure shows the altitude (in degrees) of Uranus and the sun relative to the horizon over the duration of the stellar occultation of star u17b (Hipparcos 80841) Observed by the SAAO 188cm Telescope, @@ -85,7 +85,7 @@ times are shown as filled circles, with selected ring features individually labe - asc.tab + asc.12.tab 2016-07-13T15:33:44Z This file provides some supplemental information regarding input parameters. diff --git a/src/test/resources/github217/success/bin.dat b/src/test/resources/github217/success/bin.01.dat similarity index 100% rename from src/test/resources/github217/success/bin.dat rename to src/test/resources/github217/success/bin.01.dat diff --git a/src/test/resources/github217/success/bin.02.dat b/src/test/resources/github217/success/bin.02.dat new file mode 100644 index 0000000000000000000000000000000000000000..15b1ee33820757ec493288b27af740aacc281153 GIT binary patch literal 246 zcmXrkH!!s{H!?7_u(Z%KurxL@VE}^-`+t}U9SuBl(D4P3&&bHcu*ms=$A-ld55yca zYvnEdz5hzw@!ffSNA`o2KbYbGrh$Yps)?4SMi7}L`+w&PV>MCq{00v;pozETj#lTw nOuT`^L_?rc4Im~?*#B>(2v!r*p7?!~2AcR)qTjL*(?l)+#mr4( literal 0 HcmV?d00001 diff --git a/src/test/resources/github217/success/bin.03.dat b/src/test/resources/github217/success/bin.03.dat new file mode 100644 index 0000000000000000000000000000000000000000..15b1ee33820757ec493288b27af740aacc281153 GIT binary patch literal 246 zcmXrkH!!s{H!?7_u(Z%KurxL@VE}^-`+t}U9SuBl(D4P3&&bHcu*ms=$A-ld55yca zYvnEdz5hzw@!ffSNA`o2KbYbGrh$Yps)?4SMi7}L`+w&PV>MCq{00v;pozETj#lTw nOuT`^L_?rc4Im~?*#B>(2v!r*p7?!~2AcR)qTjL*(?l)+#mr4( literal 0 HcmV?d00001 diff --git a/src/test/resources/github217/success/bin.04.dat b/src/test/resources/github217/success/bin.04.dat new file mode 100644 index 0000000000000000000000000000000000000000..15b1ee33820757ec493288b27af740aacc281153 GIT binary patch literal 246 zcmXrkH!!s{H!?7_u(Z%KurxL@VE}^-`+t}U9SuBl(D4P3&&bHcu*ms=$A-ld55yca zYvnEdz5hzw@!ffSNA`o2KbYbGrh$Yps)?4SMi7}L`+w&PV>MCq{00v;pozETj#lTw nOuT`^L_?rc4Im~?*#B>(2v!r*p7?!~2AcR)qTjL*(?l)+#mr4( literal 0 HcmV?d00001 diff --git a/src/test/resources/github217/success/bin.05.dat b/src/test/resources/github217/success/bin.05.dat new file mode 100644 index 0000000000000000000000000000000000000000..15b1ee33820757ec493288b27af740aacc281153 GIT binary patch literal 246 zcmXrkH!!s{H!?7_u(Z%KurxL@VE}^-`+t}U9SuBl(D4P3&&bHcu*ms=$A-ld55yca zYvnEdz5hzw@!ffSNA`o2KbYbGrh$Yps)?4SMi7}L`+w&PV>MCq{00v;pozETj#lTw nOuT`^L_?rc4Im~?*#B>(2v!r*p7?!~2AcR)qTjL*(?l)+#mr4( literal 0 HcmV?d00001 diff --git a/src/test/resources/github217/success/bin.06.dat b/src/test/resources/github217/success/bin.06.dat new file mode 100644 index 0000000000000000000000000000000000000000..15b1ee33820757ec493288b27af740aacc281153 GIT binary patch literal 246 zcmXrkH!!s{H!?7_u(Z%KurxL@VE}^-`+t}U9SuBl(D4P3&&bHcu*ms=$A-ld55yca zYvnEdz5hzw@!ffSNA`o2KbYbGrh$Yps)?4SMi7}L`+w&PV>MCq{00v;pozETj#lTw nOuT`^L_?rc4Im~?*#B>(2v!r*p7?!~2AcR)qTjL*(?l)+#mr4( literal 0 HcmV?d00001 diff --git a/src/test/resources/github217/success/bin.07.dat b/src/test/resources/github217/success/bin.07.dat new file mode 100644 index 0000000000000000000000000000000000000000..15b1ee33820757ec493288b27af740aacc281153 GIT binary patch literal 246 zcmXrkH!!s{H!?7_u(Z%KurxL@VE}^-`+t}U9SuBl(D4P3&&bHcu*ms=$A-ld55yca zYvnEdz5hzw@!ffSNA`o2KbYbGrh$Yps)?4SMi7}L`+w&PV>MCq{00v;pozETj#lTw nOuT`^L_?rc4Im~?*#B>(2v!r*p7?!~2AcR)qTjL*(?l)+#mr4( literal 0 HcmV?d00001 diff --git a/src/test/resources/github217/success/bin.08.dat b/src/test/resources/github217/success/bin.08.dat new file mode 100644 index 0000000000000000000000000000000000000000..15b1ee33820757ec493288b27af740aacc281153 GIT binary patch literal 246 zcmXrkH!!s{H!?7_u(Z%KurxL@VE}^-`+t}U9SuBl(D4P3&&bHcu*ms=$A-ld55yca zYvnEdz5hzw@!ffSNA`o2KbYbGrh$Yps)?4SMi7}L`+w&PV>MCq{00v;pozETj#lTw nOuT`^L_?rc4Im~?*#B>(2v!r*p7?!~2AcR)qTjL*(?l)+#mr4( literal 0 HcmV?d00001 diff --git a/src/test/resources/github217/success/bin.09.dat b/src/test/resources/github217/success/bin.09.dat new file mode 100644 index 0000000000000000000000000000000000000000..15b1ee33820757ec493288b27af740aacc281153 GIT binary patch literal 246 zcmXrkH!!s{H!?7_u(Z%KurxL@VE}^-`+t}U9SuBl(D4P3&&bHcu*ms=$A-ld55yca zYvnEdz5hzw@!ffSNA`o2KbYbGrh$Yps)?4SMi7}L`+w&PV>MCq{00v;pozETj#lTw nOuT`^L_?rc4Im~?*#B>(2v!r*p7?!~2AcR)qTjL*(?l)+#mr4( literal 0 HcmV?d00001 diff --git a/src/test/resources/github217/success/bin.10.dat b/src/test/resources/github217/success/bin.10.dat new file mode 100644 index 0000000000000000000000000000000000000000..15b1ee33820757ec493288b27af740aacc281153 GIT binary patch literal 246 zcmXrkH!!s{H!?7_u(Z%KurxL@VE}^-`+t}U9SuBl(D4P3&&bHcu*ms=$A-ld55yca zYvnEdz5hzw@!ffSNA`o2KbYbGrh$Yps)?4SMi7}L`+w&PV>MCq{00v;pozETj#lTw nOuT`^L_?rc4Im~?*#B>(2v!r*p7?!~2AcR)qTjL*(?l)+#mr4( literal 0 HcmV?d00001 diff --git a/src/test/resources/github217/success/binanc2.xml b/src/test/resources/github217/success/binanc2.xml index 5200a52ab..2fd373243 100644 --- a/src/test/resources/github217/success/binanc2.xml +++ b/src/test/resources/github217/success/binanc2.xml @@ -70,7 +70,7 @@ - bin.dat + bin.01.dat 2019-08-09T16:06:06.971Z 246 diff --git a/src/test/resources/github217/success/binanc3.xml b/src/test/resources/github217/success/binanc3.xml index b538e398d..35beba70b 100644 --- a/src/test/resources/github217/success/binanc3.xml +++ b/src/test/resources/github217/success/binanc3.xml @@ -70,7 +70,7 @@ - bin.dat + bin.02.dat 2019-08-09T16:06:06.971Z 246 diff --git a/src/test/resources/github217/success/binbro2.xml b/src/test/resources/github217/success/binbro2.xml index 21765d0b5..862d56a4c 100644 --- a/src/test/resources/github217/success/binbro2.xml +++ b/src/test/resources/github217/success/binbro2.xml @@ -36,7 +36,7 @@ stellar occultation of star u17b (Hipparcos 80841) Observed by the SAAO 188cm Te - bin.dat + bin.03.dat 2020-01-29T18:55:43Z This figure shows the altitude (in degrees) of Uranus and the sun relative to the horizon over the duration of the stellar occultation of star u17b (Hipparcos 80841) Observed by the SAAO 188cm Telescope, diff --git a/src/test/resources/github217/success/binbro3.xml b/src/test/resources/github217/success/binbro3.xml index a9d3ca266..563f99942 100644 --- a/src/test/resources/github217/success/binbro3.xml +++ b/src/test/resources/github217/success/binbro3.xml @@ -36,7 +36,7 @@ stellar occultation of star u17b (Hipparcos 80841) Observed by the SAAO 188cm Te - bin.dat + bin.04.dat 2020-01-29T18:55:43Z This figure shows the altitude (in degrees) of Uranus and the sun relative to the horizon over the duration of the stellar occultation of star u17b (Hipparcos 80841) Observed by the SAAO 188cm Telescope, diff --git a/src/test/resources/github217/success/binobs2.xml b/src/test/resources/github217/success/binobs2.xml index d9cadb2e6..792de92b7 100644 --- a/src/test/resources/github217/success/binobs2.xml +++ b/src/test/resources/github217/success/binobs2.xml @@ -70,7 +70,7 @@ - bin.dat + bin.05.dat 2019-08-09T16:06:06.971Z 246 diff --git a/src/test/resources/github217/success/binobs3.xml b/src/test/resources/github217/success/binobs3.xml index d18bc92ba..48602b6ee 100644 --- a/src/test/resources/github217/success/binobs3.xml +++ b/src/test/resources/github217/success/binobs3.xml @@ -70,7 +70,7 @@ - bin.dat + bin.06.dat 2019-08-09T16:06:06.971Z 246 diff --git a/src/test/resources/github217/success/binsup2.xml b/src/test/resources/github217/success/binsup2.xml index c503aa683..50d436c9b 100644 --- a/src/test/resources/github217/success/binsup2.xml +++ b/src/test/resources/github217/success/binsup2.xml @@ -70,7 +70,7 @@ - bin.dat + bin.07.dat 2019-08-09T16:06:06.971Z 246 @@ -82,7 +82,7 @@ - bin.dat + bin.08.dat 2019-08-09T16:06:06.971Z 246 diff --git a/src/test/resources/github217/success/binsup3.xml b/src/test/resources/github217/success/binsup3.xml index 5a6262529..57fea13e5 100644 --- a/src/test/resources/github217/success/binsup3.xml +++ b/src/test/resources/github217/success/binsup3.xml @@ -70,7 +70,7 @@ - bin.dat + bin.09.dat 2019-08-09T16:06:06.971Z 246 @@ -82,7 +82,7 @@ - bin.dat + bin.10.dat 2019-08-09T16:06:06.971Z 246 diff --git a/src/test/resources/github217/success/del.csv b/src/test/resources/github217/success/del.01.csv similarity index 100% rename from src/test/resources/github217/success/del.csv rename to src/test/resources/github217/success/del.01.csv diff --git a/src/test/resources/github217/success/del.02.csv b/src/test/resources/github217/success/del.02.csv new file mode 100644 index 000000000..94d96cdac --- /dev/null +++ b/src/test/resources/github217/success/del.02.csv @@ -0,0 +1,5 @@ +Star Number,Star Name,Source catalog,Catalog ID,RA(ICRS),DE(ICRS),Epoch,Plx,pmRA,pmDE,e_RAdeg,e_DEdeg,e_Plx,e_pmRA,e_pmDE + ,, , ,deg,deg, ,mas,mas/yr,mas/yr,mas,mas,mas,mas/yr,mas/yr +3,Bper,Hipparcos,14576,47.04220716,40.9556512,JD 2448349.0625,35.14,2.39,-1.44,0.71,0.58,0.9,0.77,0.88 +8,SSgr,Hipparcos,92855,283.8163196,-26.29659428,JD 2448349.0625,14.54,13.87,-52.65,0.87,0.45,0.88,1.09,0.6 +12,U0,Hipparcos,71567,219.5492129,-14.95473933,JD 2448349.0625,1.77,-52.61,-12.21,1.22,0.81,1.3,1.38,0.97 diff --git a/src/test/resources/github217/success/del.03.csv b/src/test/resources/github217/success/del.03.csv new file mode 100644 index 000000000..94d96cdac --- /dev/null +++ b/src/test/resources/github217/success/del.03.csv @@ -0,0 +1,5 @@ +Star Number,Star Name,Source catalog,Catalog ID,RA(ICRS),DE(ICRS),Epoch,Plx,pmRA,pmDE,e_RAdeg,e_DEdeg,e_Plx,e_pmRA,e_pmDE + ,, , ,deg,deg, ,mas,mas/yr,mas/yr,mas,mas,mas,mas/yr,mas/yr +3,Bper,Hipparcos,14576,47.04220716,40.9556512,JD 2448349.0625,35.14,2.39,-1.44,0.71,0.58,0.9,0.77,0.88 +8,SSgr,Hipparcos,92855,283.8163196,-26.29659428,JD 2448349.0625,14.54,13.87,-52.65,0.87,0.45,0.88,1.09,0.6 +12,U0,Hipparcos,71567,219.5492129,-14.95473933,JD 2448349.0625,1.77,-52.61,-12.21,1.22,0.81,1.3,1.38,0.97 diff --git a/src/test/resources/github217/success/del.04.csv b/src/test/resources/github217/success/del.04.csv new file mode 100644 index 000000000..94d96cdac --- /dev/null +++ b/src/test/resources/github217/success/del.04.csv @@ -0,0 +1,5 @@ +Star Number,Star Name,Source catalog,Catalog ID,RA(ICRS),DE(ICRS),Epoch,Plx,pmRA,pmDE,e_RAdeg,e_DEdeg,e_Plx,e_pmRA,e_pmDE + ,, , ,deg,deg, ,mas,mas/yr,mas/yr,mas,mas,mas,mas/yr,mas/yr +3,Bper,Hipparcos,14576,47.04220716,40.9556512,JD 2448349.0625,35.14,2.39,-1.44,0.71,0.58,0.9,0.77,0.88 +8,SSgr,Hipparcos,92855,283.8163196,-26.29659428,JD 2448349.0625,14.54,13.87,-52.65,0.87,0.45,0.88,1.09,0.6 +12,U0,Hipparcos,71567,219.5492129,-14.95473933,JD 2448349.0625,1.77,-52.61,-12.21,1.22,0.81,1.3,1.38,0.97 diff --git a/src/test/resources/github217/success/del.05.csv b/src/test/resources/github217/success/del.05.csv new file mode 100644 index 000000000..94d96cdac --- /dev/null +++ b/src/test/resources/github217/success/del.05.csv @@ -0,0 +1,5 @@ +Star Number,Star Name,Source catalog,Catalog ID,RA(ICRS),DE(ICRS),Epoch,Plx,pmRA,pmDE,e_RAdeg,e_DEdeg,e_Plx,e_pmRA,e_pmDE + ,, , ,deg,deg, ,mas,mas/yr,mas/yr,mas,mas,mas,mas/yr,mas/yr +3,Bper,Hipparcos,14576,47.04220716,40.9556512,JD 2448349.0625,35.14,2.39,-1.44,0.71,0.58,0.9,0.77,0.88 +8,SSgr,Hipparcos,92855,283.8163196,-26.29659428,JD 2448349.0625,14.54,13.87,-52.65,0.87,0.45,0.88,1.09,0.6 +12,U0,Hipparcos,71567,219.5492129,-14.95473933,JD 2448349.0625,1.77,-52.61,-12.21,1.22,0.81,1.3,1.38,0.97 diff --git a/src/test/resources/github217/success/del.06.csv b/src/test/resources/github217/success/del.06.csv new file mode 100644 index 000000000..94d96cdac --- /dev/null +++ b/src/test/resources/github217/success/del.06.csv @@ -0,0 +1,5 @@ +Star Number,Star Name,Source catalog,Catalog ID,RA(ICRS),DE(ICRS),Epoch,Plx,pmRA,pmDE,e_RAdeg,e_DEdeg,e_Plx,e_pmRA,e_pmDE + ,, , ,deg,deg, ,mas,mas/yr,mas/yr,mas,mas,mas,mas/yr,mas/yr +3,Bper,Hipparcos,14576,47.04220716,40.9556512,JD 2448349.0625,35.14,2.39,-1.44,0.71,0.58,0.9,0.77,0.88 +8,SSgr,Hipparcos,92855,283.8163196,-26.29659428,JD 2448349.0625,14.54,13.87,-52.65,0.87,0.45,0.88,1.09,0.6 +12,U0,Hipparcos,71567,219.5492129,-14.95473933,JD 2448349.0625,1.77,-52.61,-12.21,1.22,0.81,1.3,1.38,0.97 diff --git a/src/test/resources/github217/success/del.07.csv b/src/test/resources/github217/success/del.07.csv new file mode 100644 index 000000000..94d96cdac --- /dev/null +++ b/src/test/resources/github217/success/del.07.csv @@ -0,0 +1,5 @@ +Star Number,Star Name,Source catalog,Catalog ID,RA(ICRS),DE(ICRS),Epoch,Plx,pmRA,pmDE,e_RAdeg,e_DEdeg,e_Plx,e_pmRA,e_pmDE + ,, , ,deg,deg, ,mas,mas/yr,mas/yr,mas,mas,mas,mas/yr,mas/yr +3,Bper,Hipparcos,14576,47.04220716,40.9556512,JD 2448349.0625,35.14,2.39,-1.44,0.71,0.58,0.9,0.77,0.88 +8,SSgr,Hipparcos,92855,283.8163196,-26.29659428,JD 2448349.0625,14.54,13.87,-52.65,0.87,0.45,0.88,1.09,0.6 +12,U0,Hipparcos,71567,219.5492129,-14.95473933,JD 2448349.0625,1.77,-52.61,-12.21,1.22,0.81,1.3,1.38,0.97 diff --git a/src/test/resources/github217/success/del.08.csv b/src/test/resources/github217/success/del.08.csv new file mode 100644 index 000000000..94d96cdac --- /dev/null +++ b/src/test/resources/github217/success/del.08.csv @@ -0,0 +1,5 @@ +Star Number,Star Name,Source catalog,Catalog ID,RA(ICRS),DE(ICRS),Epoch,Plx,pmRA,pmDE,e_RAdeg,e_DEdeg,e_Plx,e_pmRA,e_pmDE + ,, , ,deg,deg, ,mas,mas/yr,mas/yr,mas,mas,mas,mas/yr,mas/yr +3,Bper,Hipparcos,14576,47.04220716,40.9556512,JD 2448349.0625,35.14,2.39,-1.44,0.71,0.58,0.9,0.77,0.88 +8,SSgr,Hipparcos,92855,283.8163196,-26.29659428,JD 2448349.0625,14.54,13.87,-52.65,0.87,0.45,0.88,1.09,0.6 +12,U0,Hipparcos,71567,219.5492129,-14.95473933,JD 2448349.0625,1.77,-52.61,-12.21,1.22,0.81,1.3,1.38,0.97 diff --git a/src/test/resources/github217/success/del.09.csv b/src/test/resources/github217/success/del.09.csv new file mode 100644 index 000000000..94d96cdac --- /dev/null +++ b/src/test/resources/github217/success/del.09.csv @@ -0,0 +1,5 @@ +Star Number,Star Name,Source catalog,Catalog ID,RA(ICRS),DE(ICRS),Epoch,Plx,pmRA,pmDE,e_RAdeg,e_DEdeg,e_Plx,e_pmRA,e_pmDE + ,, , ,deg,deg, ,mas,mas/yr,mas/yr,mas,mas,mas,mas/yr,mas/yr +3,Bper,Hipparcos,14576,47.04220716,40.9556512,JD 2448349.0625,35.14,2.39,-1.44,0.71,0.58,0.9,0.77,0.88 +8,SSgr,Hipparcos,92855,283.8163196,-26.29659428,JD 2448349.0625,14.54,13.87,-52.65,0.87,0.45,0.88,1.09,0.6 +12,U0,Hipparcos,71567,219.5492129,-14.95473933,JD 2448349.0625,1.77,-52.61,-12.21,1.22,0.81,1.3,1.38,0.97 diff --git a/src/test/resources/github217/success/del.10.csv b/src/test/resources/github217/success/del.10.csv new file mode 100644 index 000000000..94d96cdac --- /dev/null +++ b/src/test/resources/github217/success/del.10.csv @@ -0,0 +1,5 @@ +Star Number,Star Name,Source catalog,Catalog ID,RA(ICRS),DE(ICRS),Epoch,Plx,pmRA,pmDE,e_RAdeg,e_DEdeg,e_Plx,e_pmRA,e_pmDE + ,, , ,deg,deg, ,mas,mas/yr,mas/yr,mas,mas,mas,mas/yr,mas/yr +3,Bper,Hipparcos,14576,47.04220716,40.9556512,JD 2448349.0625,35.14,2.39,-1.44,0.71,0.58,0.9,0.77,0.88 +8,SSgr,Hipparcos,92855,283.8163196,-26.29659428,JD 2448349.0625,14.54,13.87,-52.65,0.87,0.45,0.88,1.09,0.6 +12,U0,Hipparcos,71567,219.5492129,-14.95473933,JD 2448349.0625,1.77,-52.61,-12.21,1.22,0.81,1.3,1.38,0.97 diff --git a/src/test/resources/github217/success/del.11.csv b/src/test/resources/github217/success/del.11.csv new file mode 100644 index 000000000..94d96cdac --- /dev/null +++ b/src/test/resources/github217/success/del.11.csv @@ -0,0 +1,5 @@ +Star Number,Star Name,Source catalog,Catalog ID,RA(ICRS),DE(ICRS),Epoch,Plx,pmRA,pmDE,e_RAdeg,e_DEdeg,e_Plx,e_pmRA,e_pmDE + ,, , ,deg,deg, ,mas,mas/yr,mas/yr,mas,mas,mas,mas/yr,mas/yr +3,Bper,Hipparcos,14576,47.04220716,40.9556512,JD 2448349.0625,35.14,2.39,-1.44,0.71,0.58,0.9,0.77,0.88 +8,SSgr,Hipparcos,92855,283.8163196,-26.29659428,JD 2448349.0625,14.54,13.87,-52.65,0.87,0.45,0.88,1.09,0.6 +12,U0,Hipparcos,71567,219.5492129,-14.95473933,JD 2448349.0625,1.77,-52.61,-12.21,1.22,0.81,1.3,1.38,0.97 diff --git a/src/test/resources/github217/success/del.12.csv b/src/test/resources/github217/success/del.12.csv new file mode 100644 index 000000000..94d96cdac --- /dev/null +++ b/src/test/resources/github217/success/del.12.csv @@ -0,0 +1,5 @@ +Star Number,Star Name,Source catalog,Catalog ID,RA(ICRS),DE(ICRS),Epoch,Plx,pmRA,pmDE,e_RAdeg,e_DEdeg,e_Plx,e_pmRA,e_pmDE + ,, , ,deg,deg, ,mas,mas/yr,mas/yr,mas,mas,mas,mas/yr,mas/yr +3,Bper,Hipparcos,14576,47.04220716,40.9556512,JD 2448349.0625,35.14,2.39,-1.44,0.71,0.58,0.9,0.77,0.88 +8,SSgr,Hipparcos,92855,283.8163196,-26.29659428,JD 2448349.0625,14.54,13.87,-52.65,0.87,0.45,0.88,1.09,0.6 +12,U0,Hipparcos,71567,219.5492129,-14.95473933,JD 2448349.0625,1.77,-52.61,-12.21,1.22,0.81,1.3,1.38,0.97 diff --git a/src/test/resources/github217/success/delanc2.xml b/src/test/resources/github217/success/delanc2.xml index adf07f408..4e793c2b5 100644 --- a/src/test/resources/github217/success/delanc2.xml +++ b/src/test/resources/github217/success/delanc2.xml @@ -83,7 +83,7 @@ - del.csv + del.01.csv input-stars 2019-12-21T00:14:00Z This file contains star positions for occultation stars used in the diff --git a/src/test/resources/github217/success/delanc3.xml b/src/test/resources/github217/success/delanc3.xml index f1b5c7020..6f8d29cc8 100644 --- a/src/test/resources/github217/success/delanc3.xml +++ b/src/test/resources/github217/success/delanc3.xml @@ -83,7 +83,7 @@ - del.csv + del.02.csv input-stars 2019-12-21T00:14:00Z This file contains star positions for occultation stars used in the diff --git a/src/test/resources/github217/success/delbro2.xml b/src/test/resources/github217/success/delbro2.xml index 25023d1bd..fcf49704f 100644 --- a/src/test/resources/github217/success/delbro2.xml +++ b/src/test/resources/github217/success/delbro2.xml @@ -36,7 +36,7 @@ stellar occultation of star u17b (Hipparcos 80841) Observed by the SAAO 188cm Te - del.csv + del.03.csv 2020-01-29T18:55:43Z This figure shows the altitude (in degrees) of Uranus and the sun relative to the horizon over the duration of the stellar occultation of star u17b (Hipparcos 80841) Observed by the SAAO 188cm Telescope, diff --git a/src/test/resources/github217/success/delbro3.xml b/src/test/resources/github217/success/delbro3.xml index c01b583df..14d175f92 100644 --- a/src/test/resources/github217/success/delbro3.xml +++ b/src/test/resources/github217/success/delbro3.xml @@ -36,7 +36,7 @@ stellar occultation of star u17b (Hipparcos 80841) Observed by the SAAO 188cm Te - del.csv + del.04.csv 2020-01-29T18:55:43Z This figure shows the altitude (in degrees) of Uranus and the sun relative to the horizon over the duration of the stellar occultation of star u17b (Hipparcos 80841) Observed by the SAAO 188cm Telescope, diff --git a/src/test/resources/github217/success/delinv.csv b/src/test/resources/github217/success/delinv.01.csv similarity index 100% rename from src/test/resources/github217/success/delinv.csv rename to src/test/resources/github217/success/delinv.01.csv diff --git a/src/test/resources/github217/success/delinv.02.csv b/src/test/resources/github217/success/delinv.02.csv new file mode 100644 index 000000000..6e4fd3432 --- /dev/null +++ b/src/test/resources/github217/success/delinv.02.csv @@ -0,0 +1,3 @@ +P,urn:nasa:pds:gaskell.phoebe.shape-model:data:phoebe_quad128q_tab::1.0 +P,urn:nasa:pds:gaskell.phoebe.shape-model:data:phoebe_quad256q_tab::1.0 +P,urn:nasa:pds:gaskell.phoebe.shape-model:data:phoebe_quad512q_tab::1.0 diff --git a/src/test/resources/github217/success/delinv2.xml b/src/test/resources/github217/success/delinv2.xml index 48799b4a8..9acdd73a9 100644 --- a/src/test/resources/github217/success/delinv2.xml +++ b/src/test/resources/github217/success/delinv2.xml @@ -103,7 +103,7 @@ The shape model of Phoebe derived by - delinv.csv + delinv.01.csv data 219 2 diff --git a/src/test/resources/github217/success/delinv3.xml b/src/test/resources/github217/success/delinv3.xml index e5633ba01..a48350459 100644 --- a/src/test/resources/github217/success/delinv3.xml +++ b/src/test/resources/github217/success/delinv3.xml @@ -103,7 +103,7 @@ The shape model of Phoebe derived by - delinv.csv + delinv.02.csv data 219 3 diff --git a/src/test/resources/github217/success/delmet2.xml b/src/test/resources/github217/success/delmet2.xml index 7bc7c6d51..10ab6fe41 100644 --- a/src/test/resources/github217/success/delmet2.xml +++ b/src/test/resources/github217/success/delmet2.xml @@ -21,7 +21,7 @@ - del.csv + del.12.csv input-stars 2019-12-21T00:14:00Z This file contains star positions for occultation stars used in the diff --git a/src/test/resources/github217/success/delmet3.xml b/src/test/resources/github217/success/delmet3.xml index f89d1c688..d79bb70ce 100644 --- a/src/test/resources/github217/success/delmet3.xml +++ b/src/test/resources/github217/success/delmet3.xml @@ -21,7 +21,7 @@ - del.csv + del.05.csv input-stars 2019-12-21T00:14:00Z This file contains star positions for occultation stars used in the diff --git a/src/test/resources/github217/success/delobs2.xml b/src/test/resources/github217/success/delobs2.xml index 31bcb1c34..ae986a901 100644 --- a/src/test/resources/github217/success/delobs2.xml +++ b/src/test/resources/github217/success/delobs2.xml @@ -86,7 +86,7 @@ - del.csv + del.06.csv input-stars 2019-12-21T00:14:00Z This file contains star positions for occultation stars used in the diff --git a/src/test/resources/github217/success/delobs3.xml b/src/test/resources/github217/success/delobs3.xml index b6e8a2a39..fa87d764a 100644 --- a/src/test/resources/github217/success/delobs3.xml +++ b/src/test/resources/github217/success/delobs3.xml @@ -86,7 +86,7 @@ - del.csv + del.07.csv input-stars 2019-12-21T00:14:00Z This file contains star positions for occultation stars used in the diff --git a/src/test/resources/github217/success/delsup2.xml b/src/test/resources/github217/success/delsup2.xml index 19f42d316..bd6dbda05 100644 --- a/src/test/resources/github217/success/delsup2.xml +++ b/src/test/resources/github217/success/delsup2.xml @@ -86,7 +86,7 @@ - del.csv + del.08.csv 2019-12-21T00:14:00Z This file contains star positions for occultation stars used in the ring orbit model uranus_occultation_ring_fit_rfrench_data_20191221.tab. @@ -99,7 +99,7 @@ - del.csv + del.09.csv 2019-12-21T00:14:00Z This file contains star positions for occultation stars used in the ring orbit model uranus_occultation_ring_fit_rfrench_data_20191221.tab. diff --git a/src/test/resources/github217/success/delsup3.xml b/src/test/resources/github217/success/delsup3.xml index 055e73115..542e668c0 100644 --- a/src/test/resources/github217/success/delsup3.xml +++ b/src/test/resources/github217/success/delsup3.xml @@ -86,7 +86,7 @@ - del.csv + del.10.csv 2019-12-21T00:14:00Z This file contains star positions for occultation stars used in the ring orbit model uranus_occultation_ring_fit_rfrench_data_20191221.tab. @@ -99,7 +99,7 @@ - del.csv + del.11.csv 2019-12-21T00:14:00Z This file contains star positions for occultation stars used in the ring orbit model uranus_occultation_ring_fit_rfrench_data_20191221.tab. From f0d17501378b9cb3d315bc1e22031a8b04748be2 Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Fri, 24 Jan 2025 14:24:18 -0800 Subject: [PATCH 15/19] update some helper java --- src/test/java/cucumber/SingleScenerio.java | 57 +++++++++++++++++++ .../RunFeatureScenerioAsValidateFromCLI.java | 2 +- 2 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 src/test/java/cucumber/SingleScenerio.java diff --git a/src/test/java/cucumber/SingleScenerio.java b/src/test/java/cucumber/SingleScenerio.java new file mode 100644 index 000000000..6bcf0008c --- /dev/null +++ b/src/test/java/cucumber/SingleScenerio.java @@ -0,0 +1,57 @@ +package cucumber; + +import java.io.File; +import java.io.IOException; +import java.nio.file.Files; +import java.nio.file.Paths; +import java.util.ArrayList; +import gov.nasa.pds.validate.ValidateLauncher; +import gov.nasa.pds.validate.constants.TestConstants; + +public class SingleScenerio { + public static void main(String[] args) throws NumberFormatException, IOException { + if (args.length > 2 || args.length == 0) { + System.out.println ("usage: "); + System.out.println (" is the first column in the feature file like 1066"); + System.out.println (" is the second column and should be omitted if there are no subtests for the "); + return; + } + + for (File file : Paths.get(TestConstants.TEST_DATA_DIR, "features").toFile().listFiles((dir, name) -> name.endsWith(".feature"))) { + for (String line : Files.readAllLines(file.toPath())) { + line = line.strip(); + if (line.startsWith("|")) { + String[] scenerio = line.split("\\|"); + if (scenerio[1].strip().equals(args[0])) { + if (args.length == 1 && !scenerio[2].strip().isBlank()) { + System.out.println ("Scenerio " + args[0] + " requires a subtest value too."); + return; + } + if (args.length == 2 && scenerio[2].strip().isBlank()) { + System.out.println ("Scenerio " + args[0] + " does not require a subtest value."); + return; + } + if (args.length == 2 && !args[1].equals(scenerio[2].strip())) continue; + StepDefs engine = new StepDefs(); + System.out.println("an_and"); + engine.an_and( + Integer.valueOf(scenerio[1].strip()), + args.length == 1 ? null : Integer.valueOf(scenerio[2].strip()), + scenerio[3].strip().substring(1, scenerio[3].strip().length()-1)); + System.out.println("execute_validate"); + engine.execute_validate (scenerio[4].strip().substring(1,scenerio[4].strip().length()-1)); + System.out.println ("compare_to_the"); + engine.compare_to_the(scenerio[5].strip().isBlank() ? null : + scenerio[5].strip().substring(1, scenerio[5].strip().length()-1)); + System.out.println ("success"); + return; + } + } + } + } + System.out.print ("Could not find issue number " + args[0]); + if (args.length == 2) System.out.print (" and subtest " + args[1]); + System.out.println(); + return; + } +} diff --git a/src/test/java/gov/nasa/pds/validate/RunFeatureScenerioAsValidateFromCLI.java b/src/test/java/gov/nasa/pds/validate/RunFeatureScenerioAsValidateFromCLI.java index 78d099df8..6c2e4ba9d 100644 --- a/src/test/java/gov/nasa/pds/validate/RunFeatureScenerioAsValidateFromCLI.java +++ b/src/test/java/gov/nasa/pds/validate/RunFeatureScenerioAsValidateFromCLI.java @@ -11,7 +11,7 @@ public class RunFeatureScenerioAsValidateFromCLI { public static void main(String[] args) throws IOException, TransformerConfigurationException { - if (args.length > 2) { + if (args.length > 2 || args.length == 0) { System.out.println ("usage: "); System.out.println (" is the first column in the feature file like 1066"); System.out.println (" is the second column and should be omitted if there are no subtests for the "); From 8db6ed0935536e28d5785154e52fe71f2e92f432 Mon Sep 17 00:00:00 2001 From: Jordan Padams Date: Tue, 4 Feb 2025 11:31:50 -0800 Subject: [PATCH 16/19] Add underscore to scenario outline --- src/test/resources/features/3.6.x.feature | 2 +- src/test/resources/features/pre.3.6.x.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/resources/features/3.6.x.feature b/src/test/resources/features/3.6.x.feature index 7a551210f..b21f92b86 100644 --- a/src/test/resources/features/3.6.x.feature +++ b/src/test/resources/features/3.6.x.feature @@ -1,5 +1,5 @@ Feature: 3.6.x - Scenario Outline: NASA-PDS/validate# + Scenario Outline: NASA-PDS/validate#_ Given an , , and When execute validate with Then compare to the . diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index ed1a1028c..ce118c0a0 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -1,5 +1,5 @@ Feature: < 3.6 - Scenario Outline: NASA-PDS/validate# + Scenario Outline: NASA-PDS/validate#_ Given an , , and When execute validate with Then compare to the . From 55e4f5745a9bccb126344c1b799a3baf340f15a2 Mon Sep 17 00:00:00 2001 From: Jordan Padams Date: Tue, 4 Feb 2025 11:49:32 -0800 Subject: [PATCH 17/19] Update the scenario setup --- src/test/java/cucumber/StepDefs.java | 8 +- src/test/resources/features/3.6.x.feature | 24 ++--- src/test/resources/features/pre.3.6.x.feature | 88 +++++++++---------- 3 files changed, 60 insertions(+), 60 deletions(-) diff --git a/src/test/java/cucumber/StepDefs.java b/src/test/java/cucumber/StepDefs.java index 425559696..3fc9c9f64 100644 --- a/src/test/java/cucumber/StepDefs.java +++ b/src/test/java/cucumber/StepDefs.java @@ -106,12 +106,12 @@ public List resolveArgumentStrings(String args, boolean noReportInArgs) return resolved; } - @Given("an {int}, , and {string}") + @Given("validate issue {int} and test data at {string}") public void an_and(Integer issueNumber, String datasrc) { an_and(issueNumber, null, datasrc); } - @Given("an {int}, {int}, and {string}") + @Given("validate issue {int}, test {int}, and test data at {string}") public void an_and(Integer issueNumber, Integer count, String datasrc) { this.datasink = Paths.get(TestConstants.TEST_OUT_DIR, "issue-" + issueNumber + (count == null ? "" : ("-" + count.toString()))); @@ -133,12 +133,12 @@ public void execute_validate(String args) { } } - @Then("compare to the .") + @Then("compare to the expected outcome .") public void compare_to_the() { compare_to_the(""); } - @Then("compare to the {string}.") + @Then("compare to the expected outcome {string}.") public void compare_to_the(String expectation) { for (String mustExpectation : Arrays.asList( "summary:totalErrors", diff --git a/src/test/resources/features/3.6.x.feature b/src/test/resources/features/3.6.x.feature index b21f92b86..7821e0617 100644 --- a/src/test/resources/features/3.6.x.feature +++ b/src/test/resources/features/3.6.x.feature @@ -1,41 +1,41 @@ Feature: 3.6.x Scenario Outline: NASA-PDS/validate#_ - Given an , , and + Given validate issue , test , and test data at When execute validate with - Then compare to the . + Then compare to the expected outcome . @3.6.x Examples: | issueNumber | subtest | datasrc | args | expectation | #begin -| 1100 | | "github1100" | "--skip-context-validation -R pds4.bundle -t {datasrc}" | | -| 1066 | | "github1066" | "--skip-content-validation -t {datasrc}/vg2u_49xr_1986024t232141.xml" | "summary:totalWarnings=3,summary:messageTypes:warning.label.context_ref_mismatch=3" | -| 1028 | | "github1028" | "--skip-context-validation -t {datasrc}/xa.s16..shz.1976.070.0.xml --schema {datasrc}/PDS4_PDS_1N00.xsd --schematron {datasrc}/PDS4_PDS_1N00.sch" | | -| 1008 | | "github1008" | "--skip-context-validation -t {datasrc}/example.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | +| 1100 | 1 | "github1100" | "--skip-context-validation -R pds4.bundle -t {datasrc}" | | +| 1066 | 1 | "github1066" | "--skip-content-validation -t {datasrc}/vg2u_49xr_1986024t232141.xml" | "summary:totalWarnings=3,summary:messageTypes:warning.label.context_ref_mismatch=3" | +| 1028 | 1 | "github1028" | "--skip-context-validation -t {datasrc}/xa.s16..shz.1976.070.0.xml --schema {datasrc}/PDS4_PDS_1N00.xsd --schematron {datasrc}/PDS4_PDS_1N00.sch" | | +| 1008 | 1 | "github1008" | "--skip-context-validation -t {datasrc}/example.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | | 992 | 1 | "github992" | "--skip-context-validation -t {datasrc}/ff_char.xml" | "summary:totalErrors=1,summary:totalWarnings=5,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=3,summary:messageTypes:warning.table.field_value_too_long=1" | | 992 | 2 | "github992" | "--skip-context-validation -t {datasrc}/ff_del.xml" | "summary:totalErrors=1,summary:totalWarnings=5,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=3,summary:messageTypes:warning.table.field_value_too_long=1" | | 950 | 1 | "github915" | "--skip-content-validation --disable-context-mismatch-warnings -R pds4.collection -t {datasrc}/collection.xml" | "summary:totalErrors=1,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:warning.integrity.unreferenced_member=1" | | 950 | 2 | "github950" | "--disable-context-mismatch-warnings -R pds4.bundle -t {datasrc}" | | | 919 | 1 | "github919" | "--skip-context-validation -t {datasrc}/uh0003b_draft.xml" | | | 919 | 2 | "github919" | "-t {datasrc}/uh0003b_draft.xml" | | -| 915 | | "github915" | "--skip-content-validation -R pds4.collection -t {datasrc}/collection.xml" | "summary:totalErrors=1,summary:totalWarnings=6,summary:productValidation:failed=1,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:warning.integrity.unreferenced_member=1,summary:messageTypes:warning.label.context_ref_mismatch=5" | +| 915 | 1 | "github915" | "--skip-content-validation -R pds4.collection -t {datasrc}/collection.xml" | "summary:totalErrors=1,summary:totalWarnings=6,summary:productValidation:failed=1,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:warning.integrity.unreferenced_member=1,summary:messageTypes:warning.label.context_ref_mismatch=5" | | 905 | 1 | "github905" | "--skip-context-validation -t {datasrc}/dsn_0159-science.2008-02-29.xml {datasrc}/dsn_0159-science.2009-05-18.xml" | | | 905 | 2 | "github905" | "-t {datasrc}/." | | | 902 | 1 | "github902" | "--skip-context-validation -t {datasrc}/s_00168901_thm.xml" | | | 902 | 2 | "github902" | "-t {datasrc}/s_00168901_thm.xml" | | | 873 | 1 | "github873" | "--skip-context-validation -R pds4.bundle -t {datasrc}" | "summary:totalWarnings=2,summary:messageTypes:warning.integrity.unreferenced_member=2" | | 873 | 2 | "github873" | "-t {datasrc}/." | | -| 861 | | "github861" | "-t {datasrc}/PVO_OMAG_OEFD_ANC_ENG_0001.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | -| 857 | | "github857" | "-t {datasrc}/highi_183_istria_fam3.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 861 | 1 | "github861" | "-t {datasrc}/PVO_OMAG_OEFD_ANC_ENG_0001.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 857 | 1 | "github857" | "-t {datasrc}/highi_183_istria_fam3.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | | 849 | 1 | "github849" | "--skip-context-validation -t {datasrc}/collection_uvs_data_raw.xml" | "summary:totalErrors=2,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=2" | | 849 | 2 | "github849" | "-t {datasrc}/collection.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=1" | | 837 | 1 | "github837" | "--skip-context-validation -t {datasrc}/times_table.xml" | | | 837 | 2 | "github837" | "-t {datasrc}/x.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | -| 831 | | "github831" | "--skip-context-validation -t {datasrc}/kplo.xml" | | +| 831 | 1 | "github831" | "--skip-context-validation -t {datasrc}/kplo.xml" | | | 824 | 1 | "github824" | "--skip-context-validation -t {datasrc}/1203_12.xml" | | | 824 | 2 | "github824" | "-t {datasrc}/1203_12.xml" | | -| 823 | | "github823" | "--skip-context-validation -t {datasrc}/mvn_swi_l2_onboardsvymom_20230827_v02_r01.xml" | | -| 822 | | "github822" | "-R pds4.bundle -t {datasrc}" | "summary:totalWarnings=1,summary:messageTypes:warning.file.not_referenced_in_label=1" | +| 823 | 1 | "github823" | "--skip-context-validation -t {datasrc}/mvn_swi_l2_onboardsvymom_20230827_v02_r01.xml" | | +| 822 | 1 | "github822" | "-R pds4.bundle -t {datasrc}" | "summary:totalWarnings=1,summary:messageTypes:warning.file.not_referenced_in_label=1" | | 816 | 1 | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | | 816 | 2 | "github681" | "-t {datasrc}/ff_char_warn.xml {datasrc}/ff_del_warn.xml" | "summary:totalErrors=1,summary:totalWarnings=6,summary:productValidation:failed=1,summary:messageTypes:error.label.file_areas_duplicated_reference=1,summary:messageTypes:warning.label.context_ref_mismatch=4,summary:messageTypes:warning.table.field_value_format_precision_mismatch=2" | | 816 | 3 | "github816" | "-t {datasrc}/ff_del.xml" | "summary:totalErrors=1,summary:totalWarnings=4,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=2,summary:messageTypes:warning.table.field_value_too_long=1" | diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index ce118c0a0..cda1adbac 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -1,6 +1,6 @@ Feature: < 3.6 Scenario Outline: NASA-PDS/validate#_ - Given an , , and + Given validate issue , test , and test data at When execute validate with Then compare to the . @pre.3.6 @@ -8,35 +8,35 @@ Feature: < 3.6 | issueNumber | subtest | datasrc | args | expectation | #begin -| 817 | | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | -| 785 | | "github785" | "--skip-context-validation -t {datasrc}/00038_FGM_RTN.xml" | "summary:totalWarnings=6,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=6" | -| 781 | | "github781" | "--skip-context-validation --skip-context-validation -t {datasrc}/RSS001E01_2031066T0241_EURGRVL20XXXXXXGSFC_COV010.xml" | | +| 817 | 1 | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 785 | 1 | "github785" | "--skip-context-validation -t {datasrc}/00038_FGM_RTN.xml" | "summary:totalWarnings=6,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=6" | +| 781 | 1 | "github781" | "--skip-context-validation --skip-context-validation -t {datasrc}/RSS001E01_2031066T0241_EURGRVL20XXXXXXGSFC_COV010.xml" | | | 755 | 1 | "github755" | "-skip-context-validation -t {datasrc}/m221011.0013.xml {datasrc}/m221011.0014.xml {datasrc}/m221011.0015.xml {datasrc}/m221011.0030.xml" | "summary:totalErrors=2,summary:productValidation:failed=2,summary:messageTypes:error.label.file_areas_duplicated_reference=2" | | 755 | 2 | "github755" | "-skip-context-validation -t {datasrc}/m221011.0013.xml {datasrc}/m221011.0015.xml" | | -| 754 | | "github754" | "--skip-context-validation -t {datasrc}/Cassini_ISS_CB2_Jupiter_global_map_2.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schema=1" | -| 693 | | "github693" | "-t {datasrc}/" | "summary:totalErrors=4,summary:totalWarnings=8,summary:productValidation:failed=4,summary:messageTypes:error.pdf.file.not_pdfa_compliant=4,summary:messageTypes:warning.label.context_ref_mismatch=8" | -| 690 | | "github690" | "--skip-context-validation -t {datasrc}/rs_20160518_014000_udsc64_l3_e_v10.xml" | "summary:totalErrors=16,summary:totalWarnings=900,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=13,summary:messageTypes:warning.label.schema=12,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=888" | +| 754 | 1 | "github754" | "--skip-context-validation -t {datasrc}/Cassini_ISS_CB2_Jupiter_global_map_2.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schema=1" | +| 693 | 1 | "github693" | "-t {datasrc}/" | "summary:totalErrors=4,summary:totalWarnings=8,summary:productValidation:failed=4,summary:messageTypes:error.pdf.file.not_pdfa_compliant=4,summary:messageTypes:warning.label.context_ref_mismatch=8" | +| 690 | 1 | "github690" | "--skip-context-validation -t {datasrc}/rs_20160518_014000_udsc64_l3_e_v10.xml" | "summary:totalErrors=16,summary:totalWarnings=900,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=13,summary:messageTypes:warning.label.schema=12,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=888" | | 684 | 1 | "github684" | "--skip-context-validation -t {datasrc}/example_params_noFileSize.xml" | | | 684 | 2 | "github684" | "--skip-context-validation -t {datasrc}/example_params_wFileSize.xml" | | -| 683 | | "github614" | "-t {datasrc}/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | "summary:totalWarnings=4,summary:messageTypes:warning.data_objects.out_of_order=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | +| 683 | 1 | "github614" | "-t {datasrc}/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | "summary:totalWarnings=4,summary:messageTypes:warning.data_objects.out_of_order=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | | 681 | 1 | "github681" | "-t {datasrc}/ff_char.xml {datasrc}/ff_del.xml" | "summary:totalErrors=1,summary:totalWarnings=4,summary:productValidation:failed=1,summary:messageTypes:error.label.file_areas_duplicated_reference=1,summary:messageTypes:warning.label.context_ref_mismatch=4" | | 681 | 2 | "github681" | "-t {datasrc}/ff_char_fail.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_format_precision_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=2" | | 681 | 3 | "github681" | "-t {datasrc}/ff_char_warn.xml {datasrc}/ff_del_warn.xml" | "summary:totalErrors=1,summary:totalWarnings=6,summary:productValidation:failed=1,summary:messageTypes:error.label.file_areas_duplicated_reference=1,summary:messageTypes:warning.label.context_ref_mismatch=4,summary:messageTypes:warning.table.field_value_format_precision_mismatch=2" | | 680 | 1 | "github680" | "--skip-context-validation -t {datasrc}/ORB12_EUR_EPHIO_reclen96.xml" | | | 680 | 2 | "github680" | "--skip-context-validation -t {datasrc}/ORB12_EUR_EPHIO_reclen95.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.record_length_mismatch=1" | -| 671 | | "github671" | "--skip-context-validation -t {datasrc} -R pds4.bundle" | | -| 652 | | "github652" | "--skip-context-validation -t {datasrc}" | | -| 651 | | "github651" | "-t {datasrc}/M1431146123CC.xml" | | -| 649 | | "github597" | "-R pds4.collection --skip-context-validation -t {datasrc}/spice_kernels/collection_spice_kernels_v003.xml" | "summary:productValidation:skipped=2" | -| 644 | | "github644" | "-t {datasrc}/scam_0072_0673327336_185_cp2_scam01072_scct_41_irsalign_____04p04.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=1" | -| 631 | | "github631" | "-v 1 -t {datasrc}/hyb2_tir_20180629_075501_l1.xml" | "summary:totalErrors=24,summary:totalWarnings=20,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=3,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=19,summary:messageTypes:info.label.context_ref_found=4,summary:messageTypes:info.label.filesize_matches=1,summary:messageTypes:info.label.local_identifier_found=2,summary:messageTypes:warning.label.context_ref_mismatch=2,summary:messageTypes:warning.label.schema=18" | -| 628 | | "github628" | "--skip-content-validation --disable-context-mismatch-warnings -t {datasrc}/mp2_flat_20061109.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schema=1" | -| 617 | | "github617" | "--skip-content-validation -t {datasrc}/uvis_euv_2005_159_solar_time_series_ingress.xml" | "summary:totalWarnings=1,summary:messageTypes:error.validation.file_naming_problem=1" | -| 616 | | "github616" | "--skip-context-validation -t {datasrc}/mre_cal_sc_ttcp_delay_schulte_01s_2021069.xml" | | -| 614 | | "github614" | "-t {datasrc}/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | "summary:totalWarnings=4,summary:messageTypes:warning.data_objects.out_of_order=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | -| 611 | | "github611" | "-t {datasrc}/GRD-L1A-150313-150319_150625-BGO.xml" | "summary:totalWarnings=9,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=9" | -| 605 | | "github605" | "--skip-context-validation -t {datasrc}/video_and_audio.xml" | | -| 604 | | "github604" | "--skip-context-validation -t {datasrc}/video.xml" | | +| 671 | 1 | "github671" | "--skip-context-validation -t {datasrc} -R pds4.bundle" | | +| 652 | 1 | "github652" | "--skip-context-validation -t {datasrc}" | | +| 651 | 1 | "github651" | "-t {datasrc}/M1431146123CC.xml" | | +| 649 | 1 | "github597" | "-R pds4.collection --skip-context-validation -t {datasrc}/spice_kernels/collection_spice_kernels_v003.xml" | "summary:productValidation:skipped=2" | +| 644 | 1 | "github644" | "-t {datasrc}/scam_0072_0673327336_185_cp2_scam01072_scct_41_irsalign_____04p04.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=1" | +| 631 | 1 | "github631" | "-v 1 -t {datasrc}/hyb2_tir_20180629_075501_l1.xml" | "summary:totalErrors=24,summary:totalWarnings=20,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=3,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=19,summary:messageTypes:info.label.context_ref_found=4,summary:messageTypes:info.label.filesize_matches=1,summary:messageTypes:info.label.local_identifier_found=2,summary:messageTypes:warning.label.context_ref_mismatch=2,summary:messageTypes:warning.label.schema=18" | +| 628 | 1 | "github628" | "--skip-content-validation --disable-context-mismatch-warnings -t {datasrc}/mp2_flat_20061109.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schema=1" | +| 617 | 1 | "github617" | "--skip-content-validation -t {datasrc}/uvis_euv_2005_159_solar_time_series_ingress.xml" | "summary:totalWarnings=1,summary:messageTypes:error.validation.file_naming_problem=1" | +| 616 | 1 | "github616" | "--skip-context-validation -t {datasrc}/mre_cal_sc_ttcp_delay_schulte_01s_2021069.xml" | | +| 614 | 1 | "github614" | "-t {datasrc}/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | "summary:totalWarnings=4,summary:messageTypes:warning.data_objects.out_of_order=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | +| 611 | 1 | "github611" | "-t {datasrc}/GRD-L1A-150313-150319_150625-BGO.xml" | "summary:totalWarnings=9,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=9" | +| 605 | 1 | "github605" | "--skip-context-validation -t {datasrc}/video_and_audio.xml" | | +| 604 | 1 | "github604" | "--skip-context-validation -t {datasrc}/video.xml" | | | 599 | 1 | "github599" | "--skip-context-validation -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schematron=1" | | 599 | 2 | "github599" | "--skip-context-validation -x {datasrc}/PDS4_PDS_1I00.xsd -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1" | | 599 | 3 | "github599" | "--skip-context-validation -S {datasrc}/PDS4_PDS_1I00.sch -t {datasrc}/AREA_Camelot_1radii.xml" | "summary:totalErrors=1,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.label.schematron=1,summary:messageTypes:warning.label.schematron=1" | @@ -46,11 +46,11 @@ Feature: < 3.6 | 597 | 3 | "github561" | "-R pds4.collection --label-extension lblx --skip-context-validation -t {datasrc}" | | | 535 | 1 | "github535" | "-t {datasrc}/uvis_euv_2008_003_solar_time_series_ingress.xml --complete-descriptions" | "summary:totalWarnings=4,summary:messageTypes:warning.data.not_described=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | | 535 | 2 | "github535" | "-t {datasrc}/uvis_euv_2016_288_solar_time_series_egress.xml --complete-descriptions" | "summary:totalErrors=1,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.table_definition_problem=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | -| 533 | | "github533" | "--skip-content-validation --skip-context-validation -t {datasrc}/gggrx_1200a_shb_l420.xml" | | +| 533 | 1 | "github533" | "--skip-content-validation --skip-context-validation -t {datasrc}/gggrx_1200a_shb_l420.xml" | | | 531 | 1 | "github531" | "--skip-context-validation -t {datasrc}/success/b.xml" | | | 531 | 2 | "github531" | "--skip-context-validation -t {datasrc}/fail/b.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.label.table_definition_problem=1" | -| 529 | | "github529" | "--skip-context-validation -t {datasrc}/success/m0154651923f6_2p_cif_gbl.xml" | | -| 514 | | "github514" | "--skip-context-validation -t {datasrc}/success/8array.xml" | | +| 529 | 1 | "github529" | "--skip-context-validation -t {datasrc}/success/m0154651923f6_2p_cif_gbl.xml" | | +| 514 | 1 | "github514" | "--skip-context-validation -t {datasrc}/success/8array.xml" | | | 499 | 1 | "github499" | "--skip-context-validation -t {datasrc}/success/M7_217_044546_N.xml" | | | 499 | 2 | "github499" | "--skip-context-validation -t {datasrc}/fail/M7_217_044546_N.xml" | "summary:totalErrors=25,summary:productValidation:failed=1,summary:messageTypes:error.table.missing_CRLF=25" | | 482 | 1 | "github482" | "--skip-context-validation -e lblx -R pds4.folder -t {datasrc}/bundle1/" | | @@ -67,32 +67,32 @@ Feature: < 3.6 | 469 | 3 | "github469" | "--skip-context-validation -t {datasrc}/201401031400_rdr_min_FAIL.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_out_of_min_max_range=3" | | 467 | 1 | "github476" | "-R pds4.label -t {datasrc}/bundle_mars2020_spice_v003.xml" | "summary:totalErrors=2,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | | 467 | 2 | "github476" | "-R pds4.label -t {datasrc}/collection_lab.hydrocarbon_spectra_data.xml" | "summary:totalErrors=1,summary:totalWarnings=8,summary:productValidation:failed=1,summary:messageTypes:error.inventory.duplicate_lidvid=1,summary:messageTypes:warning.label.context_ref_mismatch=8" | -| 447 | | "github447" | "-t {datasrc}/document/" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | -| 444 | | "github444" | "--skip-context-validation -t {datasrc}/odya_bundle/bundle_ody_accel.xml" | | -| 435 | | "github435" | "-R pds4.label -t {datasrc}/flat_w.xml" | | -| 432 | | "github432" | "-R pds4.bundle -t {datasrc}/bundle-voyager1-pls-sat-1.0.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.integrity.reference_not_found=1" | -| 429 | | "github429" | "-R pds4.label --disable-context-mismatch-warnings -t {datasrc}/EPPS_EDR_SIS.xml" | | -| 427 | | "github427" | "--skip-context-validation -t {datasrc}/dir%20with%20spaces/rs_20160518_014000_udsc64_l3_e_v10.xml" | "summary:totalErrors=16,summary:totalWarnings=14,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=13,summary:messageTypes:warning.label.schema=12,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=2" | +| 447 | 1 | "github447" | "-t {datasrc}/document/" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 444 | 1 | "github444" | "--skip-context-validation -t {datasrc}/odya_bundle/bundle_ody_accel.xml" | | +| 435 | 1 | "github435" | "-R pds4.label -t {datasrc}/flat_w.xml" | | +| 432 | 1 | "github432" | "-R pds4.bundle -t {datasrc}/bundle-voyager1-pls-sat-1.0.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.integrity.reference_not_found=1" | +| 429 | 1 | "github429" | "-R pds4.label --disable-context-mismatch-warnings -t {datasrc}/EPPS_EDR_SIS.xml" | | +| 427 | 1 | "github427" | "--skip-context-validation -t {datasrc}/dir%20with%20spaces/rs_20160518_014000_udsc64_l3_e_v10.xml" | "summary:totalErrors=16,summary:totalWarnings=14,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=13,summary:messageTypes:warning.label.schema=12,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=2" | | 424 | 1 | "github424" | "-R pds4.label -t {datasrc}/asurpif_photos_amboycrater_v1.0_20211021_sip_v1.0.xml" | | | 424 | 2 | "github424" | "-R pds4.label -t {datasrc}/asurpif_photos_amboycrater_v1.0_20211021_aip_v1.0.xml" | | -| 419 | | "github419" | "-R pds4.label --disable-context-mismatch-warnings -t {datasrc}/bundle_astromat_chem.xml" | | +| 419 | 1 | "github419" | "-R pds4.label --disable-context-mismatch-warnings -t {datasrc}/bundle_astromat_chem.xml" | | | 416 | 1 | "github416" | "-R pds4.label -t {datasrc}/mix_raw_calib_mixs-c_sw_offset_table_20160301.xml" | "summary:totalWarnings=5,summary:messageTypes:warning.label.context_ref_mismatch=5" | | 416 | 2 | "github416" | "-R pds4.label -t {datasrc}/mix_raw_calib_mixs-c_sw_offset_table_20160301_invalid.xml" | "summary:totalErrors=5,summary:totalWarnings=5,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.table.field_value_data_type_mismatch=2,summary:messageTypes:warning.label.context_ref_mismatch=5" | | 416 | 3 | "github416" | "-R pds4.label -t {datasrc}/phe_misc_temperature_reference_20190524.xml" | "summary:totalWarnings=5,summary:messageTypes:warning.label.context_ref_mismatch=5" | | 416 | 4 | "github416" | "-R pds4.label -t {datasrc}/phe_misc_temperature_reference_20190524_invalid.xml" | "summary:totalErrors=866,summary:totalWarnings=293,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.table.field_value_data_type_mismatch=575,summary:messageTypes:error.table.missing_CRLF=288,summary:messageTypes:warning.label.context_ref_mismatch=5,summary:messageTypes:warning.table.field_value_format_specifier_mismatch=288" | -| 408 | | "github408" | "-R pds4.bundle --skip-content-validation -t {datasrc}/valid/bundle_insight_seis.xml" | "summary:totalWarnings=17,summary:productValidation:skipped=2,summary:messageTypes:warning.integrity.member_not_found=14,summary:messageTypes:warning.label.context_ref_mismatch=3" | -| 401 | | "github401" | "-R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=5,summary:totalWarnings=2,summary:productValidation:failed=5,summary:productValidation:skipped=1,summary:messageTypes:error.label.schema=1,summary:messageTypes:error.table.records_mismatch=1,summary:messageTypes:error.validation.invalid_field_value=3,summary:messageTypes:warning.integrity.member_not_found=1,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 408 | 1 | "github408" | "-R pds4.bundle --skip-content-validation -t {datasrc}/valid/bundle_insight_seis.xml" | "summary:totalWarnings=17,summary:productValidation:skipped=2,summary:messageTypes:warning.integrity.member_not_found=14,summary:messageTypes:warning.label.context_ref_mismatch=3" | +| 401 | 1 | "github401" | "-R pds4.bundle -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=5,summary:totalWarnings=2,summary:productValidation:failed=5,summary:productValidation:skipped=1,summary:messageTypes:error.label.schema=1,summary:messageTypes:error.table.records_mismatch=1,summary:messageTypes:error.validation.invalid_field_value=3,summary:messageTypes:warning.integrity.member_not_found=1,summary:messageTypes:warning.integrity.unreferenced_member=1" | | 392 | 1 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/test1_valid.xml" | | | 392 | 2 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/test1_invalid.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=1" | | 392 | 3 | "github392" | "-R pds4.label --skip-context-validation -t {datasrc}/INVALID_odf07155_msgr_11.xml" | "summary:totalErrors=2,summary:productValidation:failed=1,summary:messageTypes:error.table.bad_field_read=1,summary:messageTypes:error.table.field_value_overlap=1" | | 380 | 1 | "github379" | "-R pds4.label --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=2,summary:messageTypes:error.table.records_mismatch=1" | | 380 | 2 | "github379" | "-R pds4.label --debug-mode --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:debug.table.field_value_matches_data_type=92,summary:messageTypes:debug.table.record_has_CRLF=1,summary:messageTypes:debug.table.record_match=1,summary:messageTypes:error.table.field_value_overlap=2,summary:messageTypes:error.table.records_mismatch=1,summary:messageTypes:info.label.checksum_matches=1,summary:messageTypes:info.label.filesize_matches=1,summary:messageTypes:info.table.blank_field_value=1" | -| 379 | | "github379" | "-R pds4.label --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=2,summary:messageTypes:error.table.records_mismatch=1" | -| 376 | | "github376" | "-R pds4.label -M src/test/resources/github376/urn-nasa-pds-duxbury_pdart14_mariner69.md5 -t {datasrc}/bundle_duxbury_pdart14_mariner69.xml" | | -| 375 | | "github375" | "-R pds4.bundle --skip-content-validation --skip-context-validation -t {datasrc}/h/bundle_gbo.ast.primass-l.spectra.xml" | | +| 379 | 1 | "github379" | "-R pds4.label --skip-context-validation --skip-context-reference-check -t {datasrc}/mix_cal_hk_fpac_report_20181204.xml" | "summary:totalErrors=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=2,summary:messageTypes:error.table.records_mismatch=1" | +| 376 | 1 | "github376" | "-R pds4.label -M src/test/resources/github376/urn-nasa-pds-duxbury_pdart14_mariner69.md5 -t {datasrc}/bundle_duxbury_pdart14_mariner69.xml" | | +| 375 | 1 | "github375" | "-R pds4.bundle --skip-content-validation --skip-context-validation -t {datasrc}/h/bundle_gbo.ast.primass-l.spectra.xml" | | | 373 | 1 | "github240" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -t {datasrc}/valid/bundle_kaguya_derived.xml" | "summary:totalWarnings=5,summary:productValidation:skipped=6,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | | 373 | 2 | "github240" | "-R pds4.bundle --skip-product-validation --skip-context-validation --skip-content-validation --skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalWarnings=8,summary:productValidation:skipped=6,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1,summary:messageTypes:warning.sub_directory.unallowed_name=3" | -| 368 | | "github368" | "-R pds4.bundle --skip-context-reference-check --skip-product-validation -t {datasrc}/valid//bundle_kaguya_derived.xml" | "summary:totalWarnings=3,summary:productValidation:skipped=1,summary:messageTypes:warning.integrity.member_not_found=1,summary:messageTypes:warning.integrity.reference_not_found=1,summary:messageTypes:warning.integrity.unreferenced_member=1" | +| 368 | 1 | "github368" | "-R pds4.bundle --skip-context-reference-check --skip-product-validation -t {datasrc}/valid//bundle_kaguya_derived.xml" | "summary:totalWarnings=3,summary:productValidation:skipped=1,summary:messageTypes:warning.integrity.member_not_found=1,summary:messageTypes:warning.integrity.reference_not_found=1,summary:messageTypes:warning.integrity.unreferenced_member=1" | | 367 | 1 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | | 367 | 2 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | | 367 | 3 | "github367" | "-R pds4.bundle -t {datasrc}/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=19,summary:productValidation:failed=2,summary:messageTypes:error.file.not_jpeg_compliant=2,summary:messageTypes:error.file.not_png_compliant=2,summary:messageTypes:error.label.duplicate_identifier=1,summary:messageTypes:error.label.missing_file=2,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_encapsulated_postscript_mimetype=1,summary:messageTypes:warning.file.not_gif_mimetype=1,summary:messageTypes:warning.file.not_html_mimetype=2,summary:messageTypes:warning.file.not_latex_mimetype=2,summary:messageTypes:warning.file.not_mp4_mimetype=2,summary:messageTypes:warning.file.not_msexcel_mimetype=1,summary:messageTypes:warning.file.not_msword_mimetype=1,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.file.not_tiff_mimetype=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | @@ -120,7 +120,7 @@ Feature: < 3.6 | 349 | 2 | "github349" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/datasetbad.xml" | "summary:totalErrors=1,summary:totalWarnings=0,summary:productValidation:failed=1,summary:messageTypes:error.directory.unallowed_name=1" | | 345 | 1 | "github345" | "-R pds4.label -t {datasrc}/astro_sample_t.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | | 345 | 2 | "github345" | "-R pds4.label -t {datasrc}/astro_sample_data_t.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | -| 344 | | "github344" | "-R pds4.bundle -t {datasrc}/bundle.xml" | "summary:totalWarnings=21,summary:messageTypes:warning.integrity.reference_not_found=7,summary:messageTypes:warning.label.context_ref_mismatch=14" | +| 344 | 1 | "github344" | "-R pds4.bundle -t {datasrc}/bundle.xml" | "summary:totalWarnings=21,summary:messageTypes:warning.integrity.reference_not_found=7,summary:messageTypes:warning.label.context_ref_mismatch=14" | | 343 | 1 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs.xml" | | | 343 | 2 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs_bad.xml" | "summary:totalErrors=14,summary:productValidation:failed=1,summary:messageTypes:error.array.value_out_of_min_max_range=14" | | 343 | 3 | "github343" | "-R pds4.label --skip-context-validation -t {datasrc}/test_data/I52_20210207_1A_U1B03A_01_0001.avgs_bad_noname.xml" | "summary:totalErrors=14,summary:productValidation:failed=1,summary:messageTypes:error.array.value_out_of_min_max_range=14" | @@ -130,7 +130,7 @@ Feature: < 3.6 | 334 | 2 | "github334" | "-R pds4.label -t {datasrc}/invalid/pvoro_graph_eden_k91_3a_01_v01_r00.xml" | "summary:totalErrors=3,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.label.invalid_object_definition=2,summary:messageTypes:error.label.schematron=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | | 328 | 1 | "github328" | "-R pds4.bundle -t {datasrc}/valid/bundle_misc.xml" | "summary:totalErrors=1,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | | 328 | 2 | "github328" | "-R pds4.bundle -t {datasrc}/invalid/bundle_misc.xml" | "summary:totalErrors=1,summary:totalWarnings=1,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | -| 325 | | "github325" | "-R pds4.label -t {datasrc}/crs009x.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | +| 325 | 1 | "github325" | "-R pds4.label -t {datasrc}/crs009x.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.context_ref_mismatch=1" | | 310 | 1 | "github310" | "-R pds4.bundle --skip-content-validation -t {datasrc}/valid/bundle.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=1" | | 310 | 2 | "github310" | "-R pds4.bundle --skip-content-validation -t {datasrc}/invalid/bundle.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=1" | | 308 | 1 | "github308" | "-R pds4.bundle -t {datasrc}/valid/bundle_kaguya_derived.xml" | "summary:totalWarnings=5,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.unreferenced_member=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | @@ -174,12 +174,12 @@ Feature: < 3.6 | 217 | 1 | "github217" | "--skip-context-validation -t {datasrc}/success/" | "summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | | 217 | 2 | "github217" | "-t {datasrc}/fail/delmet4.xml {datasrc}/fail/binobs4.xml {datasrc}/fail/delobs4.xml {datasrc}/fail/delinv4.xml {datasrc}/fail/ascbro4.xml {datasrc}/fail/delsup4.xml {datasrc}/fail/delanc4.xml {datasrc}/fail/binanc4.xml {datasrc}/fail/binsup4.xml {datasrc}/fail/ascsup4.xml {datasrc}/fail/delbro4.xml {datasrc}/fail/ascanc4.xml {datasrc}/fail/binbro4.xml {datasrc}/fail/ascmet4.xml {datasrc}/fail/ascobs4.xml" | "summary:totalErrors=29,summary:totalWarnings=5,summary:productValidation:failed=15,summary:messageTypes:error.label.file_areas_duplicated_reference=14,summary:messageTypes:error.label.table_definition_problem=9,summary:messageTypes:error.table.records_mismatch=6,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=4" | | 217 | 3 | "github217" | "-t {datasrc}/fail/delmet4.xml {datasrc}/fail/binobs4.xml {datasrc}/fail/delobs4.xml {datasrc}/fail/delinv4.xml {datasrc}/fail/ascbro4.xml {datasrc}/fail/delsup4.xml {datasrc}/fail/delanc4.xml {datasrc}/fail/binanc4.xml {datasrc}/fail/binsup4.xml {datasrc}/fail/ascsup4.xml {datasrc}/fail/delbro4.xml {datasrc}/fail/ascanc4.xml {datasrc}/fail/binbro4.xml {datasrc}/fail/ascmet4.xml {datasrc}/fail/ascobs4.xml" | "summary:totalErrors=29,summary:totalWarnings=5,summary:productValidation:failed=15,summary:messageTypes:error.label.file_areas_duplicated_reference=14,summary:messageTypes:error.label.table_definition_problem=9,summary:messageTypes:error.table.records_mismatch=6,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=4" | -| 210 | | "github210" | "--skip-content-validation -t {datasrc}/bundle_cassini-huygens-coradar.xml {datasrc}/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | +| 210 | 1 | "github210" | "--skip-content-validation -t {datasrc}/bundle_cassini-huygens-coradar.xml {datasrc}/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | | 209 | 1 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/VALID_odf07155_msgr_11.xml" | | | 209 | 2 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/FAIL1_overlapping_bit_fields.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_overlap=1" | | 209 | 3 | "github209" | "--disable-context-mismatch-warnings -t {datasrc}/FAIL2_bad_stop_bit.xml" | "summary:totalErrors=2,summary:productValidation:failed=1,summary:messageTypes:error.table.bad_field_read=1,summary:messageTypes:error.table.field_value_overlap=1" | -| 190 | | "github190" | "--skip-context-validation -t {datasrc}/validation_test.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | -| 188 | | "github188" | "--skip-content-validation -t {datasrc}/bundle_cassini-huygens-coradar.xml {datasrc}/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | +| 190 | 1 | "github190" | "--skip-context-validation -t {datasrc}/validation_test.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | +| 188 | 1 | "github188" | "--skip-content-validation -t {datasrc}/bundle_cassini-huygens-coradar.xml {datasrc}/BILQH07S314_D065_T008S02_V02_without_Missing_Area_tag.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1" | | 173 | 1 | "github173" | "--skip-context-validation -R pds4.bundle -t {datasrc}/valid/ --skip-content-validation" | "summary:totalWarnings=5,summary:messageTypes:warning.integrity.reference_not_found=5" | | 173 | 2 | "github173" | "--skip-context-validation -R pds4.bundle -t {datasrc}/invalid/ --skip-content-validation" | "summary:totalErrors=1,summary:totalWarnings=5,summary:referentialIntegrity:failed=1,summary:messageTypes:error.table.records_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=5" | | 164 | 1 | "github164" | "-R pds4.label --skip-context-validation -t {datasrc}/invalid/document_test_1_pdf.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1" | @@ -190,7 +190,7 @@ Feature: < 3.6 | 149 | 2 | "github173" | "--skip-context-validation -t {datasrc}/invalid/bundle_kaguya_derived.xml" | | | 137 | 1 | "github137" | "-t {datasrc}/delimited_table_good.xml" | "summary:totalErrors=4,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=3,summary:messageTypes:error.label.filesize_mismatch=1" | | 137 | 2 | "github137" | "-t {datasrc}/delimited_table_bad.xml" | "summary:totalErrors=5,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=3,summary:messageTypes:error.table.field_value_data_type_mismatch=2" | -| 87 | | "github87" | "-R pds4.label --skip-content-validation -t {datasrc}/2t126632959btr0200p3002n0a1.xml {datasrc}/2t126646972btr0200p3001n0a1.xml -C {datasink}/catalog.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | +| 87 | 1 | "github87" | "-R pds4.label --skip-content-validation -t {datasrc}/2t126632959btr0200p3002n0a1.xml {datasrc}/2t126646972btr0200p3001n0a1.xml -C {datasink}/catalog.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | | 84 | 1 | "github84" | "--no-data-check -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | "summary:totalErrors=1,summary:totalWarnings=2,summary:productValidation:failed=1,summary:messageTypes:error.label.context_ref_not_found=1,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=1" | | 84 | 2 | "github84" | "--skip-content-validation --skip-context-validation -c {datasrc}/config.txt -t {datasrc}/../github71/ELE_MOM.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schema=1" | | 71 | 1 | "github71" | "-C {datasrc}/catalog.xml --skip-content-validation --skip-context-validation -t {datasrc}/ELE_MOM.xml" | "summary:totalErrors=9,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=2,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=5,summary:messageTypes:warning.label.schema=3" | @@ -222,7 +222,7 @@ Feature: < 3.6 | 9 | 4 | "github09" | "-t {datasrc}/csv_empty_field_test_INVALID.xml" | "summary:totalErrors=1,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1" | | 9 | 5 | "github09" | "-t {datasrc}/val9a.xml.xml" | "summary:totalErrors=2,summary:productValidation:failed=2,summary:messageTypes:error.execution.no_products_found=2" | | 9 | 6 | "github09" | "-t {datasrc}/val9b.xml" | "summary:totalErrors=1,summary:totalWarnings=3,summary:productValidation:failed=1,summary:messageTypes:error.table.field_value_data_type_mismatch=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | -| 7 | | "github7" | "--skip-context-validation -t {datasrc}/ch2_sar_ncxs_20090107t163003745_d_sli_xx_fp_hh_pb1_19111.xml" | | +| 7 | 1 | "github7" | "--skip-context-validation -t {datasrc}/ch2_sar_ncxs_20090107t163003745_d_sli_xx_fp_hh_pb1_19111.xml" | | | 6 | 1 | "github6" | "--skip-context-validation -R pds4.bundle {datasrc}/invalid/bundle_kaguya_derived.xml" | "summary:totalErrors=8,summary:totalWarnings=14,summary:productValidation:failed=2,summary:productValidation:skipped=6,summary:referentialIntegrity:failed=5,summary:messageTypes:error.file.name_has_invalid_characters=6,summary:messageTypes:error.file.unallowed_base_name=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_referenced_in_label=7,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=2,summary:messageTypes:warning.label.schematron=1" | | 6 | 2 | "github6" | "-R pds4.bundle --skip-context-validation {datasrc}/invalid/bundle_kaguya_derived_7.xml" | "summary:totalErrors=8,summary:totalWarnings=15,summary:productValidation:failed=2,summary:productValidation:skipped=6,summary:referentialIntegrity:failed=5,summary:messageTypes:error.file.name_has_invalid_characters=6,summary:messageTypes:error.file.unallowed_base_name=1,summary:messageTypes:error.pdf.file.not_pdfa_compliant=1,summary:messageTypes:warning.file.not_referenced_in_label=7,summary:messageTypes:warning.integrity.member_not_found=1,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=3" | | 6 | 3 | "github6" | "-R pds4.bundle --skip-context-validation {datasrc}/valid/bundle_kaguya_derived.xml" | "summary:totalWarnings=7,summary:messageTypes:warning.file.not_referenced_in_label=2,summary:messageTypes:warning.integrity.pds4_version_mismatch=1,summary:messageTypes:warning.integrity.reference_not_found=3,summary:messageTypes:warning.integrity.unreferenced_member=1" | From 522c77902ee50e0305c11a5124470a2e99b6e083 Mon Sep 17 00:00:00 2001 From: Jordan Padams Date: Tue, 4 Feb 2025 12:05:11 -0800 Subject: [PATCH 18/19] Fix bug in feature file --- src/test/resources/features/pre.3.6.x.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index cda1adbac..522e0c644 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -2,7 +2,7 @@ Feature: < 3.6 Scenario Outline: NASA-PDS/validate#_ Given validate issue , test , and test data at When execute validate with - Then compare to the . + Then compare to the expected outcome . @pre.3.6 Examples: | issueNumber | subtest | datasrc | args | expectation | From 35e3d6f3136d8e8f55bbbd2679c8449662a11201 Mon Sep 17 00:00:00 2001 From: Al Niessner Date: Wed, 5 Feb 2025 08:23:45 -0800 Subject: [PATCH 19/19] cleaned up expectatiosn Three of the tests were trying to download or access network resources that were not available during the recreation of the feature files. These tests had some erroneous expectations because of the external lack of resources. While the fault is clear it does demonstrate a weakness of the tests that they can fail for reasons beyond the control of the validate repo. --- src/test/resources/features/3.6.x.feature | 2 +- src/test/resources/features/pre.3.6.x.feature | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/resources/features/3.6.x.feature b/src/test/resources/features/3.6.x.feature index 7821e0617..e5c7df1ce 100644 --- a/src/test/resources/features/3.6.x.feature +++ b/src/test/resources/features/3.6.x.feature @@ -1,5 +1,5 @@ Feature: 3.6.x - Scenario Outline: NASA-PDS/validate#_ + Scenario Outline: NASA-PDS/validate#- Given validate issue , test , and test data at When execute validate with Then compare to the expected outcome . diff --git a/src/test/resources/features/pre.3.6.x.feature b/src/test/resources/features/pre.3.6.x.feature index 522e0c644..ad3a8cb33 100644 --- a/src/test/resources/features/pre.3.6.x.feature +++ b/src/test/resources/features/pre.3.6.x.feature @@ -1,5 +1,5 @@ Feature: < 3.6 - Scenario Outline: NASA-PDS/validate#_ + Scenario Outline: NASA-PDS/validate#- Given validate issue , test , and test data at When execute validate with Then compare to the expected outcome . @@ -15,7 +15,7 @@ Feature: < 3.6 | 755 | 2 | "github755" | "-skip-context-validation -t {datasrc}/m221011.0013.xml {datasrc}/m221011.0015.xml" | | | 754 | 1 | "github754" | "--skip-context-validation -t {datasrc}/Cassini_ISS_CB2_Jupiter_global_map_2.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schema=1" | | 693 | 1 | "github693" | "-t {datasrc}/" | "summary:totalErrors=4,summary:totalWarnings=8,summary:productValidation:failed=4,summary:messageTypes:error.pdf.file.not_pdfa_compliant=4,summary:messageTypes:warning.label.context_ref_mismatch=8" | -| 690 | 1 | "github690" | "--skip-context-validation -t {datasrc}/rs_20160518_014000_udsc64_l3_e_v10.xml" | "summary:totalErrors=16,summary:totalWarnings=900,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=13,summary:messageTypes:warning.label.schema=12,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=888" | +| 690 | 1 | "github690" | "--skip-context-validation -t {datasrc}/rs_20160518_014000_udsc64_l3_e_v10.xml" | "summary:totalWarnings=888,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=888" | | 684 | 1 | "github684" | "--skip-context-validation -t {datasrc}/example_params_noFileSize.xml" | | | 684 | 2 | "github684" | "--skip-context-validation -t {datasrc}/example_params_wFileSize.xml" | | | 683 | 1 | "github614" | "-t {datasrc}/ss__0505_0711794861_465rmo__0261222srlc10000w0__cgnj02.xml" | "summary:totalWarnings=4,summary:messageTypes:warning.data_objects.out_of_order=1,summary:messageTypes:warning.label.context_ref_mismatch=3" | @@ -29,7 +29,7 @@ Feature: < 3.6 | 651 | 1 | "github651" | "-t {datasrc}/M1431146123CC.xml" | | | 649 | 1 | "github597" | "-R pds4.collection --skip-context-validation -t {datasrc}/spice_kernels/collection_spice_kernels_v003.xml" | "summary:productValidation:skipped=2" | | 644 | 1 | "github644" | "-t {datasrc}/scam_0072_0673327336_185_cp2_scam01072_scct_41_irsalign_____04p04.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.label.context_ref_mismatch=1,summary:messageTypes:warning.label.schema=1" | -| 631 | 1 | "github631" | "-v 1 -t {datasrc}/hyb2_tir_20180629_075501_l1.xml" | "summary:totalErrors=24,summary:totalWarnings=20,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=3,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=19,summary:messageTypes:info.label.context_ref_found=4,summary:messageTypes:info.label.filesize_matches=1,summary:messageTypes:info.label.local_identifier_found=2,summary:messageTypes:warning.label.context_ref_mismatch=2,summary:messageTypes:warning.label.schema=18" | +| 631 | 1 | "github631" | "-v 1 -t {datasrc}/hyb2_tir_20180629_075501_l1.xml" | "summary:totalWarnings=2,summary:messageTypes:info.label.context_ref_found=4,summary:messageTypes:info.label.filesize_matches=1,summary:messageTypes:info.label.local_identifier_found=2,summary:messageTypes:warning.label.context_ref_mismatch=2" | | 628 | 1 | "github628" | "--skip-content-validation --disable-context-mismatch-warnings -t {datasrc}/mp2_flat_20061109.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.label.schema=1" | | 617 | 1 | "github617" | "--skip-content-validation -t {datasrc}/uvis_euv_2005_159_solar_time_series_ingress.xml" | "summary:totalWarnings=1,summary:messageTypes:error.validation.file_naming_problem=1" | | 616 | 1 | "github616" | "--skip-context-validation -t {datasrc}/mre_cal_sc_ttcp_delay_schulte_01s_2021069.xml" | | @@ -72,7 +72,7 @@ Feature: < 3.6 | 435 | 1 | "github435" | "-R pds4.label -t {datasrc}/flat_w.xml" | | | 432 | 1 | "github432" | "-R pds4.bundle -t {datasrc}/bundle-voyager1-pls-sat-1.0.xml" | "summary:totalWarnings=1,summary:messageTypes:warning.integrity.reference_not_found=1" | | 429 | 1 | "github429" | "-R pds4.label --disable-context-mismatch-warnings -t {datasrc}/EPPS_EDR_SIS.xml" | | -| 427 | 1 | "github427" | "--skip-context-validation -t {datasrc}/dir%20with%20spaces/rs_20160518_014000_udsc64_l3_e_v10.xml" | "summary:totalErrors=16,summary:totalWarnings=14,summary:productValidation:failed=1,summary:messageTypes:error.label.schema=1,summary:messageTypes:error.label.schematron=2,summary:messageTypes:error.label.unresolvable_resource=13,summary:messageTypes:warning.label.schema=12,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=2" | +| 427 | 1 | "github427" | "--skip-context-validation -t {datasrc}/dir%20with%20spaces/rs_20160518_014000_udsc64_l3_e_v10.xml" | "summary:totalWarnings=2,summary:messageTypes:warning.table.field_value_out_of_special_constant_min_max_range=2" | | 424 | 1 | "github424" | "-R pds4.label -t {datasrc}/asurpif_photos_amboycrater_v1.0_20211021_sip_v1.0.xml" | | | 424 | 2 | "github424" | "-R pds4.label -t {datasrc}/asurpif_photos_amboycrater_v1.0_20211021_aip_v1.0.xml" | | | 419 | 1 | "github419" | "-R pds4.label --disable-context-mismatch-warnings -t {datasrc}/bundle_astromat_chem.xml" | |