felix-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <tim.hopk...@accenture.com>
Subject RE: Error building commons xml-apis bundle
Date Tue, 01 Feb 2011 15:45:43 GMT
Thanks Kit. I'm just wanting to do some basic DOM processing, nothing too strenuous. 

I've gone ahead and replaced what I was using with the Dom4J bundle from ServiceMix - a few
minor code changes here and there and it looks like I'm past this issue.


Thanks for the help !

Tim

-----Original Message-----
From: Kit Plummer [mailto:kitplummer@gmail.com] 
Sent: Monday, January 31, 2011 10:20 AM
To: users@felix.apache.org
Subject: Re: Error building commons xml-apis bundle

Hey Tim, small world.  Hope you're well...beyond this lil' issue.

Holger's right.  I use the Java API stuff, especially the stuff that
is already bundled up as part of ServiceMix.
http://servicemix.apache.org/SMX4/bundles-repository.html

What XML processing functionality do you need?  Perhaps we can point
you in the right direction.

Kit

2011/1/31 Holger Hoffstätte <holger.hoffstaette@googlemail.com>:
> On 31.01.2011 15:25, tim.hopkins@accenture.com wrote:
>> Hi
>>
>> I'm having a problem trying to get the xml-apis bundle to build. I'm
>> new to Felix and to Maven, so this might all be my fault. When I
>
> The good news: not your fault. The bad news: you're doomed.
>
>> execute Maven against the xml-apis pom.xml, I'm getting the following
>> error:
>>
>> [ERROR] Error building bundle
>> org.apache.felix.commons:org.apache.felix.commons.
>> xml-apis:bundle:1.3.4-0002-SNAPSHOT : Unresolved references to
>> [sun.io] by class (es) on the Bundle-Classpath[Jar:dot]:
>> [org/apache/xml/serialize/EncodingInfo$Ch
>> arToByteConverterMethods.class] [ERROR] Error(s) found in bundle
>> configuration [INFO]
>
> I suggest you give up now. Right now. That particular rabbit hole goes
> deep, and there is no escape.
>
> xml-apis and xerces in their current forms are completely unmodular and
> mostly impossible to get right in OSGi without major fixes to those
> projects. These are unlikely to happen, for a variety of reasons.
>
> Just stay away from them at (not only wrt. OSGi) and use the stuff in
> the JDK. The latest JDK6 updates had several updates to XML and should
> work for the majority of cases.
>
> -h
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
> For additional commands, e-mail: users-help@felix.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org




This message is for the designated recipient only and may contain privileged, proprietary,
or otherwise private information.  If you have received it in error, please notify the sender
immediately and delete the original.  Any other use of the email by you is prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@felix.apache.org
For additional commands, e-mail: users-help@felix.apache.org


Mime
View raw message