[XML-SIG] Ugh! Why are DOM access methods spelled with a leading '_'?

Uche Ogbuji uogbuji@fourthought.com
Sun, 25 Jun 2000 10:08:38 -0600

> > Jim Fulton wrote:

> I've also looked at http://www.omg.org/cgi-bin/doc?ptc/00-01-12,
> which is similar and also leaves attribute mapping unspecified. :(

Just as a note to all, on the do-sig, Jim was already pointed to the right 
clause in the Python/CORBA mapping, and Martin von Lowis also explained why it 
is so (avoiding IDL name-clashes).

The remaining debate is whether to follow the Python/CORBA mapping.  I say, no 
reason not to do so.  There is nothing normative about leading "_" being 
private that I know of.  It ends up being a question of style versus spec 
unification, and I'm always wont to go for the latter.

Note that 4DOM originally used "getChildNodes", etc, but I was happy to dump 
that because of its mismatch with Python attribute access, and in light of the 
Python/CORBA mapping.

Uche Ogbuji                               Principal Consultant
uche.ogbuji@fourthought.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