[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmlrpc-user
Subject:    [jira] [Created] (NEETHI-10) Packages javax.xml.stream and
From:       "Martin Weindel (JIRA)" <jira () apache ! org>
Date:       2011-04-27 10:03:03
Message-ID: 1455499753.5466.1303898583451.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]

Packages javax.xml.stream and javax.xml.stream.events cannot be resolved
------------------------------------------------------------------------

                 Key: NEETHI-10
                 URL: https://issues.apache.org/jira/browse/NEETHI-10
             Project: Neethi
          Issue Type: Bug
    Affects Versions: 3.0
         Environment: OSGi (Equinox 3.6 with JDK 1.6)
            Reporter: Martin Weindel


When using neethi-3.0.0.jar in an OSGi environment, the packages javax.xml.stream and \
javax.xml.stream.events cannot be resolved. As a consequence the neethi bundle itself \
is not resolved.

This is caused by the following lines in the MANIFEST.MF, as these packages are \
provided by the JDK without version information.

Import-Package: javax.xml.namespace,javax.xml.parsers,javax.xml.stream
 ;version="[0.0,2)",javax.xml.stream.events;version="[1.0,2)",javax.xm


Proposed fix: Remove the version specification (i.e. ;version="[0.0,2)") in the \
MANIFEST.MF for the packages javax.xml.stream and javax.xml.stream.events as shown \
below

Import-Package: javax.xml.namespace,javax.xml.parsers,javax.xml.stream
 ,javax.xml.stream.events,javax.xml.transform,javax.xml.transform.dom,
 org.apache.axiom.om;resolution:=optional,org.apache.axiom.om.impl.bui
 lder;resolution:=optional,org.apache.axiom.om.impl.dom;resolution:=op
 tional,org.apache.neethi;version="[3.0,4)",org.apache.neethi.builders
 ;version="[3.0,4)",org.apache.neethi.builders.converters;version="[3.
 0,4)",org.apache.neethi.builders.xml;version="[3.0,4)",org.apache.nee
 thi.util;version="[3.0,4)",org.w3c.dom


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic