[XML-SIG] Extended DOM interface proposal.

Fredrik Lundh fredrik@pythonware.com
Mon, 23 Nov 1998 16:48:33 +0100


> > 1. add an accept method which takes any object
> > implementing the DOMVisitor class as its single
>
>  The DOMVisitor *class*?  Shouldn't that be interface?  Or was it
>protocol?  ;-)

behaviour!?

nah. I think I prefer interface. so here's the fix:

message = string.replace(
    message, "DOMVisitor class",
    "DOMVisitor interface"
    )

> > 2. the Visitor interface is probably identical to
> > the SAX API...
>
>  SAX is insufficient; I'd at least like to preserve comments.

extended SAX, anyone?

Cheers /F
fredrik@pythonware.com
http://www.pythonware.com