axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Glen Daniels" <gdani...@macromedia.com>
Subject Re: MessageElement
Date Wed, 02 Jan 2002 13:28:12 GMT
Fixed.

----- Original Message ----- 
From: "Harald Schmitt" <commerce@hschmitt.de>
To: <axis-dev@xml.apache.org>
Sent: Friday, December 21, 2001 9:40 AM
Subject: MessageElement


> Hi,
> 
> I work with Axis Alpha 2 and found a bug or feature in
> org.apache.axis.message.MessageElement
> 
>    MessageElement(Element elem)
>     {
>         elementRep = elem;
>         namespaceURI = elem.getNamespaceURI();
>         name = elem.getTagName();
>     }
> 
> elem.getTagName(); should be replaced with elem.getLocalName();
> otherwise it is prefixed, and later on a prefix is additionaly added so
> there is something like 
> <ns1:ns2:myElem>.
> In org.apache.axis.encoding.SerializationContext this change is already
> done.
> -- 
> Ciao,
>                Harald
> 


Mime
View raw message