ccpp-framework icon indicating copy to clipboard operation
ccpp-framework copied to clipboard

Add xmllint-ing of SDFs to offline_check_fortran_vs_metadata.py

Open peverwhee opened this issue 1 year ago • 0 comments

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):

peverwhee avatar Oct 29 '24 16:10 peverwhee