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 <[email protected]> wrote:
On Wed, 21 Apr, 2021, 5:57 PM Roger L Costello, <[email protected]> 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