Return-Path: Delivered-To: apmail-xmlbeans-dev-archive@www.apache.org Received: (qmail 88463 invoked from network); 8 May 2007 17:10:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2007 17:10:00 -0000 Received: (qmail 51522 invoked by uid 500); 8 May 2007 17:10:06 -0000 Delivered-To: apmail-xmlbeans-dev-archive@xmlbeans.apache.org Received: (qmail 51506 invoked by uid 500); 8 May 2007 17:10:06 -0000 Mailing-List: contact dev-help@xmlbeans.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@xmlbeans.apache.org List-Id: Delivered-To: mailing list dev@xmlbeans.apache.org Received: (qmail 51488 invoked by uid 500); 8 May 2007 17:10:06 -0000 Delivered-To: apmail-xml-xmlbeans-dev@xml.apache.org Received: (qmail 51395 invoked by uid 99); 8 May 2007 17:10:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 10:10:06 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 08 May 2007 10:09:58 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8968471407E for ; Tue, 8 May 2007 10:09:18 -0700 (PDT) Message-ID: <17839034.1178644158561.JavaMail.jira@brutus> Date: Tue, 8 May 2007 10:09:18 -0700 (PDT) From: "Jacob Danner (JIRA)" To: xmlbeans-dev@xml.apache.org Subject: [jira] Resolved: (XMLBEANS-330) javax.xml.namespace classes included in archive In-Reply-To: <25594942.1178643195542.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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: http://issues.apache.org/jira/browse/XMLBEANS-324 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