Cette page n'est pas encore disponible en Français ; vous lisez la version anglaise.

cXML versions and DTDs: which version should you use?

Pick a version, validate against it, and know what each buyer expects.

cXML et OCI Avancé 1 min de lecture Relu le 27 nov. 2026

cXML has been on the 1.2 line for many years, with frequent minor releases (1.2.001 onwards). In 2026 the current release is 1.2.069. Every minor version gets its own permanent directory, and its DTD files never change once published, for example http://xml.cxml.org/schemas/cXML/1.2.069/cXML.dtd.

How to choose

  • Use a version that includes every element you need, and that your buyers' platforms accept. Many platforms publish a supported version per document type (punchout, order, ship notice, invoice).
  • For punchout alone, the core elements have been stable for a long time; a widely accepted mid-range 1.2 version works with most buyers.
  • For invoices and ship notices, newer elements matter more; follow each platform's guidance.

Practical rules

  • Put the version in the DOCTYPE line and keep it consistent within a document.
  • Validate in testing against the DTD you declare; in production, be tolerant of unknown elements from newer buyers.
  • Do not fetch the DTD from the internet on every request: cache it locally.
  • Watch platform release notes: networks sometimes require a newer DTD for certain documents.