ValBuddy CLI / CI

Run XML validation locally for agents and automated workflows.

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

One command for development, agents, and CI.

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.

Windows command
valbuddy.exe -v -verbose -s "D:\Schemas\invoice.xsd" "D:\Data\invoice.xml"

What the caller receives

  • The process exit status
  • Human-readable console status and validation diagnostics
  • Operation-specific logs or output files where the selected mode creates them

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

Use the tool contract instead of rebuilding validation glue.

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.

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.

Run batch settings

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.

Diagnose signatures

-dsigverify can verify XML Digital Signatures and write JSON, XML, or HTML expert reports. Signature capabilities depend on the installed edition.

Requirements and editions

Use the current Windows package and check the mode you need.

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

Local processing is not the same as an offline guarantee.

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.