xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: "Ken Kast" <ken AT kenkast.com>
- To: <xom-interest AT lists.ibiblio.org>
- Subject: [XOM-interest] XOM in an applet
- Date: Sun, 22 Aug 2004 14:02:38 -0700
I had written an applet that does XML processing using JAVAX. It worked as
intended. I reprogrammed it to use XOM. The applet works OK when debugged
out of the IDE. But when I load the applet via its web-page I get the
following exception and trace:
java.lang.ExceptionInInitializerError
at nu.xom.Element._setNamespaceURI(Unknown Source)
at nu.xom.Element.setNamespaceURI(Unknown Source)
at nu.xom.Element.build(Unknown Source)
at nu.xom.NodeFactory.startMakingDocument(Unknown Source)
at nu.xom.XOMHandler.startDocument(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startDocument(U
nknown Source)
at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.startDocument(Un
known Source)
at
com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.startEntity(U
nknown Source)
at
com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.startDocumentPars
ing(Unknown Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown
Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown
Source)
at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown
Source)
at nu.xom.Builder.build(Unknown Source)
at nu.xom.Builder.build(Unknown Source)
at com.kenkast.newsreader.OPMLDoc.makeOPMLDoc(OPMLDoc.java:63)
at com.kenkast.newsreader.OPMLDoc.<init>(OPMLDoc.java:31)
at com.kenkast.newsreader.NewsApplet.start(NewsApplet.java:29)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at java.io.FilterInputStream.close(Unknown Source)
at nu.xom.Verifier.loadFlags(Unknown Source)
at nu.xom.Verifier.<clinit>(Unknown Source)
... 20 more
The failure comes when running under IIS on the local machine. The applet
has a test cert and the test XML lives in the same local directory as the
applet jar. Can someone give me an idea what I need to do to get this to
work?
Thanks.
Ken
-
[XOM-interest] DOMConverter bug,
Wolfgang Hoschek, 08/19/2004
-
Re: [XOM-interest] DOMConverter bug,
Elliotte Rusty Harold, 08/20/2004
- Re: [XOM-interest] DOMConverter bug, Elliotte Rusty Harold, 08/20/2004
-
Re: [XOM-interest] DOMConverter bug,
Elliotte Rusty Harold, 08/20/2004
-
Re: [XOM-interest] DOMConverter bug,
Wolfgang Hoschek, 08/21/2004
-
Re: [XOM-interest] DOMConverter bug,
Elliotte Rusty Harold, 08/21/2004
- Re: [XOM-interest] DOMConverter bug, John Cowan, 08/21/2004
-
Re: [XOM-interest] DOMConverter bug,
Wolfgang Hoschek, 08/21/2004
-
[XOM-interest] XOM in an applet,
Ken Kast, 08/22/2004
-
Re: [XOM-interest] XOM in an applet,
Elliotte Rusty Harold, 08/22/2004
- Re: [XOM-interest] XOM in an applet, Ken Kast, 08/23/2004
- Re: [XOM-interest] XOM in an applet, Elliotte Rusty Harold, 08/23/2004
- Re: [XOM-interest] XOM in an applet, Elliotte Rusty Harold, 08/23/2004
-
Re: [XOM-interest] XOM in an applet,
Elliotte Rusty Harold, 08/22/2004
-
[XOM-interest] XOM in an applet,
Ken Kast, 08/22/2004
-
Re: [XOM-interest] DOMConverter bug,
Elliotte Rusty Harold, 08/21/2004
-
Re: [XOM-interest] DOMConverter bug,
Wolfgang Hoschek, 08/21/2004
-
Re: [XOM-interest] DOMConverter bug,
Elliotte Rusty Harold, 08/20/2004
Archive powered by MHonArc 2.6.24.