![]() There are two types of defining documents written for ONIX (and variations): The DTD (Document Text Definition) and a Schema. That declaration contains standard references to various files, which version of the XML standard for instance, and one of them is defines what's allowed specifically in this document. These references are in the declaration and in an ONIX file it's the section at the start before the tag. ![]() All XML documents are self defining – the recipient knows the rule set used because the document must carry that information (or it's useless). A programmer, or somebody who really understands XML, writes the "rules" – the schema or DTD – and any XML document designed to follow that specific rule set references the rule file in the document. ![]() It's sometimes called a parser and sometimes called a XML Editor but XML software capable of doing a validation.Ĭonceptually it's very simple. XML software that can compare one to the other using the rules of the XML standard.A XML document that needs testing - here an ONIX file.A file that defines what's allowed in the XML file - in this case a XML schema file with a XSD extension.You can't really understand anything done in XML unless you know how to do a proper XML validation of the file. For validation you need three things: ![]() There is no fundamental difference, as a procedure, between validating ONIX 2.1 and ONIX 3.0 except in the sense the actual XSD schemas are completely distinct, but the following is focused on 2.1 and doesn't include any information on EDItEUR's strict schema for ONIX 3.0 which is an excellent tool for ensuring your ONIX follows best practices. The information below may be of interest.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |