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

RE: XML Schemas: the wrong name

  • From: Ed Staub <estaub@k...>
  • To: "'Steven R. Newcomb'" <srn@c...>
  • Date: Wed, 25 Oct 2000 15:07:58 -0400

RE: XML Schemas: the wrong name
While I agree in principle, I'm not sure whether I do in practice.

It's the 80/20 rule thing again: if deriving API from schema (or vice versa)
does a lot of useful work and eliminates a lot of manual work, why not use
them?  The main thing is that automatic mappings must be overridable by
hand-crafted APIs or schemas when appropriate.  Also, it must be possible to
provide "hints" to automatic mapping mechanisms to make them more broadly
applicable.

If you're involved with Java, I'm curious about your opinion of the JSR-031
("Adelard") effort.

-Ed Staub

-----Original Message-----
From: Steven R. Newcomb [mailto:srn@c...]
Sent: Wednesday, October 25, 2000 2:44 PM
To: steven.harris@t...
Cc: xml-dev@x...
Subject: Re: XML Schemas: the wrong name


[Steven Harris:]
> In particular, what kind of exchanged information doesn't deserve an
> API? What are the benefits of separating the two?

Egad!  I didn't say that exchanged information doesn't deserve an API.
I'm saying a very, very different thing.

I'm saying that, for many kinds of information, attempting to derive
the API from the syntactic structure, or attempting to define the
syntax in terms of the desired API, are bad ideas.  The robustness of
the syntax will suffer, or the usefulness of the API will suffer, or
both, or you will throw up your hands and get disgusted with this
whole XML shtick, because XML is clearly not strong enough to deal
with your problem in a reasonable way.  Bad outcomes, all, and all
completely unnecessary.

In the general case, for any given kind of information to be
interchanged, we need:

* a model for the syntax of the information, *and*

* a model for the properties of the information, once it has been
  understood.

-Steve

--
Steven R. Newcomb, Consultant
srn@c...

voice: +1 972 359 8160
fax:   +1 972 359 0270

405 Flagler Court
Allen, Texas 75013-2821 USA

"We're not exactly anti-schema, but we're sure pro-DTD."
 -- doctypes.org

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.