[Zope-Coders] Shared.DC.xml stuff
Shane Hathaway
shane@zope.com
Fri, 31 Jan 2003 16:37:45 -0500
Fred L. Drake, Jr. wrote:
> I'd like to remove the dcpyexpat extension from Shared.DC.xml. This
> extension is an old version of the pyexpat extension. The only thing
> that appears to use it is OSF/XMLExportImport.py (in the importXML()
> function), and that doesn't have any unit tests.
The only thing holding up the replacement of dcpyexpat was the lack of a
volunteer. I guess you've solved that problem. ;-)
OFS/XMLExportImport.py is indeed the only module that uses it.
> Does anyone have any tests for this function? I'd like to get some
> tests into CVS before I start whacking things too much. The patch I'd
> like to make to XMLExportImport.py is this:
Looks good. We'll need at least one test that verifies Zope can import
a basic XML document. checkDuplicate() in ZODB/tests/testZODB.py might
give you a start, but it also does things you don't need.
Shane