kapi exec xml-validation
kapi xml-validation [files...]XML Validation
Try it
Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.
kapi exec xml-validationFlags
| Flag | Type | Default | Description |
|---|---|---|---|
| --check-source | bool | true | Validate source text for XML well-formedness |
| --check-target | bool | false | Validate target text for XML well-formedness |
| --concurrency, -j | int | 0 | max parallel files (0 = auto) |
| --encoding, -e | string | charset the input is read in; a byte-order mark in the file wins (default: the project's defaults.encoding, then UTF-8) | |
| --engine | string | format engine for detected files: native or a plugin name (default: native, then plugins) | |
| --fail-on-unknown | bool | false | exit with error if any file cannot be processed (default: skip with warning) |
| --format, -f | string | override input format detection | |
| --json | bool | false | output results as JSON |
| --locale | string | Target locale for validation | |
| --map, -m | stringArray | map glob pattern to format (e.g. '*.docx=okf_openxml:test') | |
| --no-warn | bool | false | suppress warnings for skipped files |
| --pack | bool | false | when transforming a .kpz, also eject the result to the .kpz (auto-pack) |
| --parallel-blocks | int | 0 | fan out block processing across N goroutines (0 = off) |
| --progress | bool | false | show progress bar |
| --project, -p | string | path to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted) | |
| --source-lang | string | source language (e.g. en, en-US; defaults to the project's source_language, else en) | |
| --strict | bool | false | alias for --fail-on-unknown |
| --target-lang | string | target language (e.g. fr, de-DE); one per run | |
| --trace | string | write flow trace JSON to file (for flow visualization) | |
| --wrap-root | bool | true | Wrap text in a root element before validating |
← Back to the Command Reference