[XML-SIG] Namespace support for DOM

Andrew M. Kuchling akuchlin@cnri.reston.va.us
Thu, 31 Dec 1998 14:08:41 -0500 (EST)


Paul writes:
>I think that The namespace-aware node-moving-method should do the fixup 
>automatically.
>
>Maybe my desire to have everything be automatic and semantically clean is 
>at odds with your desire to have this be a transparent extension to the 
>DOM that doesn't change the behaviorof any DOM-builtin method.

	Indeed; I'm frightened of adding some sort of clever,
invalidate-namespaces-on-a-move, scheme and opening the door to lots
of subtle bugs.  Also, the PyDOM representation has nodes with a list
of their children, and no parent pointers; this makes the traversing
of ancestors difficult.  I'm somewhat tempted to toss the recently
announced WeakDict object into the XML package and add parent
pointers, but it may be too late to undertake such a large change to
the DOM code.  Any opinions?

-- 
A.M. Kuchling			http://starship.skyport.net/crew/amk/
    "Wow. That's wicked! Like _Star Wars_."
    "A strange analogy, child, but indeed, there was a war in heaven, and you
see the vanquished now, burning as they fall, like stars. In the darkness
before the first dawn, theirs was the first folly; theirs the first rebellion."
    -- Tim and Dr Occult, in BOOKS OF MAGIC #1