- From: Michael[tm] Smith <mike@w3.org>
- Date: Mon, 10 Nov 2014 17:18:52 +0900
- To: Roman Grinyov <w3lifer@gmail.com>
- Cc: www-validator@w3.org
- Message-ID: <20141110081852.GA12256@jay.w3.org>
> Date: Mon, 10 Nov 2014 12:07:24 +0900 > From: "Michael[tm] Smith" <mike@w3.org> > Archived-At: <http://www.w3.org/mid/20141110030724.GQ4173@jay.w3.org> > > > Date: Mon, 27 Oct 2014 00:29:57 +0200 > > From: "Jukka K. Korpela" <jkorpela@cs.tut.fi> > > Archived-At: <http://www.w3.org/mid/544D75E5.9030602@cs.tut.fi> > ... > > The culprit appears to be on line 48: > > > > <p>10 строка | &w3 </p> > > ... > > The bug in the validator is that it does not report this properly at > > all in the given context but instead flags completely correct > > character references *before* it as erroneous. > > .. > So I think the root cause of the problem Roman ran into is that the > validator doesn't have any line-number info to report in this case, and > then the parser's character-reference reporting isn't getting > re-initialized correctly, so it reports the position of the last character > reference it checked that did have a line+col numbers. > > Anyway, I've filed a bug http://bugzilla.validator.nu/show_bug.cgi?id=1010 > and I'll try to make some time soon to investigate the code around this. The fix for this turned out to be simple but I can't land it myself since it's in the htmlparser code, which isn't part of the validator code proper. So I've opened another bug for it with a patch - https://bugzilla.mozilla.org/show_bug.cgi?id=1096172 As soon as that patch lands, I'll push it out to the W3C validator and then post a follow-up on the thread here. --Mike -- Michael[tm] Smith https://people.w3.org/mike
Received on Monday, 10 November 2014 08:18:54 UTC