|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Inheritance in XML
Chiusano Joseph wrote: >I just recalled a July 2003 thread on the Federal CIO Council XML Web >Services Working Group listserv in which a writing by Norm Walsh on this >very topic was referenced[1]. Subject: "XML is Not Object Oriented". I >provided a somewhat lengthy contribution[2]. > >Kind Regards, >Joe Chiusano >Booz | Allen | Hamilton >Strategy and Technology Consultants to the World > >[1] >http://listserv.gsa.gov/cgi-bin/wa?A2=ind0307&L=cioc-web-services&F=&S=&P=1267 >[2] >http://listserv.gsa.gov/cgi-bin/wa?A2=ind0307&L=cioc-web-services&F=&S=&P=2510 > > Thanks for the links - these are interesting reads. There seems to be a reason why people are so after the direct XML+objects connection. Like the ever-hot web services story, the failure of things like CORBA and RMI to excite people on a large scale due to their clumsiness. Though I agree 100% that XML is not objects, it *is* true that XML can (and probably:should) be used to solve OO needs. I am thinking of: - serialization across opaque boundaries (you want to transmit your objects to a platform, an application that you do not know anything about) - navigation (even in your plain vanilla Java class, you want to have XPath navigation to navigate in the state of the object) Whether this should influence how we make business models (Norm seems to suggest it is hopeless to try to keep the XML even close to objects), I don't know. I think it should not matter if business wants to model it this way (e.g. some fancy nondeterministic RELAX NG schema) and my classes and objects prefer that way (some horrible W3C XML Schema which nevertheless corresponds closer to my class hierarchy or the one of the libraries that I am using). There are two problems: 1. get a good API to deal with XML data (nothing to do with objects except that the API is OO, something like a very lean DOM with XPath) 2. use XML to solve the problems of OO serialization, navigation in object state (which is OO centric and does not apply to XML in general) I think solutions would be very useful for both, but it still does not mean "XML is objects" or anything like that. cheers, Burak
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








