[XML-SIG] Python DOM Unification -- level

Andrew M. Kuchling akuchlin@cnri.reston.va.us
Mon, 26 Apr 1999 17:26:50 -0400 (EDT)

Paul Prescod writes:
> * Builder level:
>if sys.argv[1]=="4thought":
>    from 4thought.dom import sax_builder()
>   from xml.dom import sax_builder()

	I'd lean toward module-level, as long as it's understood that
an implementation can add extra stuff to its module, but builder-level
would also be acceptable.  Note that there isn't that much top-level
stuff required for a DOM module: exception codes, DOMException, the
Node class and its subclasses, NodeList and NamedNodeMap, and 
a createDocument() function.  createDocument is the only thing not
specified by the DOM1 REC, so anyone implementing DOM will have some
version of the above classes and objects.

A.M. Kuchling			http://starship.python.net/crew/amk/
The warning message we sent the Russians was a calculated ambiguity that would
be clearly understood.
    -- Alexander Haig