xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Danner (JIRA)" <xmlbeans-...@xml.apache.org>
Subject [jira] Resolved: (XMLBEANS-330) javax.xml.namespace classes included in archive
Date Tue, 08 May 2007 17:09:18 GMT

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

Jacob Danner resolved XMLBEANS-330.

    Resolution: Duplicate
      Assignee: Jacob Danner

Looks like another case of:

The issue has a solution (removing the class from the jar) but also some explanation as to
why XmlBeans contains that class.

Problem is XmlBeans is designed to work with JDK1.4 and JDK1.4 doesn't have this class if
I am not mistaken. Having that class in the jar allows users of both JDK1.4 and JDK1.5 and
above to use XmlBeans without having to worry about a dependency that really is not available
anywhere for download.

What environment are you in that makes this error happen? Is it possible for you to remove
this class from the jar? 

> javax.xml.namespace classes included in archive
> -----------------------------------------------
>                 Key: XMLBEANS-330
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-330
>             Project: XMLBeans
>          Issue Type: Bug
>    Affects Versions: Version 2.2
>         Environment: N/A
>            Reporter: David J. M. Karlsen
>         Assigned To: Jacob Danner
>            Priority: Blocker
> The archive at http://repo1.maven.org/maven2/xmlbeans/xbean/2.2.0/ includes javax.xml.namespace
classes (QName and NamespaceContext) - which are part of the API specification - and thus
should not be included in the archive.
> This is especially problematic when using xbeans inside containers which also loads these
classes, ending up in ClassCast exceptions, LinkageError and the likes.

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

View raw message