|
It turns out I got burned yet again by the differences between PySAX with and without PyXML installed. You can't set the namespace prefix feature in PySAX unless you have PyXML installed. I posted updated/fixed version of sax2dom_chunker.py in the Python Cookbook. Use that version rather than listing 2 here, and then omit the line
parser.setFeature(sax.handler.feature_namespace_prefixes, 1)
from your set-up code.
Good luck.
|