Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add xmllint-ing of SDFs to offline_check_fortran_vs_metadata.py #607

Open
peverwhee opened this issue Oct 29, 2024 · 0 comments
Open

Add xmllint-ing of SDFs to offline_check_fortran_vs_metadata.py #607

peverwhee opened this issue Oct 29, 2024 · 0 comments

Comments

@peverwhee
Copy link
Collaborator

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):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant