XML.orgXML.org
FOCUS AREAS |XML-DEV |XML.org DAILY NEWSLINK |REGISTRY |RESOURCES |ABOUT
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] Is XML Schema a constraint language or a specification language?

You mean it constrains the language to conform the specification.
Or it specifies a language that conforms to the constraints.

Which one. No sittingĀ  on the fence here.

On Wed, Apr 21, 2021 at 10:55 AM Mukul Gandhi <mukulg@softwarebytes.org> wrote:
On Wed, 21 Apr, 2021, 5:57 PM Roger L Costello, <costello@mitre.org> wrote:

Is an XML Schema a constraint language? An XML Schema states constraints that must be satisfied by instances for them to be "valid". Determining if an instance is valid is a constraint satisfaction problem.

Or, is an XML Schema a specification language? An XML Schema is a specification that informs instance document authors how to construct instances. Determining if an instance is valid is a matter of checking that the instance adheres to the specification.

I find both of above interpretations about XML Schema language synonymous.



--
Regards,
Mukul Gandhi


Sent from an android device


[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