Goal 8 The design of XML shall be formal and concise

This goal is closely related to the ease of programming goal (#4). A data format is programmer-friendly only if a programmer can easily make sense out of the specification. To accomplish this, the XML specification makes use of a notation used by computer scientists when describing computer languages: Extended Backus-Naur Form (EBNF).

• EBNF is a set of rules, called productions

• Every rule describes a specific fragment of syntax

• A document is valid if it can be reduced to a single, specific rule, with no input left, by repeated application of the rules.

0 0

Post a comment