xmlXPath(doc,"//comment"): existing nodes of comments are not returned (empty list)
Reported by Samuel GOUGEON (@sgougeon)
ERROR LOG:
----------
none. empty output
HOW TO REPRODUCE THE BUG:
-------------------------
t =[ "<html><body><h3>Title of the page</h3>"
"<!-- Here is a comment -->"
"</body>"
"</html>"]
d = xmlReadStr(t)
d.root.children(1).children(2) // comment's node
d.root.children(1).children(2).content // comment's content
xmlXPath(d,"//h3") // => ans = XML List size: 1
xmlXPath(d,"//comment") // => ans = XML List size: 0