We just completed a conversion from XWiki to TWiki because of the numerous limitations of XWiki (really awful to understand permissions system, slow pace of development, lack of plugins, horrid look and feel, etc.). We initially tried to convert the syntax to TWiki using perl with Parse::RecDescent. Since the grammar is rather unstructured and regex/exception based this isn't an easy thing to do. We were successfully in hacking up a version of XWiki/Radeox that outputs the XWIki syntax as TWiki syntax. Since this uses the native structures inside the original java code the conversion is much cleaner.

If anyone else is migrating from XWiki to TWiki let me know if you'd like the code to batch convert the whole wiki at once. I'm happy to save others the pain of doing this themselves.

As an aside, I am dismayed at the slow progress of XWiki in the time we have been using it (over a year and a half). I was also quite appalled when I started digging into the code to this, it's messy, undocumented, and rife with duplicate logic.