Re: [xml-dev] Invoices (was Re: [xml-dev] XML's greatest culturaladvantage over JSON)
Well with some business-transaction documents such as invoices
there is a calculation model which is very important to get right
when processing the document. The processing application (code)
has to know which entities are important components of the
calculation and which are not. If there are no variations to the
schema (or more specifically to the structure and semantics) the
calculation model is clear. Having a situation where there are no
variations which could impact the calculation model is extremely
optimistic when there are many parties involved, especially when
there are multiple countries and accounting and tax systems
involved. So having a way to always be certain whether a strange
entity is relevant to the calculation model is important to allow
reliable calculations even in a non-homogenous scenario where
there are multiple variations, some known, some unknown (such
as new versions and unfamiliar customisations or even variations
in the use of the same schema)... And that's a simplification.