W3C home > Mailing lists > Public > www-jigsaw@w3.org > July to August 1996

FileAttribute and PassDir question

From: Alexandre Rafalovitch <alex@access.com.au>
Date: Fri, 9 Aug 1996 17:36:03 +1000
Message-Id: <v02140b05ae30944f4e94@[]>
To: www-jigsaw@w3.org

I was looking at PassDirectory and suddenly had a question in my mind. Is
pass-target relative or absolute. If it is absolute then what happens if it
was in the root space and if it relative than relative to what. So I tried
an experiment.

I created a PassDirectory resource and gave it absolute directory address.
That worked and showed me the directory I pointed to.

Next I called up editor on PassDir again and changed pass-target to non
absolute dir (without front /).
When I pressed Ok, I noticed that pass-target changed to give me an
absolute address.Unfortunately, it showed me that relative address is
counted not from WWW directory (which is default servable space) but from
directory above it (Jigsaw/Jigsaw in distribution). That seems wrong to me.
Is it? Also, where is the piece of code that changed relative filename into
absolute filename? I did not seem to find it in FileAttribute.java.


Ps. icondir in DirectoryResource is a StringAttrubute, should it be

Received on Friday, 9 August 1996 03:36:11 UTC

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