Add xmllint-ing of SDFs to offline_check_fortran_vs_metadata.py
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 25
- Forks
- 67
- Avg merge
- 3d 8h
- Merged PRs (30d)
- 2
Description
Description
It would be nice if the offline fortran vs metadata checker also linted the XML SDFs to validate those.
Solution
We should be able to use this function (in scripts/parse_tools/xml_tools.py) to validate any SDFs on the path:
def validate_xml_file(filename, schema_root, version, logger,
schema_path=None, error_on_noxmllint=False):
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in scripts/offline_check_fortran_vs_metadata.py and inspect how SDF paths are discovered and checked. Read validate_xml_file in scripts/parse_tools/xml_tools.py, then use it for each SDF and confirm that XML validation is performed alongside the existing checks. Done means the checker validates every SDF on its path and reports validation failures appropriately.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100