On Tue, Dec 20, 2016 at 11:26 AM, u123724 <u123724@gmail.com> wrote:
XML Schema is language for describing a grammar, not a "data model"
(whatever that is), even though its being (ab-)used all the time.
Being a grammar, it describes a class of *sequences* over characters
or content tokens.
It's mostly a grammar, but not exclusively. In particular, subtyping by extension and restriction are data-model-like features that have nothing to do with whether a particular document conforms to a particular grammar, as it is always possible to compile them out of the schema.