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

Re: Fwd: Build applications using the "simplicity stack"

  • From: Arjun Ray <arjun.ray@verizon.net>
  • To: "xml-dev@lists.xml.org" <xml-dev@lists.xml.org>
  • Date: Tue, 01 Apr 2014 20:44:51 -0400

Re: Fwd:  Build applications using the "simplicity stack"
On Wed, 02 Apr 2014 06:35:48 +1100, Stephen Cameron
<steve.cameron.62@gmail.com> wrote:
| On Tue, Apr 1, 2014 at 10:15 PM, Arjun Ray <arjun.ray@verizon.net> wrote:
| > On Tue, 01 Apr 2014 12:35:36 +1100, Stephen Cameron
| > <steve.cameron.62@gmail.com> wrote:

| > | a data-model in XML Format (schema)
| >
| > [...] XML schema formalisms (DTD, RNG, WXS) are for analytic document 
| > structures, not - as far as I know or understand them - for arbitrarily
| > general "data models". 
| 
| [...] These formalisms have types and convey structure and relationships
| between types.

DTD don't have data types at all, besides strings and tokens.  RNG
defers data typing to external libraries.  WXS is fatally infected
with DB-think and thus has some bizarre mishmash.  Anyone remember
gHorribleKludge?  (Hi Amy!:-))

There was room to re-invent SGML notations, but no one (except RNG, in
a sense) went that route.  The ability to represent types _within_ the
formalism is quite limited.

However, the real nub of the matter is that not all data models are
naturally or conveniently reducible to trees, whereas a XML document
is in the first instance a tree, and schemas for XML are therefore for
trees.  The impedance mismatch may be great or small according to
context, but to discount it as inconsequential doesn't strike me as
wise.

| Is there a more suitable formalism for data-models that you make use of?

UML comes to mind.

| An object-oriented formalism, in UML, uses XML for interchange.

With limited traction and success, if Wikipedia is to be believed (and
in this instance, I don't see why not). 

| my concept of leveraging data-models in cost-effective ways, as I tried 
| to give some examples of, is my key point.

Fair enough.  In my work, I've never found schemas for XML instances a
good starting point, or even a vital consideration, in system design.


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