Sign inSign up

pdfix/validate-pdf-arlington

By pdfix

Updated about 1 month ago

Image
0

2.7K

pdfix/validate-pdf-arlington repository overview

Validate Arlington PDF Model

Validates PDF structure using local Arlington PDF Model grammar rules. Fully offline and open-source; no license required for the validator itself.

Table of Contents

Getting started

You need Docker installed. The first run downloads the image and may take longer than later runs.

Usage

Mount a folder into the container and run a subcommand:

docker run --rm -v "$(pwd)":/data -w /data pdfix/validate-pdf-arlington:v1.0.2 <command> [options]

Commands

  • validate: Validate a PDF and write or print a report

Arguments

validate
OptionRequiredType / expected valueDescription
--input, -iyesPath to an existing .pdf fileInput PDF
--output, -onoPath for report file; omit to print to stdoutOutput file
--formatnoOne of: raw, xml, html, text, json (default: xml)Report format
--maxfailuresdisplayednoInteger (default -1)Max failures shown

Notes:

  • For --format xml, if --output is set it must end with .xml.
  • For --format html, if --output is set it must end with .html.

Examples

Validate and print XML to stdout:

docker run --rm -v "$(pwd)":/data -w /data pdfix/validate-pdf-arlington:v1.0.2 validate -i /data/input.pdf

Validate and write HTML:

docker run --rm -v "$(pwd)":/data -w /data pdfix/validate-pdf-arlington:v1.0.2 \
  validate -i /data/input.pdf -o /data/report.html --format html

Help & support

To report an issue, contact [email protected].

Licenses

Tag summary

Content type

Image

Digest

sha256:dbf028502

Size

380.4 MB

Last updated

about 1 month ago

docker pull pdfix/validate-pdf-arlington