Validate XML and JSON
Use -v for one or more inputs, optionally against a specific W3C or JSON Schema, or -wf for a well-formedness check.
ValBuddy CLI / CI
Use valbuddy.exe on Windows to validate files, return actionable diagnostics, and apply the same deterministic check from a developer shell, AI coding agent, or CI runner.
Verified validation syntax
For -v with -s, put the schema first and the XML inputs after it. Exit code 0 means success; treat every non-zero value as failure.
valbuddy.exe -v -verbose -s "D:\Schemas\invoice.xsd" "D:\Data\invoice.xml"Console text is not a stable machine-readable API. Automations should gate on exit status and explicit output files, then surface the relevant findings for interpretation.
Less repeated setup
Ready-to-run commands and the ValBuddy Agent Skill reduce repeated dependency selection, argument construction, and troubleshooting. The same bounded validation step can be reviewed locally and reused in a Windows CI job.
Use -v for one or more inputs, optionally against a specific W3C or JSON Schema, or -wf for a well-formedness check.
Create and test a settings XML in the desktop application, then pass that file to valbuddy.exe for repeatable folder processing and logs. Settings-XML batch mode is not available with the free license.
-dsigverify can verify XML Digital Signatures and write JSON, XML, or HTML expert reports. Signature capabilities depend on the installed edition.
Requirements and editions
The CLI is included with the XML ValidatorBuddy portable package for 64-bit Windows; Windows 10 or Windows 11 is recommended. Core validation and well-formedness checks are available through the documented command modes. Settings-XML batch processing is not available with the free license, and signature or large-data workflows require the corresponding product capability. Keep the product version and command beside a CI result so another developer or agent can reproduce the same check.
Local execution boundary
ValBuddy opens the file paths supplied by the caller and performs the operation in the Windows environment. XML validation may use network access when schemas, DTDs, or related resources resolve remote references.
An AI agent may also send selected source content or diagnostics to its model provider. Configure the agent and network policy separately from the ValBuddy command.