[xwiki-users] List of special characters to avoid in page title
Hi, Using XWiki Enterprise 5.2, standalone install. We notice dots (.) in page titles are escaped in HSQLDB (e.g. when I cat the contents of xwiki_db.log and grep something particular in the article I'm seeking) : INSERT INTO XWIKIDOC VALUES(...,'Ressources.Some page title with accented characters in French (2007)\. Plan de rel\u00e8ve bla bla de salle d''op\u00e9ration', We can see all accented characters and special characters like the apostrophe in the last word ("d'opération") are escaped, but then the dot in the title next to "(2007)" gets escaped too. I guess the reason it is escaped in the title is that the dot is used as a separator for the wiki hierarchy (Resources.Some page really is like the directory structure in our XWiki instance, that is Ressources/Some page). Is that so ? Can we change that behaviour or do I have to tell my users to stop using dots (and possibly other special characters ?) in page titles ? Thanx for pointers, Yves Moisan
Hi Yves, Do you have a problem with dots in pages? Don’t they work for you? This is supposed to work very well (and has been working for a long time now). Thanks -Vincent On 10 Dec 2014 at 01:41:27, Yves Moisan ([email protected](mailto:[email protected])) wrote:
Hi,
Using XWiki Enterprise 5.2, standalone install. We notice dots (.) in page titles are escaped in HSQLDB (e.g. when I cat the contents of xwiki_db.log and grep something particular in the article I'm seeking) :
INSERT INTO XWIKIDOC VALUES(...,'Ressources.Some page title with accented characters in French (2007)\. Plan de rel\u00e8ve bla bla de salle d''op\u00e9ration',
We can see all accented characters and special characters like the apostrophe in the last word ("d'opération") are escaped, but then the dot in the title next to "(2007)" gets escaped too.
I guess the reason it is escaped in the title is that the dot is used as a separator for the wiki hierarchy (Resources.Some page really is like the directory structure in our XWiki instance, that is Ressources/Some page). Is that so ? Can we change that behaviour or do I have to tell my users to stop using dots (and possibly other special characters ?) in page titles ?
Thanx for pointers,
Yves Moisan
Hi Vincent, It's not that it doesn't work. It's the way it's stored in the database that causes us a problem. We have a service that indexes XWiki items in SOLR so we're are using the XWiki RESTful API for that. The problem probably lies in our service then. It's just weird that all accented characters are decoded fine but the service hangs on "\." Thanx, Yves
Hi Yves, On Wed, Dec 10, 2014 at 3:46 PM, Yves Moisan <[email protected]> wrote:
Hi Vincent,
It's not that it doesn't work. It's the way it's stored in the database that causes us a problem. We have a service that indexes XWiki items in SOLR so we're are using the XWiki RESTful API for that. The problem probably lies in our service then. It's just weird that all accented characters are decoded fine but the service hangs on "\."
In case you don't know, XWiki has integration with Solr for some time http://extensions.xwiki.org/xwiki/bin/view/Extension/Solr+Search+Application . Hope this helps, Marius
Thanx,
Yves
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
participants (3)
-
Marius Dumitru Florea -
vincent@massol.net -
Yves Moisan