[XML-SIG] Ugh! Why are DOM access methods spelled with a leading
Mon, 26 Jun 2000 18:36:58 -0600
> Mike Olson wrote:
> > Jim Fulton wrote:
> > >
> > > >
> > > > Actually, the DOM can be mapped into a language in a manner that does
> > > > not follow directly from the IDL and CORBA specs. That's why there is a
> > > > formally defined java binding rather than just a reference to the IDL
> > > > specs. Historically, though, 4DOM was really a CORBA tool so it really
> > > > needed to follow the specs.
> > >
> > > Whatever we do, there needs to be a document somewhere that
> > > says what the Python DOM mapping is, even if it is not
> > > much more than a reference to the DOM IDL and the Python
> > > binding.
> > In 4DOM, we are actually moving away from __getattr__ (for speed).
> IMO, this is strong evidence that the Python DOM should
> *not* use attributes for implementing the DOM/IDL attributes.
Not so fast. We've mostly solved the speed problem. And we could solve a
good deal more of it by getting rid of accessor/mutator functions.
This whole argument actually makes mandating only attributes more attractive
Uche Ogbuji Principal Consultant
email@example.com +01 303 583 9900 x 101
Fourthought, Inc. http://Fourthought.com
4735 East Walnut St, Ste. C, Boulder, CO 80301-2537, USA
Software-engineering, knowledge-management, XML, CORBA, Linux, Python