actions-marketplace-validations/XML Model Validator
Validate xml-model XML with Relax NG and Schematron for TEI, DocBook, JATS, and other complex XML workflows
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Activelast commit Apr 8, 2026
- License
- MIT
Pinned Snippet
uses: actions-marketplace-validations/adunning_xml-model-validator@bcaf6c6e290181710b4efef3e6642ef1b1a5796a # no releases — HEAD as of 2026-07-13tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| files | Newline-delimited list of files to validate explicitly | no | — |
| files_from | Path to a newline-delimited file list | no | — |
| directory | Directory containing matching files to validate recursively | no | — |
| file_extensions | Comma- or whitespace-separated file extensions to discover when scanning directories or changed files; a leading period is optional | no | — |
| changed_files_only | Validate only changed files with matching extensions from the current push or pull request | no | false |
| changed_source | Source for changed_files_only file discovery (auto, api, git) | no | auto |
| jobs | Number of parallel workers to use (0 = auto) | no | 0 |
| config | Optional path to a TOML validator config file containing schema aliases and xml-model rules | no | — |
| xml_model_rule_mode | Optional inline xml-model rule mode for this run (fallback or replace) | no | — |
| xml_model_rule_directory | Optional directory scope for the inline xml-model rule; when no selection input is set, this also becomes the default directory to validate | no | — |
| xml_model_rule_extension | Optional file extension scope for the inline xml-model rule; a leading period is optional | no | — |
| xml_model_declarations | Optional newline-delimited xml-model declarations for one inline rule; repeat lines to validate against multiple schemas | no | — |
| fail_fast | Stop after the first file that fails validation | no | false |
| check_schematron_schema | Run SchXslt assembled-schema checks before validating documents that use Schematron | no | false |
| schematron_severity_threshold | Skip Schematron assertions with a severity lower than this threshold; one of INFO, WARNING, ERROR, FATAL | no | INFO |
| json_report_path | Optional path, relative to the repository root or absolute, where the Action should save a JSON validation report | no | — |
Outputs
| name | description |
|---|---|
| skipped | Whether validation was skipped because no changed files matched the configured extensions |
| files_checked | Number of files checked during validation |
| failed_files | Number of files that failed validation |
| warning_count | Number of warning-level issues produced during validation |
| json_report_path | Absolute path to the saved JSON report when json_report_path input is set |