Validates PDF structure using local Arlington PDF Model grammar rules. Fully offline and open-source; no license required for the validator itself.
You need Docker installed. The first run downloads the image and may take longer than later runs.
Mount a folder into the container and run a subcommand:
docker run --rm -v "$(pwd)":/data -w /data pdfix/validate-pdf-arlington:v1.1.1 <command> [options]
validate: Validate a PDF and write or print a reportvalidate| Option | Required | Type / expected value | Description |
|---|---|---|---|
--input, -i | yes | Path to an existing .pdf file | Input PDF |
--output, -o | no | Path for report file; omit to print to stdout | Output file |
--format | no | One of: raw, xml, html, text, json (default: xml) | Report format |
--maxfailuresdisplayed | no | Integer (default -1) | Max failures shown |
--profile | no | One of the profile ids below | Arlington grammar profile |
Profiles:
| Desktop name | --profile value |
|---|---|
| Autodetect | auto |
| Arlington 1.0 | arlington1.0 |
| Arlington 1.1 | arlington1.1 |
| Arlington 1.2 | arlington1.2 |
| Arlington 1.3 | arlington1.3 |
| Arlington 1.4 | arlington1.4 |
| Arlington 1.5 | arlington1.5 |
| Arlington 1.6 | arlington1.6 |
| Arlington 1.7 | arlington1.7 |
| Arlington 2.0 | arlington2.0 |
Notes:
--format xml, if --output is set it must end with .xml.--format html, if --output is set it must end with .html.--profile and the flag is not passed to the Arlington jar.--profile. Autodetect is the default, so a Desktop run sends at least --profile auto.Validate and print XML to stdout:
docker run --rm -v "$(pwd)":/data -w /data pdfix/validate-pdf-arlington:v1.1.1 validate -i /data/input.pdf
Validate and write HTML:
docker run --rm -v "$(pwd)":/data -w /data pdfix/validate-pdf-arlington:v1.1.1 \
validate -i /data/input.pdf -o /data/report.html --format html
Validate against Arlington 1.7:
docker run --rm -v "$(pwd)":/data -w /data pdfix/validate-pdf-arlington:v1.1.1 \
validate -i /data/input.pdf --profile arlington1.7
To report an issue, contact [email protected].
Content type
Image
Digest
sha256:2681362d5…
Size
380.7 MB
Last updated
about 11 hours ago
docker pull pdfix/validate-pdf-arlington