You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Andreas Veithen (JIRA)" <ji...@apache.org> on 2010/11/27 15:31:13 UTC

[jira] Resolved: (AXIS2-4799) 3rd party dependencies shipped with axis2 have conflicting interfaces

     [ https://issues.apache.org/jira/browse/AXIS2-4799?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Veithen resolved AXIS2-4799.
------------------------------------

    Resolution: Not A Problem

There is actually no problem here:
* Axis2 1.5 requires at least Java 1.5, where these interfaces are all part of the JRE. Therefore the interfaces packaged with Axis2 are actually never used. That is why the xml-apis and xercesImpl JARs will no longer be part of the Axis2 distribution starting with version 1.6.
* DOMException is an unchecked exception. Declaring it or not makes no difference.
* If the XMLBeans projects decides to package some DOM APIs into their JARs, we can't do anything about it.

> 3rd party dependencies shipped with axis2 have conflicting interfaces
> ---------------------------------------------------------------------
>
>                 Key: AXIS2-4799
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4799
>             Project: Axis2
>          Issue Type: Bug
>    Affects Versions: 1.5.1, 1.5
>         Environment: Java 1.6.0.18, Windows 7
>            Reporter: Philip Lowman
>            Priority: Minor
>
> Three of the JAR files that are distributed in the binary version of axis2 contain class files that conflict with class files in other libraries distributed with axis2.  The classes themselves are interfaces.  We're not sure what the effect is at runtime if any given how the code is being used.
> Here is a brief list of the classes/jars that overlap:
> (#1)   xmlbeans-2.3.0 VS. xml-apis-1.3.02
>  Differing content for org/w3c/dom/DOMConfiguration.class
>    CRC 3549220474 in: temp\libs\workforce\libs\axis2\1.5\xmlbeans-2.3.0.jar
>    CRC 3163447488 in: temp\libs\workforce\libs\axis2\1.5\xml-apis-1.3.02.jar
>  Differing content for org/w3c/dom/DOMStringList.class
>    CRC 3932676362 in: temp\libs\workforce\libs\axis2\1.5\xmlbeans-2.3.0.jar
>    CRC 3483497339 in: temp\libs\workforce\libs\axis2\1.5\xml-apis-1.3.02.jar
>  Differing content for org/w3c/dom/TypeInfo.class
>    CRC 2451466128 in: temp\libs\workforce\libs\axis2\1.5\xml-apis-1.3.02.jar
>    CRC 1061695643 in: temp\libs\workforce\libs\axis2\1.5\xmlbeans-2.3.0.jar
>  Differing content for org/w3c/dom/UserDataHandler.class
>    CRC 1603243298 in: temp\libs\workforce\libs\axis2\1.5\xmlbeans-2.3.0.jar
>    CRC 938959678 in: temp\libs\workforce\libs\axis2\1.5\xml-apis-1.3.02.jar
> The only functional difference in the files above appears to be in DOMConfiguration.class
> xml-apis-1.3.02
>   void setParameter(java.lang.String s, java.lang.Object o) throws org.w3c.dom.DOMException;
>   java.lang.Object getParameter(java.lang.String s) throws org.w3c.dom.DOMException;
> xmlbeans-2.3.0
>   void setParameter(java.lang.String s, java.lang.Object o);
>   java.lang.Object getParameter(java.lang.String s);
> (#2)  xercesImpl-2.6.2 vs xml-apis-1.3.02 
>  Differing content for org/w3c/dom/ls/LSParser.class
>    CRC 3362577545 in: temp\libs\workforce\libs\axis2\1.5\xercesImpl-2.6.2.jar
>    CRC 1328753899 in: temp\libs\workforce\libs\axis2\1.5\xml-apis-1.3.02.jar
>  Differing content for org/w3c/dom/ls/LSSerializer.class
>    CRC 3163532948 in: temp\libs\workforce\libs\axis2\1.5\xml-apis-1.3.02.jar
>    CRC 2077440657 in: temp\libs\workforce\libs\axis2\1.5\xercesImpl-2.6.2.jar
> LSParser (xercesImpl-2.6.2)
>   org.apache.xerces.dom3.DOMConfiguration getDomConfig();
> LSParser (xml-apis-1.3.02)
>   org.w3c.dom.DOMConfiguration getDomConfig();
> LSSerializer (xercesImpl-2.6.2)
>   org.apache.xerces.dom3.DOMConfiguration getDomConfig();
> LSSerializer (xml-apis-1.3.02)
>   org.w3c.dom.DOMConfiguration getDomConfig();
> The dependencies should be rebuilt to all use the same interfaces.

-- 
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: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org