OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]
Re: [xml-dev] Need a language whiz: An XML Schema "specifies" howdata is to be structured? "describes"? "constrains"?

On 11/14/2017 10:42 AM, Eliot Kimber wrote:
At the risk of splitting hairs (ok, at the certain risk of splitting
hairs), I don’t think a schema can be said to “describe how data is
to be structured”.
Well, I was trying to see how close to the language of Roger's proposed statements as I could get ...

Any declarative schema is simply a set of constraints to which
instances governed by the schema do or don’t conform.
I actually see this statement as being essentially equivalent to mine: "... and may be used to constrain that structure" - in the sense that one can use conformation to the schema as a constraint. To me, we are saying much the same thing, but maybe you still see some split hairs.

> ...So a schema, by itself, can only be an incomplete definition of constraints, no more.

Yes, and therefore the interest in using different kinds of validation, like Schematron, to complement an XML Schema.


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 1993-2007 XML.org. This site is hosted by OASIS