Re: [xml-dev] Notable declarative expressions?

From
John Cowan <>
To
u123724 <>
Date
2016-12-20T16:34:11Z
ID
<>
Thread
Re: [xml-dev] Notable declarative expressions?

On Tue, Dec 20, 2016 at 11:26 AM, u123724 <[email protected]> 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.

--
GMail doesn't have rotating .sigs, but you can see mine at http://www.ccil.org/~cowan/signatures