Hi all,

The class com.oopsconsultancy.xmltask.jdk15.XPathAnalyser15 has the
following import statements:

    import com.sun.org.apache.xpath.internal.objects.*;
    import com.sun.org.apache.xpath.internal.*;

I think these packages are not part of the public API and should not
be imported directly. A consequence of doing so is that using xmltask
on the IBM JDK fails as follows:

java.lang.NoClassDefFoundError: com.sun.org.apache.xpath.internal.XPathAPI
        at 
com.oopsconsultancy.xmltask.jdk15.XPathAnalyser15.analyse(XPathAnalyser15.java:28)
        [...]


I tried replacing the above import statements with the following, and
rebuilding:

  import org.apache.xpath.objects.*;
  import org.apache.xpath.*;

As far as I can tell, this enables xmltask to run on the IBM JDK.

Cheers,
Robin

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Xmltask-users mailing list
Xmltask-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xmltask-users

Reply via email to