[Patches] [Patch #101636] pulldom: Use updated SAX2 *NS functions

noreply@sourceforge.net noreply@sourceforge.net
Sun, 24 Sep 2000 14:49:43 -0700


Patch #101636 has been updated. 

Project: 
Category: library
Status: Open
Summary: pulldom: Use updated SAX2 *NS functions

Follow-Ups:

Date: 2000-Sep-24 14:39
By: fdrake

Comment:
Is the inherited non-NS version of startElement() sufficient?

Your "def __init__" line added the spaces back around the "self"; please remove for conformance with the Python style guide.

If the startElement() really good for non-NS operation, make the above change and check it in.

Thanks!
-------------------------------------------------------

Date: 2000-Sep-24 14:49
By: loewis

Comment:
A parser with feature_namespaces activated will never call startElement,
only startElementNS. Since pulldom.PullDOM.startElementNS will invoke
createElementNS only if the tag name is namespace-scoped, this callback
will also work for documents without callbacks.

-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=101636&group_id=5470