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

re: XML Documents Are Objects! (or "Killing OO Softly With XML")

  • From: Bill la Forge <b.laforge@o...>
  • To: Paul Pazandak <pazandak@O...>
  • Date: Tue, 10 Mar 1998 17:32:58 -0500

coins.java
Paul,

I've been proposing effectively the same thing on the 
java-xml-interest@o... list. 

I've been using the term COIN to express this concept--a coin has
two faces, an XML element and a Java Object. 

Bill

For information about java-xml-interest, see
  http://www.camb.opengroup.org/~laforge/jxml.html

>>From java-xml-interest-request@o...  Mon Mar  9 20:03:05 1998
>Return-Path: <java-xml-interest-request@o...>
>Resent-Date: 10 Mar 1998 01:03:02 -0000
>Resent-Cc: recipient list not shown: ;
>X-Sender: laforge@p...
>Date: Mon, 09 Mar 1998 20:09:11 -0500
>To: java-xml-interest@o...
>From: Bill la Forge <b.laforge@o...>
>Subject: State of Coins
>Resent-Message-ID: <"27dFJtr0wrF.A.4bH.CFJB1"@postman.opengroup.org>
>Resent-From: java-xml-interest@o...
>X-Mailing-List: java-xml-interest:archive/latest/104
>X-Loop: java-xml-interest@o...
>Resent-Sender: java-xml-interest-request@o...
>
>The tests for coins now successfully executes the following XML:
>
>  <PROGRAM START="HERE">
>    <COIN TYPE="TEST" CLASS="TestFace"/>
>    <TEST ID="HERE" XYZ="123"/>
>  </PROGRAM>
>
>This is run simply with the command:
>  java ORG.opengroup.coins.Coins text4.xml
>where test4.xml contains the above document. The output from the test is:
>  XYZ=123
>
>The code for the coin TestFace is found at:
>  http://www.camb.opengroup.org/~laforge/axtp/src/ORG/opengroup/coins/tests/TestFace.java
>
>My contention is that coins are "better" than Java Beans, though it is difficult
>to make any valid determination on the basis of such a small sample size (1!).
>
>My intention is to begin converting AXTP to use coins.
>
>I further contend that my XML processor is pretty bad. The fact that it now has
>semantic support for ids and idrefs doesn't really change that. The processor
>can be found at:
>  http://www.camb.opengroup.org/~laforge/axtp/src/ORG/opengroup/coins/Coins.java
>(I've also taken care that the processor will work with signed elements, only
>recomposing those elements on output which were "dirty".)
>
>Dmitri and Gavin find coins to be a subset of DOM. 
>
>>>>Gavin:
>
>As one of the DOm WG members, I can tell you there is no conflict. You
>could use DOM for some of the things in Coins, but with a probable
>loss in performance.
>
><<<
>
>I conclude from this that the api which Dmitri referenced should be, at least in part,
>used where appropriate. (Why have needless variations?)
>
>You may enjoy the new coins package documentation at:
>  http://www.camb.opengroup.org/~laforge/axtp/api/Package-ORG.opengroup.coins.html
>
>I've also updated the AXTP zip file to include 
>this latest version of the coins package:
>  http://www.camb.opengroup.org/~laforge/axtp/#related_links
>
>All in all, its been a productive evening.
>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.