You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by ji...@apache.org on 2004/05/07 01:59:56 UTC

[jira] Updated: (AXIS-1350) new MessageElement(new Element()) does not behave like an Element

The following issue has been updated:

    Updater: Dominic Battre (mailto:dominic.battre@gmx.de)
       Date: Thu, 6 May 2004 4:58 PM
    Comment:
see bug report
    Changes:
             Attachment changed to MessageElement.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/AXIS-1350?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/AXIS-1350

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1350
    Summary: new MessageElement(new Element()) does not behave like an Element
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             Basic Architecture
   Versions:
             1.2 Beta

   Assignee: 
   Reporter: Dominic Battre

    Created: Thu, 6 May 2004 4:57 PM
    Updated: Thu, 6 May 2004 4:58 PM

Description:
As some of my types are mapped to MessageElement I would like to use it internally. If I do something like that:

Element e = rootDoc.createElement(...);
MessageElement m = new MessageElement(e);
m.hasChildNodes();

an Exception is risen because MessageElement does not consider its attribute elementRep (created by new MessageElement(e)).

The following patch delegates all methods of the Element interface to elementRep if it was assigned an Element.


---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira