validate
validate copied to clipboard
refactor code to use pds4-jparser API for parsing labels
Is your feature request related to a problem? Please describe.
Per reviewing solution for #292, it looks like the TableDataContentValidationRule
class is opening up and parsing the XML using XPath, when PDS4 JParser exists in order to provide an API to access that information programmatically.
https://github.com/NASA-PDS/pds4-jparser/blob/master/src/main/java/gov/nasa/pds/label/Label.java
I imagine this is a ubiquitous code flaw throughout, so this effort will definitely require:
- [ ] review of code to determine number of affected classes
- [ ] revising of estimate and/or breaking up into individual tickets
- [ ] implementation