W3C home > Mailing lists > Public > www-jigsaw@w3.org > November to December 2005

File size limitation question

From: Andrey Yakovenko <jigsaw_d@hived.info>
Date: Mon, 12 Dec 2005 03:37:47 +0000
Message-ID: <93becc000512111937o4c56df65o20ab6cb41bebeec4@mail.gmail.com>
To: www-jigsaw@w3.org




Hi all,

As I found, maximum file size explicitly limited in Jigsaw (2.2.5a discussed).

org.w3c.tools.resources.FileResource.java (line 343):
     setValue(ATTR_FILE_LENGTH, new Integer((int)file.length()));

Conversion from java's standard Long for file sizes to Integer is done.
I wonder why, as this makes impossible for Jigsaw to handle files with
size more than 2^32 bytes (4GB).
In my case this is unacceptable...=(
(I'm thinking about replacement all of that to Long, so it's important
to know why it was done.)

Best regards,
Andrey Yakovenko
Received on Monday, 12 December 2005 10:40:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 9 April 2012 12:13:37 GMT