[XML-SIG] RE: Equality tests on DOM nodes
Fred L. Drake
Fred L. Drake, Jr." <fdrake@acm.org
Fri, 11 Dec 1998 13:54:32 -0500 (EST)
Gabe Wachob writes:
> Before you define equality generally for nodes, don't you have to define
> equality for each element and even each attribute? This may be a trivial
...
> Another issue would be order of children. Without a DTD, how do you tell
> when order of child elements is significant? Perhaps this has to be an
Very good points. This makes it incredibly expensive to "do it
right" with any level of abstraction.
I guess it's not that hard to just write a routine that "does the
right thing" for exactly what is needed in each case. And it's
looking increasingly appropriate.
-Fred
--
Fred L. Drake, Jr. <fdrake@acm.org>
Corporation for National Research Initiatives
1895 Preston White Dr. Reston, VA 20191