You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2011/07/22 23:25:10 UTC

[jira] [Commented] (AXIOM-75) Namespace declaration cannot be removed from OMElement

    [ https://issues.apache.org/jira/browse/AXIOM-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13069782#comment-13069782 ] 

Hudson commented on AXIOM-75:
-----------------------------

Integrated in ws-axiom-trunk #453 (See [https://builds.apache.org/job/ws-axiom-trunk/453/])
    AXIOM-75: Explicitly support usage of remove() on the iterator returned by OMElement#getAllDeclaredNamespaces().

veithen : 
Files : 
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/om/element/TestGetAllDeclaredNamespacesRemove.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-testsuite/src/main/java/org/apache/axiom/ts/OMTestSuiteBuilder.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMElement.java


> Namespace declaration cannot be removed from OMElement
> ------------------------------------------------------
>
>                 Key: AXIOM-75
>                 URL: https://issues.apache.org/jira/browse/AXIOM-75
>             Project: Axiom
>          Issue Type: Bug
>         Environment: Windows
>            Reporter: Toshiro Takase
>            Priority: Minor
>             Fix For: 1.3
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org