[
https://issues.apache.org/jira/browse/WSCOMMONS-147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12471839
]
Davanum Srinivas commented on WSCOMMONS-147:
--------------------------------------------
Looks like this has already been applied.
thanks,
dims
> [Axis2] AttrImpl -> getName() returns wrong name
> ------------------------------------------------
>
> Key: WSCOMMONS-147
> URL: https://issues.apache.org/jira/browse/WSCOMMONS-147
> Project: WS-Commons
> Issue Type: Bug
> Components: AXIOM
> Environment: any
> Reporter: sumedha rubasinghe
> Attachments: WSCOMMONS-147.patch, WSCOMMONS-147_02.patch
>
>
> Value returned from org.apache.axiom.om.impl.dom.AttrImpl -> getName() is
> incorrect, when an attribute has a namespace prefix other than "xmlns".
> class AttrImpl{
> .........
> public String getName() {
> return (this.namespace == null) ? this.attrName
> : (OMConstants.XMLNS_NS_PREFIX.equals(this.attrName) ?
> this.attrName : OMConstants.XMLNS_NS_PREFIX + ":" + this.attrName);
> }
> ........
> }
> As you can see in the above code, the returned value will have default
> namespace prefix set, even if it has some other prefix.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]