XML error sample library
Reusable XML/XSD test cases for local debugging and CI regression checks.
Loading...
Features Overview
Reusable XML/XSD test cases for local debugging and CI regression checks. Files are directly downloadable. Run Basic Validation first, then use XSD checks for structure issues.
Tool Description
Free XML validator online. Validate XML syntax, check XML against DTD or XSD schema rules, format documents, and convert XML to JSON for debugging API responses, feeds, and config files. Everything runs locally in your browser for private validation.
Capabilities Checklist
- Download valid-order.xml with order.xsd to verify a passing baseline.
- Run invalid-* files to reproduce common syntax and schema failures.
- Add these files to CI as validation baselines to reduce regression misses.
- Passing sample: standard order XML:Use with order.xsd to verify the happy path.
- Companion schema: order XSD:Defines root order with item and total constraints.
- Failing sample: missing close tag:Reproduces XML_INVALID for unbalanced tags.
- Failing sample: unescaped ampersand:Reproduces XML entity parsing failure.
- Failing sample: root/XSD mismatch:Reproduces SCHEMA_MISMATCH for root element mismatch.
Feedback
Help us improve the tool
Related Tools
JSON Formatter Online
Format, validate, and explore JSON in your browser with a tree view, exact error lines, and JSONPath, with nothing uploaded
JSON Diff
Compare two JSON documents online: key order and indentation ignored, every addition, removal, and change listed by JSONPath, nothing uploaded
Python Online Compiler
Run Python 3.8-3.12 with file uploads, project folders, and popular libraries
PHP Code Runner
Run PHP online instantly, test snippets in PHP 7.4-8.5, and compare output in your browser