validate
validate copied to clipboard
Validates PDS4 product labels, data and PDS3 Volumes
## 🐛 Describe the bug A Collection product with an Inventory file (subclass of Table_Delimited) has one 63-byte record and two 64-byte records. It is given a file name ending...
## 🐛 Describe the bug I've been poking around at the codebase, and I've noticed some potentially undesirable behavior. According to [the docs](https://nasa-pds.github.io/validate/operate/index.html#Validation_Rules): ``` If the -R flag is not...
## 🐛 Describe the bug Products containing multiple occurences of `` referencing the same file are currently not caught by validate, but we believe this should be considered invalid. ##...
## 🐛 Describe the bug When i specify a schematron + schema via command-line, it works as expected. But when I only specify a schematron, it throws a nullpointerexception ##...
One data label within a collection is incorrect, and validate fails on it, but the output is misleading and indicates that the problem is with the bundle.xml. I've pared down...
Issue discovered by NSSDCA when a submitted bundle failed processing. Details [here](https://github.com/NASA-PDS/pdsen-operations/issues/60#issuecomment-790861992) --- ### Expected Per https://pds.nasa.gov/datastandards/documents/im/current/index_1F00.html, we need to enforce UTF8 for fields that specify `UTF8_*` as their data...
**Describe the bug** Per discussion in #288, it was identified to update some descriptions in the validate tool help (-h flag): 1. -R,--rule flag description text should be updated to...
It's fine by me if you never fix this. This shows up for bundles and individual files. The example below validates a single file, but the final report says 2...
This currently validates successfully but should obviously not: ``` InSight Spacecraft urn:nasa:pds:context:target:planet.earth is_instrument_host This is the PDS4 logical identifier for the InSight Lander spacecraft. ```
preparation/core/src/main/java/gov/nasa/pds/tools/label/LabelValidator.java | 855 | Local-user-controlled data in path expression (CWE-022) | Local-user-controlled data in path expression (CWE-022). Accessing paths influenced by users can allow an attacker to access unexpected resources....