You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Dave Ballard <db...@perenne.com> on 2001/04/12 00:28:47 UTC
java.lang.NoSuchMethodError: org.w3c.dom.Node
Hello,
I tried the simple servlet example from the latest Xalan using weblogic5.1,
and am running into the following exception. Can anyone give me a hint as to
where to look? I've tried swapping the order of the xalan and xerces jar
files in the runtime classpath with no luck.
Thanks,
Dave
---
java.lang.NoSuchMethodError: org.w3c.dom.Node: method
isSupported(Ljava/lang/String;Ljava/lang/String;)Z not found
at
org.apache.xpath.axes.ChildWalkerMultiStep.getNextNode(ChildWalkerMultiStep.
java, Compiled Code)
at
org.apache.xpath.axes.ChildWalkerMultiStep.nextNode(ChildWalkerMultiStep.jav
a, Compiled Code)
at
org.apache.xpath.axes.LocPathIterator.nextNode(LocPathIterator.java:689)
at org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:255)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java, Compiled Code)
at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java, Compiled Code)
at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java, Compiled Code)
at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java, Compiled Code)
at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer
Impl.java:2085)
at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava, Compiled Code)
at
org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:2942)
at java.lang.Thread.run(Thread.java:479)
---
Dave Ballard
Perenne Software Inc.
Email: dballard@perenne.com
Mobile: 512-773-4628
FAX: 512-458-6075
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
Re: getting SAX stream from DOM.
Posted by David Liu <da...@tibco.com>.
In Don Box's Essential XML's appendix, it has a DOM2SAX code example.
davidl
----- Original Message -----
From: "Peter Kharchenko" <pk...@interactivebusiness.com>
To: <xe...@xml.apache.org>
Sent: Friday, April 13, 2001 5:39 PM
Subject: getting SAX stream from DOM.
Hi Everyone,
I've posted this question a week ago or so, but haven't heard anything
in reply. It's a simple thing really, I am hoping someone can advice me
on this.
I was wondering if there is an easy way of generating a SAX stream from
an existing DOM structure using existing xerces/xalan classes (xalan 1.x,
not 2).
Thank in advance for any advice you might have,
-peter.
P.S. I've looked at John Cowan's DOMParser, but it seems like
xalan/xerces are already doing this operation anyway, and I would rather
not bring in extra classes.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
getting SAX stream from DOM.
Posted by Peter Kharchenko <pk...@interactivebusiness.com>.
Hi Everyone,
I've posted this question a week ago or so, but haven't heard anything
in reply. It's a simple thing really, I am hoping someone can advice me
on this.
I was wondering if there is an easy way of generating a SAX stream from
an existing DOM structure using existing xerces/xalan classes (xalan 1.x,
not 2).
Thank in advance for any advice you might have,
-peter.
P.S. I've looked at John Cowan's DOMParser, but it seems like
xalan/xerces are already doing this operation anyway, and I would rather
not bring in extra classes.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org
RE: java.lang.NoSuchMethodError: org.w3c.dom.Node
Posted by Dave Ballard <db...@perenne.com>.
Ah. I'll answer my own post. Placing xalan and xerces before the weblogic
classes fixed the problem. I wonder what this will break in weblogic?
Thanks,
Dave
> -----Original Message-----
> From: Dave Ballard [mailto:dballard@perenne.com]
> Sent: Wednesday, April 11, 2001 5:29 PM
> To: xerces-j-user@xml.apache.org
> Subject: java.lang.NoSuchMethodError: org.w3c.dom.Node
>
>
> Hello,
>
> I tried the simple servlet example from the latest Xalan using
> weblogic5.1,
> and am running into the following exception. Can anyone give me a
> hint as to
> where to look? I've tried swapping the order of the xalan and xerces jar
> files in the runtime classpath with no luck.
>
> Thanks,
> Dave
>
> ---
>
> java.lang.NoSuchMethodError: org.w3c.dom.Node: method
> isSupported(Ljava/lang/String;Ljava/lang/String;)Z not found
> at
> org.apache.xpath.axes.ChildWalkerMultiStep.getNextNode(ChildWalker
> MultiStep.
> java, Compiled Code)
> at
> org.apache.xpath.axes.ChildWalkerMultiStep.nextNode(ChildWalkerMul
> tiStep.jav
> a, Compiled Code)
> at
> org.apache.xpath.axes.LocPathIterator.nextNode(LocPathIterator.java:689)
> at
> org.apache.xalan.templates.ElemValueOf.execute(ElemValueOf.java:255)
> at
> org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
> (Transform
> erImpl.java, Compiled Code)
> at
> org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralRe
> sult.java,
> Compiled Code)
> at
> org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
> (Transform
> erImpl.java, Compiled Code)
> at
> org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralRe
> sult.java,
> Compiled Code)
> at
> org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
> (Transform
> erImpl.java, Compiled Code)
> at
> org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralRe
> sult.java,
> Compiled Code)
> at
> org.apache.xalan.transformer.TransformerImpl.executeChildTemplates
> (Transform
> erImpl.java, Compiled Code)
> at
> org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(T
> ransformer
> Impl.java:2085)
> at
> org.apache.xalan.transformer.TransformerImpl.transformNode(Transfo
> rmerImpl.j
> ava, Compiled Code)
> at
> org.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.j
> ava:2942)
> at java.lang.Thread.run(Thread.java:479)
>
> ---
> Dave Ballard
> Perenne Software Inc.
> Email: dballard@perenne.com
> Mobile: 512-773-4628
> FAX: 512-458-6075
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-j-user-help@xml.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-j-user-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-j-user-help@xml.apache.org