Hi Jiri,
Sorry for the late response.. This is going to cause some issues because
it will break the way it is currently handled.
I've seen quite a lot of cases where space names have dots in them.
For example
[MySpace.Private.MyDoc]
In this case it's nicer that the space is MySpace.Private
I think we are kind of stuck here.. because changing it in to something
else will break existing installs.
I'm not really sure what should be done.. Maybe you can have a setting
in xwiki.cfg or in the preferences of the wiki to say how it should be
handled
Ludovic
Jiri Luzny a écrit :
I tried to do use indexOf instead of lastIndexOf on
several places in
the source code (see the attached patch) and the Web/Doc names seems
to be resolved resolved correctly, the only remaining problem is with
rendering of links which requires you to always specify Web when
writing a link to this kind of dotted document name. However it is an
acceptable compromise for now, I would say. What do you think?
Jiri.
On Tue, 28 Jun 2005 08:47:01 +0200 (CEST), you wrote:
Hi,
for some types of documents published on XWiki we would like to use
naming convention where there is a major version included in a name of
the document e.g. 'SomeSpace.Document-0.1'. The problem is that the
XWiki then resolves it like this 'SomeSpace.Document-0/1' instead of
expected 'SomeSpace/Document-0.1'.
I would like to ask whether there is a specific reason why name of
Web(Space) is substringed from the beginning to the last position of
'.' and not the first position of '.'?
Thank you,
Jiri.
------------------------------------------------------------------------
--
You receive this message as a subscriber of the xwiki-dev(a)objectweb.org mailing list.
To unsubscribe: mailto:xwiki-dev-unsubscribe@objectweb.org
For general help: mailto:sympa@objectweb.org?subject=help
ObjectWeb mailing lists service home page:
http://www.objectweb.org/wws