On Apr 4, 2009, at 11:58 AM, Thomas Mortagne wrote:
Also why don't you use the new annotation based component descriptor system ?
Simply because the core was still using the old components.xml notation. I hesitated but I agree with you it's better to use it. I'll try to spend some time to convert the other components later on but if you guys want to help please feel free... Thanks -Vincent
On Sat, Apr 4, 2009 at 11:56, Thomas Mortagne <[email protected]
wrote: Shouldn't we have only one component which do the serialize/unserialize to make sure the same rule is applied in the two way ? It seems weird to me to be able to change the way to parse a document reference and let the document reference creation to another implementation.
On Fri, Apr 3, 2009 at 22:48, vmassol <[email protected]
wrote: Author: vmassol Date: 2009-04-03 22:48:34 +0200 (Fri, 03 Apr 2009) New Revision: 18236
Added: platform/core/branches/xwiki-core-1.8/xwiki-bridge/src/main/java/ org/xwiki/bridge/DocumentNameFactory.java platform/core/branches/xwiki-core-1.8/xwiki-bridge/src/main/java/ org/xwiki/bridge/DocumentNameSerializer.java platform/core/branches/xwiki-core-1.8/xwiki-core/src/main/java/ com/xpn/xwiki/doc/DefaultDocumentNameFactory.java platform/core/branches/xwiki-core-1.8/xwiki-core/src/main/java/ com/xpn/xwiki/doc/DefaultDocumentNameSerializer.java platform/core/branches/xwiki-core-1.8/xwiki-core/src/test/java/ com/xpn/xwiki/doc/DefaultDocumentNameFactoryTest.java platform/core/branches/xwiki-core-1.8/xwiki-core/src/test/java/ com/xpn/xwiki/doc/DefaultDocumentNameSerializerTest.java Modified: platform/core/branches/xwiki-core-1.8/xwiki-core/src/main/ resources/META-INF/plexus/components.xml Log: XWIKI-3501: Add Document Name factory and serializer
Merged from trunk (rev 18235)
[snip]