Path: csiph.com!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Martin Gregorie Newsgroups: comp.lang.java.programmer Subject: Re: Disappearing API docs Date: Wed, 20 Jul 2016 18:44:18 -0000 (UTC) Organization: A noiseless patient Spider Lines: 46 Message-ID: References: <1017aa77-c4fe-43f4-8195-4627cbc06e99@googlegroups.com> <4dvsobh2bbgkq66caohursk91t8bn9iuij@4ax.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Wed, 20 Jul 2016 18:44:18 -0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="e5160e2be48f1ea550cf61512446f525"; logging-data="2963"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+3+r8qObkIRb+RaEWR20rMNLRtIwiDJl4=" User-Agent: Pan/0.140 (Chocolate Salty Balls; GIT 3663720 git://git.gnome.org/pan2) Cancel-Lock: sha1:buEi7gRU8tvjy8VORQ/5z81gVBk= Xref: csiph.com comp.lang.java.programmer:35014 On Wed, 20 Jul 2016 08:47:02 -0400, Arne Vajhøj wrote: > On 7/20/2016 7:45 AM, Martin Gregorie wrote: >> On Tue, 19 Jul 2016 20:40:30 -0400, Arne Vajhøj wrote: >>> Assume you have a dir with: >>> >>> x.html X.html >>> >>> For case sensitive path then it is easy: >>> >>> http://blabla/x.html gets x.html http://blabla/X.html gets X.html >>> >>> For case in-sensitive path then I am not sure what these URL's should >>> return: >>> >>> http://blabla/x.html http://blabla/X.html >>> >> They both return the same file because there's only the one item in a >> case agnostic filing system. It should be selected regardless of the >> case used to do so. > > The assumption was that you had two files. > Sure - for a case sensitive filing system. I'm far from certain that a caseless filing system can ever hold two files whose names differ only in the case of one or more characters. If you try that with OS/9:, here's what happens: /dd/DEV/C : echo file >x.txt; cat x.txt; echo File-X >X.txt; cat x.txt file File-X /dd/DEV/C : In other words, the first echo wrote 'file' to x.txt. The second echo discovered that a file whose name matches X.txt already existed and so it overwrote the original file. This is exactly how I'd expect any case-agnostic filing system to work. Anything else would be quite confusing to use. -- martin@ | Martin Gregorie gregorie. | Essex, UK org |