I'm seeing a strange behavior when using the id() xpath function with
HTML documents. If the HTML document contains a DOCTYPE, the id()
function works as expected. If the HTML document does not contain a
DOCTYPE, the id() function does not work (even with document
correction enabled). Is this a bug, or am I missing something?
I've written a short example to illustrate the problem here (I'm using
libxml2 2.7.5):
http://gist.github.com/209686
Thanks for the help!
--
Aaron Patterson
http://tenderlovemaking.com/
_______________________________________________
xml mailing list, project page http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml