besides case-insensitive, NTFS is also case preserving, which (If I
understand your tests) explains the behavior if you create pages in
different order.
Also, the ReferenceManager is case-sensitive, that's why you get red links
(while clicking on it, the page exits), it keeps 3 references to the same
physical page (on windows).

It's not an easy one to fix, how will this be in a JCR repo ?

regards,
Harry

2008/9/7 Florian Holeczek <[EMAIL PROTECTED]>

> Hallo Harry,
>
> > Now I know that Windows (NTFS) is less or more case-insensitive, and
> > I guess MacOS is also case insensitive (not sure).
>
> OS X is case sensitive!
>
> > The problem is that I can't easily test JSPWiki on non-*nix type systems,
> > can these three files also be created on MacOS or Windows ?
>
> Just tested it on my Windows XP machine with Tomcat 6 and JSPWiki
> v2.7.0-alpha-36 with the following weird results:
> * input used on the sandbox:
>  [This is a test]
>  [this is a test]
>  [ThiS Is a teSt]
> * result on the page: the first two links go to the nonexistent page
>  "This is a test" (same page!), the third goes to the nonexistent page
>  "ThiS Is a teSt".
> * clicked on the first link to create the page, typed something, saved
>  it.
> * back on the sandbox page, the first two links now shup up in blue
>  (existent), the third is still red (nonexistent).
> * clicking on the third link ("create") opens an edit window with the
>  content of the first page! No matter if one clicks cancel or save
>  now, after going back to the sandbox page the third link now shows up
>  in blue, too (and directs to the existent page).
> * On the file system, the page has got the name "This+is+a+test.txt".
>  However, if one starts creating the page via the third link, the
>  file name is "ThiS+Is+a+teSt.txt".
>
> Well, again, I think one has to think about normalizing page names.
> Only if clear mapping rules exist, it is possible to implement an OS
> and page provider independent equality-function.
>
> Regards
>  Florian
>



-- 
met vriendelijke groet,
Harry Metske
Telnr. +31-548-512395
Mobile +31-6-51898081

Reply via email to