validate_and_report
Validates an XML instance against an SDC4 XSD schema and returns a detailed report separating structural and semantic errors, with optional SDC4 compliance checks.
Instructions
Validate an XML instance and return a detailed report with two-tier error classification (structural vs semantic).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schema_path | Yes | Path to the SDC4 data model XSD file. | |
| instance_path | Yes | Path to the XML instance file to validate. | |
| check_compliance | No | Check schema follows SDC4 principles. Default true. |