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

Errors with Jigsaw

From: Santiago Gala <nostromo@bitmailer.es>
Date: Mon, 16 Nov 1998 13:29:37 -0500 (EST)
Message-ID: <36506FC4.D355D262@bitmailer.es>
To: Jigsaw list <www-jigsaw@w3.org>
I want to comment on two (minor) bugs in Jigsaw.

The first is related with Case-sensitivity of path names. Under Windows,
filenames are not casesensitive. What happens in Jigsaw is that
extensible directories index any valid path that you happen to type in
as a different resource. Thus, you end up with different resources for
/usr than /Usr or /USR. This adds to the memory requirements of the
server, and it is specially annoying when your property settings are not
default ones, as automatic directories have standard settings.

For instance, if you use /Servlets or /SERVLETS instead of /servlets,
you get a Directory listing, with different indexers and frames.

A possible solution to this problem would be to compare with the
"canonic" file name, and to return a redirect to this one. Another one
would be to return an arror if the directory or file has not the same
"canonic" name, even if the OS allows opening it (this would be more
portable). Any behaviour different than the one that it has now would be
welcome. The trick is how to find this "canonic" name without adding
overhead in OSes where paths are case-sensitive

The second is related with indexing of .zip files as directories. I have
not been able to specify in an indexer that any .zip file is really a
directory. I have to create the resources by hand.

I found another related problem: zip files that contain no files (only
directories) at any level in the tree get not expanded. When you add the
directory(ies) by hand, the files below them appear automatically. As a
good example, try to index the src.zip from the swing-1.0.3
distribution. You will hace to create the directories com/sun/swing, and
then you begin to see files. (I don't know if this one is Windows

I do not understand enough of the workings of Jigsaw to attack these
problems myself, but I would thank any help.

Received on Monday, 16 November 1998 19:58:41 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:33 UTC