• Dave Cridland's avatar
    OF-1271 Copy elements correctly · c085118f
    Dave Cridland authored
    Adding elements and attributes to the new element doesn't work, since reparenting the old elements generates an exception. This exception wasn't logged.
    
    * Exception logged
    * id attribute copied, if present.
    * Elements copied deeply/properly.
    
    Test stanza:
    
    ```
    <message xmlns="jabber:client" to="blah@conference.cridland.im" type="groupchat" id="5260">
    <body>This is a message with a label.</body>
    <custom xmlns='tmp:custom'/>
    <custom-attr xmlns='tmp:custom2' attr='value'/>
    <custom-child xmlns='tmp:custom3'>
    <child>element</child>
    </custom-child>
    <custom-text xmlns='tmp:custom4'>Text here</custom-text>
    </message>
    ```
    c085118f
Name
Last commit
Last update
..
cluster Loading commit data...
spi Loading commit data...
CannotBeInvitedException.java Loading commit data...
ConflictException.java Loading commit data...
ForbiddenException.java Loading commit data...
HistoryRequest.java Loading commit data...
HistoryStrategy.java Loading commit data...
MUCEventDelegate.java Loading commit data...
MUCEventDispatcher.java Loading commit data...
MUCEventListener.java Loading commit data...
MUCRole.java Loading commit data...
MUCRoom.java Loading commit data...
MUCRoomHistory.java Loading commit data...
MUCUser.java Loading commit data...
MultiUserChatManager.java Loading commit data...
MultiUserChatService.java Loading commit data...
NotAcceptableException.java Loading commit data...
NotAllowedException.java Loading commit data...
RegistrationRequiredException.java Loading commit data...
RoomLockedException.java Loading commit data...
ServiceUnavailableException.java Loading commit data...
package-info.java Loading commit data...