[ http://issues.apache.org/jira/browse/WSCOMMONS-94?page=comments#action_12436470 ] Toshiro Takase commented on WSCOMMONS-94: -----------------------------------------
Thank you for your comment. And sorry for my late response. I agree with you. prefix is mandatory. The signature you suggest is good for me. And even the following signature is OK for me also. /** * @param prefix the prefix associated with the namespace. This can not be null */ public void removeDeclaredNamespace(prefix) Thanks in advance. > Namespace declaration cannot be removed from OMElement > ------------------------------------------------------ > > Key: WSCOMMONS-94 > URL: http://issues.apache.org/jira/browse/WSCOMMONS-94 > Project: WS-Commons > Issue Type: Bug > Components: AXIOM > Environment: Windows > Reporter: Toshiro Takase > Priority: Critical > > Once an useless namespace declaration is declared to an OMElement, the > namespace declaration cannot be removed forever. > In DOM, we can remove namespace declarations by using > Element.removeAttribute() . > But, in AXIOM, we cannot remove namespace declarations by > OMElement.removeAttribute() . > Maybe, we need OMElement.removeDeclaredNamespace() ? -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
