GNOME Bugzilla – Bug 580705
HTML parser does not record line numbers
Last modified: 2009-05-15 15:58:53 UTC
Please describe the problem: When parsing an HTML file, the line numbers for element nodes are not recording in their xmlNodePtr structures Steps to reproduce: 1. Parse an html file 2. find a non-text node 3. examine the node's line number Actual results: The line number is always 0 Expected results: The line number would be the line in the file Does this happen every time? Yes Other information: I've created a reproduction file along with a patch here: http://gist.github.com/103637
Okay I fixed it but moved the change directly in htmlParseDocument() commited in git head, thanks ! Daniel