Re: Nu Html Checker - Stream length exceeds limit.

Kevin Pickell <kevin@scale18.com>, 2018-08-14 22:19 -0700:
> Archived-At: <https://www.w3.org/mid/28068b17-aef8-580a-2f3d-727a607a5e57@scale18.com>
> 
> When I try to run the validator on my webpage, I get the following error:
> *IO Error*:http://www.scale18.com/cds.html
> 
> Stream length exceeds limit.
> 
> My page is automatically generated by a program I wrote that scans my music
> collection and at this time the page generated is about 15.5 megabytes.

Yeah, that’s above the Web-based checker’s current limit of 10MB

> I was wondering if there is any way I can run the checker and have it work
> with a page that large.

No, not with the W3C service at least — there’s no way that you can get it
to check sources larger than that 10MB limit.

But if you use the vnu.jar command-line checker locally, you can check
local files of any size, without hitting the 10MB limit:

You can check by URL:

java -jar ~/vnu.jar http://www.scale18.com/cds.html

...or else download and check:

curl -O http://www.scale18.com/cds.html && java -jar ./build/dist/vnu.jar cds.html

https://github.com/validator/validator/releases/latest has the latest vnu.jar

More details on using it are at https://validator.github.io/validator/#usage

-- 
Michael[tm] Smith https://people.w3.org/mike

Received on Thursday, 16 August 2018 07:04:20 UTC