W3C home > Mailing lists > Public > www-dom@w3.org > October to December 1998

Re: [XML-SIG] Re: Equality tests on DOM nodes

From: Fred L. Drake <fdrake@cnri.reston.va.us>
Date: Fri, 11 Dec 1998 13:17:32 -0500 (EST)
Message-ID: <13937.25009.925375.550977@weyr.cnri.reston.va.us>
To: Ray Whitmer <ray@imall.com>
Cc: www-dom@w3.org, xml-sig@python.org

Ray Whitmer writes:
 > The problem in Python is much bigger -- possibly rendering my advice
 > irrelevant -- since no official DOM API binding has been released for that

  The spec does include IDL, and a Python binding for IDL is being
developed.  (Now, I've not checked that the Python DOM uses the Python 
IDL binding.  Andrew, perhaps you can address this in the Python
XML-SIG?)

 > I don't know Python, so it is also possible that Python may impose more
 > rigidity on the requirements of == (than Java does on equals), making it
 > possible to know what the standard implementation should be, but your
 > raising the question would seem to indicate that it does not.

  A couple of issues seem appearant to me, but depth is not one of
them.
  First, the current implementation of Python's comparison semantics
require complete ordering, which doesn't make sense in this case.
That can be ignored for now if the documentation states that only
equality/inequality is supported.  Future versions of Python are
expected to correct this problem.
  Second, the concerns Paul Butkiewicz raised about the relevance of
context need to be addressed.  Basic equality may have to be
interpreted as node identity.


  -Fred

--
Fred L. Drake, Jr.	     <fdrake@acm.org>
Corporation for National Research Initiatives
1895 Preston White Dr.	    Reston, VA  20191
Received on Monday, 14 December 1998 08:39:00 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:46 GMT