[
Lists Home |
Date Index |
Thread Index
]
> Hi Dare,
>
> Dare said:
> I like the fact that I can use XPP, JDOM and Castor in Java or their
> equivalents in the .NET framework without having to deal with APIs that
> are inconsistent with the rest of the class libraries, fail to utilize
> the programming language idioms and ignore general language specific
> design patterns.
>
> Didier replies:
> Reading again your message I think I understand what you mean. I agree
> that stuff like the DOM is not the best stuff in town. Instead of using
> CORBA definitions, a spec could simply state how we define the object
> hierarchies and the object types (the one most commonly used in several
> typed languages).
Huh? That's exactly what IDL is. IDL is not an exclusive CORBA technology.
I think you have the wrong idea. If mapping to "object hierarchies and the
object types" were a good way to define an API for XML, then DOM nailed it:
IDL is perfect for this. The point is precisely that it is *not* a good way
to define an API for XML, so I don't see anything in what you say that would
have been better than DOM.
--
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Track chair, XML/Web Services One Boston: http://www.xmlconference.com/
Basic XML and RDF techniques for knowledge management, Part 7 -
http://www-106.ibm.com/developerworks/xml/library/x-think12.html
Keeping pace with James Clark - http://www-106.ibm.com/developerworks/xml/libra
ry/x-jclark.html
Python and XML development using 4Suite, Part 3: 4RDF -
http://www-105.ibm.com/developerworks/education.nsf/xml-onlinecourse-bytitle/8A
1EA5A2CF4621C386256BBB006F4CEC
|