Re: Validator error

"Michael[tm] Smith" <[email protected]> Mon, 10 Nov 2014 17:18:52 +0900
Newsgroups gmane.org.w3c.validator
Message-ID <[email protected]>
> Date: Mon, 10 Nov 2014 12:07:24 +0900
> From: "Michael[tm] Smith" <[email protected]>
> Archived-At: <http://www.w3.org/mid/[email protected]>
> 
> > Date: Mon, 27 Oct 2014 00:29:57 +0200
> > From: "Jukka K. Korpela" <[email protected]>
> > Archived-At: <http://www.w3.org/mid/[email protected]>
> ...
> > The culprit appears to be on line 48:
> > 
> > 		&lt;p&gt;10 строка | &w3 &lt;/p&gt;
> > ...
> > 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
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCgAGBQJUYHTsAAoJEIfRdHe8OkuVOFMQAKMserSz9LII/scfJ4XSNTvg
aO/XQv2t2i2Xdk+L/Hz7QXRl2saxr5U1xZCL7JeVV4NSzZVXvMqMBALEvac+InFx
RxkzF4Z3QhUqwyDeNcexFORQTeyJlNzvy+saVX5rO/Y+PflE06qv6rsld/qPS3Xs
btmyaZVCT+3CpqqJFcpyUx7q7ncvnx9pYkSXiSF3sxX2MBr20s2ThIKVpaWzxTpt
y1tyMliT3AQQMug33n0+eNIR6gEUu6wGAjgwkvusS1zzdj0j9cvhMnf1NzccQKVb
oXCygWoqhYwoRIv70LglUd7eVeqGYDkxjnbAe0WGP06+QvlIkNEs+QzwBF9q7g+s
0Ru3tqctbK7U/NB3tBMZJEV56HHcQZwtybWTyGekRTQSWeA8plYvbG+7AbApqvOb
7mmZFodbmHpurW+ABV1PeDxtm1klGRhFtL0t1BkY5gwiI3fhImbASRRGrMe6tARc
uayefwySIaxhjceT7EddT2FaNq7AugZLE2eqpk6rRH+LNN99u1qKoQeJl/gpeXpS
4Hg/zzWyLXqh3+C2cLEDSjwU5axmyF/Z8c8i+ekilo3grWwyHAJqh7YuWRh7MUzl
5aaTdSLMhjKszFs3pPmxbDLv49otROJvoj2Jc0W1RmWdV2VPSsUMAWrBdsMlL4qm
0S3NEXOQspU7PSNAdhCq
=B3Os
-----END PGP SIGNATURE-----