We currently have some limitations wrt to xml parsing.
The way the ServiceMix Kernel is currently set up only works with Sun JVM.
This is because only the com.sun.* packages are exported by the system
bundle, so on non Sun JVM, loading the implementation JAR seems to
fail.
One way to solve that, would be to export also the packages from other JVM.

However, doing that won't solve another problem.  Also, the Sun's SAAJ
implementation depends on the Sun' JAXP RI which mean we have to ship
it in all cases and can't rely on the JVM.

So the current solution I have in mind is:
  * make the JAXP api an OSGi bundle
  * make the JAXP ri an OSGi bundle
  * ship both with Smx Kernel
  * remove the com.sun.org.apache.* packages from the system bundle
boot classpath
  * remove the javax.xml.*, org.w3c.* and org.xml.sax.* packages from
the system bundle boot classpath

This should ensure a consistent behavior on all JVMs and allow SAAJ to work.
Any other idea ?

-- 
Cheers,
Guillaume Nodet
------------------------
Blog: http://gnodet.blogspot.com/
------------------------
Open Source SOA
http://fusesource.com

Reply via email to