Patches item #899344, was opened at 2004-02-18 06:37
Message generated for change (Comment added) made by maartenc
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=316035&aid=899344&group_id=16035

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Erik Bruchez (ebruchez)
Assigned to: Maarten Coene (maartenc)
Summary: Fix for UserDataElement.clone() and attributes

Initial Comment:
The default factory is used when cloning the attributes
of a UserDataElement. This means that the attributes of
the cloned UserDataElement are of type
DefaultAttribute, and therefore lose user data
associated with them. I have overridden
getDocumentFactory() on UserDataElement to fix the
problem, as is done with other classes extending
DefaultElement.

----------------------------------------------------------------------

>Comment By: Maarten Coene (maartenc)
Date: 2004-06-25 21:19

Message:
Logged In: YES 
user_id=178745

No response, assuming this is fixed now

----------------------------------------------------------------------

Comment By: Erik Bruchez (ebruchez)
Date: 2004-03-02 20:42

Message:
Logged In: YES 
user_id=795881

I'll try to look into this.

----------------------------------------------------------------------

Comment By: Maarten Coene (maartenc)
Date: 2004-02-25 23:52

Message:
Logged In: YES 
user_id=178745

I've tried to simulate it in
dom4j/src/test/org/dom4/TestUserData.java in the
testCloneAttribute() test, but I don't seem to have the same
problem ...  Could you provide me some code that illustrates
your problem or change the test so we are sure this problem
will not happen again in the future.

thanks
Maarten

----------------------------------------------------------------------

Comment By: Erik Bruchez (ebruchez)
Date: 2004-02-25 22:23

Message:
Logged In: YES 
user_id=795881

I now attached the patch. I thought I had attached it the
first time, but the sourceforge UI is stupid enough that I
did no realize that the upload had not taken place.

----------------------------------------------------------------------

Comment By: Maarten Coene (maartenc)
Date: 2004-02-25 22:12

Message:
Logged In: YES 
user_id=178745

Do you have a patch file for this ?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=316035&aid=899344&group_id=16035


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
dom4j-dev mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-dev

Reply via email to