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 2016/02/14 03:14:18 UTC

[jira] [Commented] (AXIOM-363) SOAPFaultNode defines methods conflicting with DOM

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

Hudson commented on AXIOM-363:
------------------------------

SUCCESS: Integrated in axiom-trunk #2527 (See [https://builds.apache.org/job/axiom-trunk/2527/])
AXIOM-363: Remove methods from SOAPFaultNode that conflict with DOM methods. (veithen: rev 1730284)
* axiom/aspects/dom-aspects/src/main/java/org/apache/axiom/dom/impl/mixin/DOMElementSupport.aj
* axiom/axiom-api/src/main/java/org/apache/axiom/soap/SOAPFaultNode.java
* axiom/axiom-api/src/test/java/org/apache/axiom/soap/DOMCompatibilityTest.java
* axiom/implementations/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/soap12/SOAP12FaultNodeImpl.java
* axiom/implementations/axiom-impl/src/main/java/org/apache/axiom/soap/impl/llom/soap12/SOAP12FaultNodeImpl.java
* axiom/src/site/markdown/release-notes/1.3.0.md


> SOAPFaultNode defines methods conflicting with DOM
> --------------------------------------------------
>
>                 Key: AXIOM-363
>                 URL: https://issues.apache.org/jira/browse/AXIOM-363
>             Project: Axiom
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 1.2.11
>            Reporter: Andreas Veithen
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> The Axiom API is designed in such a way that an implementation can support both Axiom and DOM. If a method defined by an Axiom interface has the same signature as a method defined by the corresponding DOM interface, then these methods must have the same contract. E.g. the OMElement#getLocalName() method has the same behavior as org.w3c.dom.Node#getLocalName() (when invoked on an Element instance), so that a class may implement both OMElement and Element.
> There is one exception to this rule. SOAPFaultNode defines the following methods:
> void setNodeValue(String uri);
> String getNodeValue();
> These methods are in conflict with methods defined by org.w3c.dom.Node. Since SOAPFaultNode is specific to SOAP 1.2, renaming these two methods has limited impact. We should do this for Axiom 1.3.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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