Re: [dom4j-dev] Generics Maintenance

2008-03-13 Thread Richard Eckart
Hi there,

lots of time ago I was quite enthusiastic of helping to get Dom4J to
Java 5. Much to my shame I still didn't manage to get something done :(

There are already several Java 5 patches on Sourceforge:

http://sourceforge.net/tracker/?group_id=16035&atid=316035

In any case I would be very happy if anybody really found the time to
working on this. The original developers also seem interested since
shortly after I stepped forward saying I want to work on this, I
got provided with the necessary write access to the CVS.

So, I hope your priorities will not get in your way as mine always do.

Good luck!

Richard


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
dom4j-dev mailing list
dom4j-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-dev


[dom4j-dev] Generics Maintenance

2008-03-13 Thread Daniel Velten
Hello folks,


I have done some generification of the codebase.

If you are interested, i can do some simple jdk 1.5 maintenance of the
project.

Importent Step to generify the codebase would be the generification of
BackedList to BackedList and perhaps ContentListFacade.
The BackedList can then be used with many Types (Element, Namespace,
ProcessingInstruction)  

There is one mentionable functional change?!
The contentList is now List of Nodes. (List)

In the current HEAD-Version are some workarounds to handle Strings in
the contentList
This Workarounds (Mainly in DefaultElement, DefaultDocument and in
AbstractElement isTextOnly()) are removed!

The Javadoc of Branch setContent states already, that there could be
only set a list of Nodes.

All Tests passes before this changes passes after this change.
I assume this String Handling Workarounds are all deprecated and can be
removed.

ConcurrentReaderHashMap can be replaced with
java.util.concurrent.ConcurrentHashMap.
So we can remove other workarounds and doesn't need to generify this Class.

If you want the changes, I need access to the CVS. We must do a Branch
in the CVS (old Codebase -> Branch 'non_generics' or 'jdk_1_4'...).
If you want to see my current Version, I can upload or send you the
codebase.

I doesn't have a Implementation of the new W3C-DOM Changes.
This will be needed for a stable Java 5 release.


 
Best regards,

Daniel



-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
dom4j-dev mailing list
dom4j-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-dev