[XML-SIG] Python 1.6 XML APIs

Uche Ogbuji uogbuji@fourthought.com
Mon, 26 Jun 2000 11:12:47 -0600


> Uche Ogbuji wrote:

> Anyhow, there are these different issues:
> 
> 	1. is the implementation of minidom up to snuff
> 
> I can demonstrate that the implementation is up to snuff by integrating
> it with our various existing test codes for DOM data: including 4thought
> stuff (like 4XPath and 4XSLT). Now would be a good time to tell me if
> that stuff relies on any 4DOM-specific features.

Nope.  It's all pure DOM.

> I'll roll back the AttributeList change to improve compatibility and
> increase comfort. People wanting strings can use getAttribute( ... )

Not so fast.  Let's not lose a good idea.  We could at least have an explicit 
NamedNodeMap -> AttributeList conversion and see how it plays.

> 	2. are the new minidom parsing functions good.
> 
> There are only two parsing functions and they are explicitly designed to
> be extensible. If with our combined experience we can't figure that out
> in a few hours, something is wrong!
> 
> 	3. is pulldom any good
> 
> Once again, we're talking about only two or three methods. There isn't
> much to get wrong there!
> 
> 	4. Jim's new _get... problem (thanks Jim!)
> 
> Any sane Python programmer is going to use the attribute versions. Any
> Python DOM implementation can trivially support both the CORBA versions
> and the attribute versions. I don't see a big problem here.

I tend to think that the attribute version should be required and the CORBA 
version optional.  I think that would make most people happy.

-- 
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