mdoc-validate(1)

mdoc-validate1

Validate xml documents against a schema

Usage

mdoc validate [OPTIONS] * PATHS+

Overview

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

Options

--format=FORMAT

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.

Formats

The following documentation formats are supported:

ecma

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.

Examples

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

Mailing lists

Visit http://lists.ximian.com/mailman/listinfo/mono-docs-list for details.

Web site

Visit http://www.mono-project.com/docs/tools+libraries/tools/mdoc/ for details

Releases

9 releases since Debian 6.0 (Squeeze); the text changed 1 time.

  1. 6.0–8
  2. 9–Arch

From mono 6.12.0.206-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.