patch from Mark Vakoc to fix xmlNodeGetPath() Daniel

* tree.c: patch from Mark Vakoc to fix xmlNodeGetPath()
Daniel
diff --git a/valid.c b/valid.c
index 196ea2b..df1e6ef 100644
--- a/valid.c
+++ b/valid.c
@@ -2169,8 +2169,9 @@
  * @attr:  the attribute
  *
  * Determine whether an attribute is of type ID. In case we have DTD(s)
- * then this is simple, otherwise we use an heuristic: name ID (upper
- * or lowercase).
+ * then this is done if DTD loading has been requested. In the case
+ * of HTML documents parsed with the HTML parser, then ID detection is
+ * done systematically.
  *
  * Returns 0 or 1 depending on the lookup result
  */