[XML-SIG] getDOMImplementation() extension
Tue, 05 Nov 2002 08:33:16 -0700
> Though it's possible to use the type of the value of the "features"
> argument to determine whether to return None or raise an exception,
> that seems both fragile and rediculous. I'm going to propose that we
> simply declare (via documentation) that the Python binding for
> getDOMImplementation() raises ImportError instead of returning None.
> I wanted to bring the issue up here before doing that since that
> doesn't fall into the same pattern as the rest of the binding and does
> diverge from the W3C specification (however draft it may be).
Why don't we just change the Python implementation to return None, which seems
Uche Ogbuji Fourthought, Inc.
http://uche.ogbuji.net http://4Suite.org http://fourthought.com
Python&XML column: 2. Introducing PyXML - http://www.xml.com/pub/a/2002/09/25/p
The Past, Present and Future of Web Services 1 - http://www.webservices.org/ind
The Past, Present and Future of Web Services 2 - 'http://www.webservices.org/in
Serenity through markup - http://adtmag.com/article.asp?id=6807
Tip: Using generators for XML processing - http://www-106.ibm.com/developerwork