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

RE: RE: Declarative programming requires a differentmindset

  • From: "Costello, Roger L." <costello@mitre.org>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Sun, 11 Apr 2010 16:29:38 -0400

RE:  RE: Declarative programming requires a differentmindset
Hi Folks,

If XSD is not a programming language then what is it?

People have said that XSD is:
   - a declarative language 
   - descriptive markup

I think that a programming language is a syntax for solving problems (where the syntax is such that it can be processed by a computer).

XSD is a syntax for solving certain problems. Specifically, XSD is for solving constraint problems, i.e.,

    Is the input ____ constrained in this ____ way?

A computer can evaluate an input document against an XSD document and produce an answer to the question, i.e., using the XSD language the problem can be solved.

I understand that the set of problems that can be solved using XSD are very specific.

People have said that a programming language is one that can solve many different kinds of problems. Certainly, then, XSD is not a programming language.

Both XSD and programming languages are languages for solving problems. So, if I were to draw a Venn diagram I would draw a:

   - bubble for XSD
   - bubble for programming languages (independent of the XSD bubble)
   - put both of the bubbles inside a big bubble

What would you label the big bubble?

Here's a graphic to illustrate my question:

http://www.xfront.com/XML-Declarative-Programming/XSD-and-programming-languages-are-a-type-of-what.gif 

/Roger



[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.