[Bug 6524] ?Use of uninitialized value / substr outside of string? errors filling server logs

http://www.w3.org/Bugs/Public/show_bug.cgi?id=6524


Olivier Thereaux <ot@w3.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Olivier Thereaux <ot@w3.org>  2009-02-03 00:43:40 ---
(In reply to comment #0)
>   63640 check: Use of uninitialized value $line in length at
> /usr/local/validator/httpd/cgi-bin/check line 1720.
>   26691 check: Use of uninitialized value $line in length at
> /usr/local/validator/httpd/cgi-bin/check line 1727.

These two seem to be particularly acute for cases of errors in DTD (*cough* SVG
1.1 Basic *cough*) where the parser reports errors at line numbers beyond the
number of lines in the actual document. Fixing this with a test on whether the
document is actually that long.

Also fixing a couple of similar issues in the detection of doctypeless
documents.


-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Tuesday, 3 February 2009 00:43:50 UTC