What are the “DTD”, “XSD” and “RELAX NG” schemas?
These are three widely-recognised “languages” in which XML schemas can be expressed. EDItEUR provides DTDs and XSD schemas for all current ONIX for Books releases, and for Release 3.0 there is also a RELAX NG schema. Developers can use a variety of widely-available XML tools to validate an ONIX message against the DTD, XSD or RNG schema. With the DTD, only the structure is validated. With the XSD or RNG schema, both the structure and the code values are validated. An ONIX message which fails at either of these levels is invalid, and it is reasonable to expect it to be rejected by a receiver.