What did you do?
Download https://golang.org/dl/ and parse it with gopkg.in/xmlpath.v1.ParseHTML.
What did you expect to see?
Parsing should succeed.
What did you see instead?
Error XML syntax error on line 11670: unexpected EOF
The reason seems to be that the web page does not have </html> end tag which gopkg.in/xmlpath.v1.ParseHTML is expecting.
This breaks godeb tool, see issue niemeyer/godeb#44. Workaround is to update parser to gopkg.in/xmlpath.v2.ParseHTML which is more forgiving.
What did you do?
Download https://golang.org/dl/ and parse it with
gopkg.in/xmlpath.v1.ParseHTML.What did you expect to see?
Parsing should succeed.
What did you see instead?
Error
XML syntax error on line 11670: unexpected EOFThe reason seems to be that the web page does not have
</html>end tag whichgopkg.in/xmlpath.v1.ParseHTMLis expecting.This breaks godeb tool, see issue niemeyer/godeb#44. Workaround is to update parser to
gopkg.in/xmlpath.v2.ParseHTMLwhich is more forgiving.