DTD OASIS DITA TC · 1.3 Errata 02

DITA 1.3 task

A DITA task topic: step-by-step instructions.

About

Tasks answer "how do I?". The taskbody has prerequisites, context, steps and a result, in that order; the DTD reports steps out of place.

Good to know

  • This is the general task of DITA 1.3, the default in the technical content package.
  • The example is by xmlvalid.com.

Files

44 files · 549.3 KB

The validator loads all of these with their folder structure, so includes and imports resolve as published.

Example document

task.xml · 816 B · valid against this schema

In CI and from code

The same schema by its name, dita-1.3-task, through the API.

npx @xmlvalid/cli validate "**/*.xml" --schema dita-1.3-task
- uses: xmlvalid/validate-action@v1
  with:
    files: "**/*.xml"
    schema: dita-1.3-task
    api-key: ${{ secrets.XMLVALID_API_KEY }}
curl https://xmlvalid.com/api/v1/validations \
  -H "Authorization: Bearer $XMLVALID_API_KEY" \
  -F document={{ $schema->example ?? 'document.xml' }} -F schema=dita-1.3-task

Free accounts get 100 API validations a month. On Pro, a URL monitor can check a published document against this schema every hour and email you when it breaks. More CI setups