Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] XOM in an applet

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Elliotte Rusty Harold <elharo AT metalab.unc.edu>
  • To: "Ken Kast" <ken AT kenkast.com>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] XOM in an applet
  • Date: Mon, 23 Aug 2004 07:34:40 -0400

I'm not sure what's going one here. I suspect some funky class loader issue.

First of all, I removed the DocumentBuilderFactory lines since they seemed irrelevant to the problem. Then I recompiled everything, and set it up on my file system. I did not use your signed jar archive.

I reproduced the bug once. However, I'm not sure how I did even that because I did not have the xom-1.0b3 or XOM classes in my CLASSPATH. Then I added the xom-1.0b3.jar file to the applets directory and changed the archives tag to point to that. At this point everything worked. There is a real bug here, but I can't pinpoint it. So maybe the problem is in your packaging. I'm not sure.

I suggest unbundling the XOM classes from your archive, and including the XOM jar separately in the applet's classpath. Please let me know if that helps.
--

Elliotte Rusty Harold
elharo AT metalab.unc.edu
Effective XML (Addison-Wesley, 2003)
http://www.cafeconleche.org/books/effectivexml
http://www.amazon.com/exec/obidos/ISBN%3D0321150406/ref%3Dnosim/cafeaulaitA




Archive powered by MHonArc 2.6.24.

Top of Page