applied patch from Mark Vakoc except the API change, preserved it. updated

* debugXML.c: applied patch from Mark Vakoc except the API
  change, preserved it.
* doc/*: updated the docs to point to the search engine for
  information lookup or before bug/help reports.
Daniel
diff --git a/doc/bugs.html b/doc/bugs.html
index 4dd8db1..93ba2d1 100644
--- a/doc/bugs.html
+++ b/doc/bugs.html
@@ -106,7 +106,8 @@
 <p>Check the following <strong><span style="color: #FF0000">before
 posting</span></strong>:</p>
 <ul>
-<li>Read the <a href="FAQ.html">FAQ</a>.</li>
+<li>Read the <a href="FAQ.html">FAQ</a> and <a href="search.php">use the
+    search engine</a> to get informations related to your problem.</li>
   <li>Make sure you are <a href="ftp://xmlsoft.org/">using a recent
     version</a>, and that the problem still shows up in a recent version.</li>
   <li>Check the <a href="http://mail.gnome.org/archives/xml/">list