<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    Before posting any report on Bugzilla, i would like to understand
    why we get [%t %t] instead of %t when we compare 2 XMLDoc objects.
    Is it a bug, or is it intentional?:<br>
    <font size="-1"><tt>--> doc = xmlReadStr("<root><a
        att=""foo""
        rib=""bar""><b>Hello</b></a></root>")</tt><tt><br>
      </tt><tt> doc  = </tt><tt><br>
      </tt><tt>XML Document</tt><tt><br>
      </tt><tt>url: Undefined</tt><tt><br>
      </tt><tt>root: XML Element</tt><tt><br>
      </tt><tt><br>
      </tt><tt>--> doc2 = doc;</tt><tt><br>
      </tt><tt>--> doc==doc2</tt><tt><br>
      </tt><tt> ans  =</tt><tt><br>
      </tt><tt>  T T          
<<<<<<<<<<<<<<<<<<<<<<
        Here</tt><tt><br>
      </tt><tt>--> xmlDelete(doc), clear doc doc2</tt></font><br>
    <br>
    Since XMLDoc objects are of type 17, i was naively searching for a
    %XMLDoc_o_XMLDoc() overload.<br>
    But the XML module does not have such a macro overload.<br>
    I also searched in the XML src and gateway source directories,
    without success.<br>
    XML overloads are not documented. The only overload having a unit
    test is for size().<br>
    <br>
    Any clue where the XMLDoc==XMLDoc comparison is defined?<br>
    <br>
    If XMLDoc objects are not regular mlists, why a specific type code
    distinct from 17 has not been ascribed to them?<br>
    <br>
    Thanks<br>
    Samuel<br>
    <br>
  </body>
</html>