Hi,
I've progressed a bit over the weekend on our xwiki-url module.
I've created a patch at
http://jira.xwiki.org/jira/secure/attachment/15161/XWIKI-3951.txt
Quickly the idea is to:
* Make XWikiURL an interface
* Add XWikiDocumentURL, XWikiAttachmentURL, etc for the various URL
types
* Examples of various XWiki URL types: document, attachment, skin,
template, resource
* Generify XWikiURLFactory
* Introduce XWikiURLSerializer (for ex to generate standard URLs)
Let me know what you think. I'd like to commit what I have already
before progressing further.
The concept looks good overall. There are a few code errors, but those
will be fixed.
--
Sergiu Dumitriu