[XML-SIG] Re: [DO-SIG] Python language bidning January 2000 Draft

Ken MacLeod ken@bitsko.slc.ut.us
26 Jun 2000 08:42:18 -0500


Jim Fulton <jim@digicool.com> writes:

> Let me start by explaining to the do-sig why I all of a sudden care
> about mapping of IDL attributes in the Python CORBA mapping.
> 
> I'm doing alot of work with XML these days and with the XML Document
> Object Model (DOM), in particular.  Now, these DOM standard,
> http://www.w3.org/DOM/, is specified as an IDL interface.  Further,
> key parts of this interface use attributes. :( Waaaaaa.
> 
> The end result is that an important Python and Zope interface, DOM,
> is substantially affected by the choice of a language mapping for
> CORBA IDL attributes! This is ironic since many (most) applications
> of DOM in Python will have nothing to do with CORBA!

There's a long thread on this from November, "foo.bar
vs. foo.get_bar()" and "4DOM future":
  <http://www.python.org/pipermail/xml-sig/1999-November/thread.html>

IIRC, the conclusion, that you'll probably be very happy with, is that
all the Python DOMs support direct attribute access for attribute
members in the DOM IDL, _in_addition_to_ using procedure call access.

  -- Ken