You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2011/08/30 19:45:42 UTC

[jira] [Created] (AXIOM-385) DOOM class hierarchy is inconsistent with the Axiom interface hierarchy

DOOM class hierarchy is inconsistent with the Axiom interface hierarchy
-----------------------------------------------------------------------

                 Key: AXIOM-385
                 URL: https://issues.apache.org/jira/browse/AXIOM-385
             Project: Axiom
          Issue Type: Bug
          Components: DOOM
    Affects Versions: 1.2.12
            Reporter: Andreas Veithen


The OMDocument interface extends OMContainer, but not OMNode. On the other hand, DocumentImpl implements both OMDocument and OMNode (because it extends NodeImpl which implements OMNode).

That causes problems with code such as this (which is perfectly consistent with the Axiom API and which works correctly with the LLOM implementation):

if (item instanceof OMNode) {
    ...
    OMContainer parent = ((OMNode)item).getParent();
    ...
}

--
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


[jira] [Commented] (AXIOM-385) DOOM class hierarchy is inconsistent with the Axiom interface hierarchy

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIOM-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13284372#comment-13284372 ] 

Hudson commented on AXIOM-385:
------------------------------

Integrated in ws-axiom-trunk #994 (See [https://builds.apache.org/job/ws-axiom-trunk/994/])
    AXIOM-385: Removed code that is either redundant or that is no longer reachable through the API (because DocumentImpl no longer implements OMNode). (Revision 1343196)

     Result = SUCCESS
veithen : 
Files : 
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/ChildNode.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentImpl.java

                
> DOOM class hierarchy is inconsistent with the Axiom interface hierarchy
> -----------------------------------------------------------------------
>
>                 Key: AXIOM-385
>                 URL: https://issues.apache.org/jira/browse/AXIOM-385
>             Project: Axiom
>          Issue Type: Bug
>          Components: DOOM
>    Affects Versions: 1.2.12
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.2.13
>
>
> The OMDocument interface extends OMContainer, but not OMNode. On the other hand, DocumentImpl implements both OMDocument and OMNode (because it extends NodeImpl which implements OMNode).
> That causes problems with code such as this (which is perfectly consistent with the Axiom API and which works correctly with the LLOM implementation):
> if (item instanceof OMNode) {
>     ...
>     OMContainer parent = ((OMNode)item).getParent();
>     ...
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (AXIOM-385) DOOM class hierarchy is inconsistent with the Axiom interface hierarchy

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIOM-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13219516#comment-13219516 ] 

Hudson commented on AXIOM-385:
------------------------------

Integrated in ws-axiom-trunk #807 (See [https://builds.apache.org/job/ws-axiom-trunk/807/])
    More code simplifications made possible by the change in AXIOM-385. (Revision 1295236)

     Result = ABORTED
veithen : 
Files : 
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/ChildNode.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NodeImpl.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPEnvelopeImpl.java

                
> DOOM class hierarchy is inconsistent with the Axiom interface hierarchy
> -----------------------------------------------------------------------
>
>                 Key: AXIOM-385
>                 URL: https://issues.apache.org/jira/browse/AXIOM-385
>             Project: Axiom
>          Issue Type: Bug
>          Components: DOOM
>    Affects Versions: 1.2.12
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.2.13
>
>
> The OMDocument interface extends OMContainer, but not OMNode. On the other hand, DocumentImpl implements both OMDocument and OMNode (because it extends NodeImpl which implements OMNode).
> That causes problems with code such as this (which is perfectly consistent with the Axiom API and which works correctly with the LLOM implementation):
> if (item instanceof OMNode) {
>     ...
>     OMContainer parent = ((OMNode)item).getParent();
>     ...
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (AXIOM-385) DOOM class hierarchy is inconsistent with the Axiom interface hierarchy

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIOM-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13137543#comment-13137543 ] 

Hudson commented on AXIOM-385:
------------------------------

Integrated in ws-axiom-trunk #646 (See [https://builds.apache.org/job/ws-axiom-trunk/646/])
    AXIOM-385: DocumentImpl should implement OMNode because OMDocument doesn't extend OMNode.

veithen : 
Files : 
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/CharacterImpl.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/ChildNode.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentTypeImpl.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/ElementImpl.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NodeImpl.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/ParentNode.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/ProcessingInstructionImpl.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/soap/impl/dom/SOAPEnvelopeImpl.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/test/java/org/apache/axiom/om/impl/dom/OMImplementationTest.java
* /webservices/commons/trunk/modules/axiom/modules/axiom-tests/src/test/java/org/apache/axiom/soap/SOAP11DefaultFaultConversionTest.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-testsuite/src/main/java/org/apache/axiom/ts/om/factory/TestCreateOMDocument.java

                
> DOOM class hierarchy is inconsistent with the Axiom interface hierarchy
> -----------------------------------------------------------------------
>
>                 Key: AXIOM-385
>                 URL: https://issues.apache.org/jira/browse/AXIOM-385
>             Project: Axiom
>          Issue Type: Bug
>          Components: DOOM
>    Affects Versions: 1.2.12
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.2.13
>
>
> The OMDocument interface extends OMContainer, but not OMNode. On the other hand, DocumentImpl implements both OMDocument and OMNode (because it extends NodeImpl which implements OMNode).
> That causes problems with code such as this (which is perfectly consistent with the Axiom API and which works correctly with the LLOM implementation):
> if (item instanceof OMNode) {
>     ...
>     OMContainer parent = ((OMNode)item).getParent();
>     ...
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (AXIOM-385) DOOM class hierarchy is inconsistent with the Axiom interface hierarchy

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIOM-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138881#comment-13138881 ] 

Hudson commented on AXIOM-385:
------------------------------

Integrated in Rampart #627 (See [https://builds.apache.org/job/Rampart/627/])
    Fixed an incorrect usage of the Axiom API that caused Rampart to depend on the issue described in AXIOM-385.

veithen : 
Files : 
* /axis/axis2/java/rampart/trunk/modules/rampart-core/src/main/java/org/apache/rampart/util/Axis2Util.java

                
> DOOM class hierarchy is inconsistent with the Axiom interface hierarchy
> -----------------------------------------------------------------------
>
>                 Key: AXIOM-385
>                 URL: https://issues.apache.org/jira/browse/AXIOM-385
>             Project: Axiom
>          Issue Type: Bug
>          Components: DOOM
>    Affects Versions: 1.2.12
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.2.13
>
>
> The OMDocument interface extends OMContainer, but not OMNode. On the other hand, DocumentImpl implements both OMDocument and OMNode (because it extends NodeImpl which implements OMNode).
> That causes problems with code such as this (which is perfectly consistent with the Axiom API and which works correctly with the LLOM implementation):
> if (item instanceof OMNode) {
>     ...
>     OMContainer parent = ((OMNode)item).getParent();
>     ...
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (AXIOM-385) DOOM class hierarchy is inconsistent with the Axiom interface hierarchy

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIOM-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13138856#comment-13138856 ] 

Hudson commented on AXIOM-385:
------------------------------

Integrated in Axis2 #1085 (See [https://builds.apache.org/job/Axis2/1085/])
    Made SAAJ compatible with the change introduced by AXIOM-385.

veithen : 
Files : 
* /axis/axis2/java/core/trunk/modules/saaj/src/org/apache/axis2/saaj/SOAPEnvelopeImpl.java

                
> DOOM class hierarchy is inconsistent with the Axiom interface hierarchy
> -----------------------------------------------------------------------
>
>                 Key: AXIOM-385
>                 URL: https://issues.apache.org/jira/browse/AXIOM-385
>             Project: Axiom
>          Issue Type: Bug
>          Components: DOOM
>    Affects Versions: 1.2.12
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.2.13
>
>
> The OMDocument interface extends OMContainer, but not OMNode. On the other hand, DocumentImpl implements both OMDocument and OMNode (because it extends NodeImpl which implements OMNode).
> That causes problems with code such as this (which is perfectly consistent with the Axiom API and which works correctly with the LLOM implementation):
> if (item instanceof OMNode) {
>     ...
>     OMContainer parent = ((OMNode)item).getParent();
>     ...
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (AXIOM-385) DOOM class hierarchy is inconsistent with the Axiom interface hierarchy

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIOM-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13224802#comment-13224802 ] 

Hudson commented on AXIOM-385:
------------------------------

Integrated in ws-axiom-trunk #816 (See [https://builds.apache.org/job/ws-axiom-trunk/816/])
    Removed some methods made obsolete by the change in AXIOM-385. (Revision 1298145)

     Result = SUCCESS
veithen : 
Files : 
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/AttrImpl.java

                
> DOOM class hierarchy is inconsistent with the Axiom interface hierarchy
> -----------------------------------------------------------------------
>
>                 Key: AXIOM-385
>                 URL: https://issues.apache.org/jira/browse/AXIOM-385
>             Project: Axiom
>          Issue Type: Bug
>          Components: DOOM
>    Affects Versions: 1.2.12
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.2.13
>
>
> The OMDocument interface extends OMContainer, but not OMNode. On the other hand, DocumentImpl implements both OMDocument and OMNode (because it extends NodeImpl which implements OMNode).
> That causes problems with code such as this (which is perfectly consistent with the Axiom API and which works correctly with the LLOM implementation):
> if (item instanceof OMNode) {
>     ...
>     OMContainer parent = ((OMNode)item).getParent();
>     ...
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Updated] (AXIOM-385) DOOM class hierarchy is inconsistent with the Axiom interface hierarchy

Posted by "Andreas Veithen (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIOM-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen updated AXIOM-385:
----------------------------------

    Fix Version/s: 1.2.13
         Assignee: Andreas Veithen
    
> DOOM class hierarchy is inconsistent with the Axiom interface hierarchy
> -----------------------------------------------------------------------
>
>                 Key: AXIOM-385
>                 URL: https://issues.apache.org/jira/browse/AXIOM-385
>             Project: Axiom
>          Issue Type: Bug
>          Components: DOOM
>    Affects Versions: 1.2.12
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.2.13
>
>
> The OMDocument interface extends OMContainer, but not OMNode. On the other hand, DocumentImpl implements both OMDocument and OMNode (because it extends NodeImpl which implements OMNode).
> That causes problems with code such as this (which is perfectly consistent with the Axiom API and which works correctly with the LLOM implementation):
> if (item instanceof OMNode) {
>     ...
>     OMContainer parent = ((OMNode)item).getParent();
>     ...
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Resolved] (AXIOM-385) DOOM class hierarchy is inconsistent with the Axiom interface hierarchy

Posted by "Andreas Veithen (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIOM-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIOM-385.
-----------------------------------

    Resolution: Fixed
    
> DOOM class hierarchy is inconsistent with the Axiom interface hierarchy
> -----------------------------------------------------------------------
>
>                 Key: AXIOM-385
>                 URL: https://issues.apache.org/jira/browse/AXIOM-385
>             Project: Axiom
>          Issue Type: Bug
>          Components: DOOM
>    Affects Versions: 1.2.12
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.2.13
>
>
> The OMDocument interface extends OMContainer, but not OMNode. On the other hand, DocumentImpl implements both OMDocument and OMNode (because it extends NodeImpl which implements OMNode).
> That causes problems with code such as this (which is perfectly consistent with the Axiom API and which works correctly with the LLOM implementation):
> if (item instanceof OMNode) {
>     ...
>     OMContainer parent = ((OMNode)item).getParent();
>     ...
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Work started] (AXIOM-385) DOOM class hierarchy is inconsistent with the Axiom interface hierarchy

Posted by "Andreas Veithen (Work started) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/AXIOM-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on AXIOM-385 started by Andreas Veithen.

> DOOM class hierarchy is inconsistent with the Axiom interface hierarchy
> -----------------------------------------------------------------------
>
>                 Key: AXIOM-385
>                 URL: https://issues.apache.org/jira/browse/AXIOM-385
>             Project: Axiom
>          Issue Type: Bug
>          Components: DOOM
>    Affects Versions: 1.2.12
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.2.13
>
>
> The OMDocument interface extends OMContainer, but not OMNode. On the other hand, DocumentImpl implements both OMDocument and OMNode (because it extends NodeImpl which implements OMNode).
> That causes problems with code such as this (which is perfectly consistent with the Axiom API and which works correctly with the LLOM implementation):
> if (item instanceof OMNode) {
>     ...
>     OMContainer parent = ((OMNode)item).getParent();
>     ...
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (AXIOM-385) DOOM class hierarchy is inconsistent with the Axiom interface hierarchy

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIOM-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13286005#comment-13286005 ] 

Hudson commented on AXIOM-385:
------------------------------

Integrated in ws-axiom-trunk #999 (See [https://builds.apache.org/job/ws-axiom-trunk/999/])
    AXIOM-385: Removed some methods that are no longer necessary because DocumentImpl doesn't implement OMNode anymore. (Revision 1344414)

     Result = SUCCESS
veithen : 
Files : 
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/DocumentImpl.java

                
> DOOM class hierarchy is inconsistent with the Axiom interface hierarchy
> -----------------------------------------------------------------------
>
>                 Key: AXIOM-385
>                 URL: https://issues.apache.org/jira/browse/AXIOM-385
>             Project: Axiom
>          Issue Type: Bug
>          Components: DOOM
>    Affects Versions: 1.2.12
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.2.13
>
>
> The OMDocument interface extends OMContainer, but not OMNode. On the other hand, DocumentImpl implements both OMDocument and OMNode (because it extends NodeImpl which implements OMNode).
> That causes problems with code such as this (which is perfectly consistent with the Axiom API and which works correctly with the LLOM implementation):
> if (item instanceof OMNode) {
>     ...
>     OMContainer parent = ((OMNode)item).getParent();
>     ...
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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


[jira] [Commented] (AXIOM-385) DOOM class hierarchy is inconsistent with the Axiom interface hierarchy

Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/AXIOM-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13217577#comment-13217577 ] 

Hudson commented on AXIOM-385:
------------------------------

Integrated in ws-axiom-trunk #803 (See [https://builds.apache.org/job/ws-axiom-trunk/803/])
    Removed unnecessary code (probably made obsolete by the change in AXIOM-385). (Revision 1294320)

     Result = SUCCESS
veithen : 
Files : 
* /webservices/commons/trunk/modules/axiom/modules/axiom-dom/src/main/java/org/apache/axiom/om/impl/dom/NodeImpl.java

                
> DOOM class hierarchy is inconsistent with the Axiom interface hierarchy
> -----------------------------------------------------------------------
>
>                 Key: AXIOM-385
>                 URL: https://issues.apache.org/jira/browse/AXIOM-385
>             Project: Axiom
>          Issue Type: Bug
>          Components: DOOM
>    Affects Versions: 1.2.12
>            Reporter: Andreas Veithen
>            Assignee: Andreas Veithen
>             Fix For: 1.2.13
>
>
> The OMDocument interface extends OMContainer, but not OMNode. On the other hand, DocumentImpl implements both OMDocument and OMNode (because it extends NodeImpl which implements OMNode).
> That causes problems with code such as this (which is perfectly consistent with the Axiom API and which works correctly with the LLOM implementation):
> if (item instanceof OMNode) {
>     ...
>     OMContainer parent = ((OMNode)item).getParent();
>     ...
> }

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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