[XML-SIG] getDOMImplementation() extension

Uche Ogbuji uche.ogbuji@fourthought.com
Tue, 05 Nov 2002 08:33:16 -0700


> Proposal:
> 
> 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 
more sensible.


-- 
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
y.html
The Past, Present and Future of Web Services 1 - http://www.webservices.org/ind
ex.php/article/articleview/663/1/24/
The Past, Present and Future of Web Services 2 - 'http://www.webservices.org/in
dex.php/article/articleview/679/1/24/
Serenity through markup - http://adtmag.com/article.asp?id=6807
Tip: Using generators for XML processing - http://www-106.ibm.com/developerwork
s/xml/library/x-tipgenr.html