Gå til hovedinnhold

kapi exec xml-validation

kapi xml-validation [files...]

XML-validering

Commandexec 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-validation
Flags
FlagTypeDefaultDescription
--check-source booltrueValidate source text for XML well-formedness
--check-target boolfalseValidate target text for XML well-formedness
--concurrency , -jint0max parallel files (0 = auto)
--encoding , -estringinput file encoding
--fail-on-unknown boolfalseexit with error if any file cannot be processed (default: skip with warning)
--format , -fstringoverride input format detection
--json boolfalseoutput results as JSON
--locale stringTarget locale for validation
--map , -mstringArraymap glob pattern to format (e.g. '*.docx=okf_openxml:test')
--no-warn boolfalsesuppress warnings for skipped files
--pack boolfalsewhen transforming a .kpz, also eject the result to the .kpz (auto-pack)
--parallel-blocks int0fan out block processing across N goroutines (0 = off)
--progress , -pboolfalseshow progress bar
--source-lang stringsource language (e.g. en, en-US; defaults to the project's source_language, else en)
--strict boolfalsealias for --fail-on-unknown
--target-lang stringtarget language (e.g. fr, de-DE)
--trace stringwrite flow trace JSON to file (for flow visualization)
--wrap-root booltrueWrap text in a root element before validating

← Back to the Command Reference