mdoc-validate(1) General Commands Manual mdoc-validate(1)

mdoc validate - Validate XML documents against a schema

mdoc validate [OPTIONS]* PATHS+

mdoc validate validates the specified PATHS against a specified format schema.

The documentation format to validate PATHS against. Supported formats include: ecma.

See the FORMATS section below for more information about these formats.

The default format (if none is specified) is ecma.

-h, -?, --help
Display a help message and exit.

The following documentation formats are supported:

The Mono ECMA Documentation Format validates all output generated by mdoc-update(1) against an XML schema, including the index.xml, ns-*.xml, and NamespaceName/TypeName.xml files.

See mdoc(5) for details about this file format.

To validate the mdoc-update(1) output stored within a directory (and all documentation within that directory, recursively), use:
mdoc validate /path/to/ecma/docs

Visit for details.

Visit for details