validate icon indicating copy to clipboard operation
validate copied to clipboard

validate does not flag *.tab files (fixed width character tables) used for collection inventory tables (delimited tables)

Open radiosci opened this issue 3 years ago • 19 comments

🐛 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 with *.tab (reserved for tables with fixed length records). Validate passes the product.

📜 To Reproduce

Steps to reproduce the behavior:

  1. Go to folder VALIDATE-TAB in the attached validate-tab.tar.gz file
  2. Note that collection_calib_freq.tab has one 63 byte record, two 64-byte records
  3. Type "validate collection_calib_freq.xml"
  4. Output will show that validate has passed the product

🕵️ Expected behavior

Validate should report that *.tab files must have fixed-length fields

📚 Version of Software Used

validate 2.0.7

🩺 Test Data / Additional context

VALIDATE-TAB has the bad file that passed. VALIDATE-CSV has a CSV version that also passed. Both folders have copies of their respective report files.

validate-tab.tar.gz validate-csv.tar.gz

🏞Screenshots

None. See report files in respective folders.

🖥 System Info

  • MacOS 11.1
  • Safari 14.0.2 (16610.3.7.1.9)

🦄 Related requirements

⚙️ Engineering Details

radiosci avatar Aug 11 '21 17:08 radiosci