[XML-SIG] a package for minidom

Fred L. Drake, Jr. fdrake@acm.org
Wed, 20 Feb 2002 17:33:37 -0500


As the support code for minidom grows (because additional DOM features
are implemented), it becomes increasingly valuable to allow the
implementation to be placed in more than one module simply to make the
code easier to manage.

As additional minidom implementation modules are created, it will be
easier to maintain if the modules are separated from the 4DOM
implemtation by a package bondary.

I propose creating a new package, xml.dom.mini, which contains the
following modules to start with:

    xml.dom.mini.corexml       # the current/enhanced xml.dom.minidom
    xml.dom.mini.traversal     # the current xml.dom.minitraversal
    xml.dom.mini.loadsave      # the basic interface for Load/Save
    xml.dom.mini.expatbuilder  # very tedious Expat-specific code
    xml.dom.mini.compat        # Python-version compatibility code

The following modules would become wrappers around the new package for
backward compatibility:

    xml.dom.minidom            # from xml.dom.mini.corexml import *
    xml.dom.minitraversal      # from xml.dom.mini.traversal import *

Comments?


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Zope Corporation