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

Re: SOX: was Re: XML and Objects

  • From: "Bill la Forge" <b.laforge@j...>
  • To: "Peter Murray-Rust" <peter@u...>, <xml-dev@i...>
  • Date: Thu, 1 Oct 1998 20:06:41 -0400

proceedural bill of rights
From: Peter Murray-Rust <peter@u...>
>I don't necessarily think we are limited to Java, though I think that will
>be the main thrust. From my perspective the client gets at XML element and
>needs to do something with it. There is no requirement that a particular
>element is always treated by the same code, any more than (say) there is a
>universal HTML client.


I would say that it depends.

If the document was produced by serializing a graph of objects and you are
intent on recreating that graph of objects, then you want to use the same
classes. Though for this, the markup language used will likely include a
simple means of determining which classes to use.

Similarly, when there is a common class used by everyone who uses
a particular markup language, it is best to use that class. I believe that
this will mostly be the case for passive objects specialized at converting
between the XML form of the data and the internal form. These conversions
may be quite complex for some specialties. (Ever look at the tag structures
used by the Library of Congress? I worked 5 years at Penn State University
Library and have not since seen anything a tenth the complexity!)

In both of the above cases, there may still be occasions when a non-standard
mapping may be desired.

Now lets look at the other extreme--the document describes a request or
action
to be performed and is being processed by the server which will handle that
request.
The request conforms to a particular markup language. This means that
the system making the request can be understood by the system that must
process the request.

The point is that the requestor doesn't know how the server is going to
handle
the request. So there is no presumption of class mapping.

Further, over time the architecture of the server may change, necessitating
a
change in class mapping. But the markup language need not change.

What I like about XML is that it facilitates n-tier and peer-to-peer
interactions
by placing the emphasis on a well-designed markup language which is
descriptive rather than proceedural.

Bill


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@i...
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo@i... the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo@i... the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@i...)


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.