[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: which class of programming languages, XML Schemalanguage b

  • From: Michael Kay <mike@saxonica.com>
  • To: Mukul Gandhi <mukulg@softwarebytes.org>
  • Date: Fri, 11 Mar 2022 08:48:03 +0000

Re:  which class of programming languages
Well, I would say that XSD is indeed a "formal computer language", but not a "programming language"; I don't think you can describe something as a programming language unless it is Turing-complete.

I don't know of any universally accepted categorisation scheme for formal computer languages, and without such a scheme you can't say where a particular language fits; but it's certainly reasonable to describe XSD as a constraint specification language or as a data definition language (if indeed those two categories are distinct).

Michael Kay
Saxonica

> On 11 Mar 2022, at 03:46, Mukul Gandhi <mukulg@softwarebytes.org> wrote:
> 
> Hi all,
>     I've been thinking on this topic, since a while now, and thought of seeking opinion of list members here. As the subject of this mail says, I'm interested to know, which class of programming languages, XML Schema language belongs.
> 
> As far as I know, the computer language theory says that, a language is a set of strings (or, a set of words as few books say). In that sense, XML Schema is definitely a formal computer language.
> 
> Most of the time, I tend to compare XML Schema's type system with inheritance based OO language type system. That alone, doesn't make XML Schema exactly equivalent to the nature of an OO language. XML Schema, misses the procedural semantics of an OO language. XML Schema is more like a constraint specification language. An XML schema, specifies a set of constraints (specified as, element declarations, attribute declarations, type definitions etc), that certain set of XML instance documents should follow.
> 
> Any thoughts, about this topic shall be enlightening to know.
> 
> 
> -- 
> Regards,
> Mukul Gandhi



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


PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.