[Webkit-unassigned] [Bug 40809] Line numbers incorrect in XHTML documents

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 22 09:18:48 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=40809





--- Comment #2 from Tony Gentilcore <tonyg at chromium.org>  2010-06-22 09:18:48 PST ---
Please consider this bug available.

I ran into this problem while working on: https://bugs.webkit.org/show_bug.cgi?id=40649

I spent a little bit of time looking into a fix, but eventually gave up as libxml2 doesn't seem to be behaving the way we expect.

All of the following methods returned the total number of lines in the document, not the line at the current point:
 - context->input->line
 - context->node->line
 - xmlSAX2GetLineNumber(context)

I also tried setting context->linenumbers = 1 and lineNumbersDefault(1) during initialization, but to no avail.

So I'm just uploading my test case in the hopes that it might be helpful to someone who knows more about libxml2.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list