[jdom-interest] Trouble using DOMOutputter
Josh Natarajan
Joshua.Natarajan at buzzsaw.com
Thu Feb 8 21:11:53 PST 2001
I've got the latest from cvs.jdom.org which ships with xerces 1.2.0 version
the problem of it is, the latest xalan2 i have ships with xerces 1.2.3
if i switch to this one i see the problem I had described in my original
post.
but if i try to use 1.2.0 i get a NoSuchMethod exception
(isSupported in Node that takes two string arguments) in xalan.
should i try to find a xalan that is compatible with xerces 1.2.0?
thanks!
Josh
joshua.natarajan at buzzsaw.com
--------here's the exception i get with xalan when i use xerces 1.2.0----
Exception in thread "main" java.lang.NoSuchMethodError: org.w3c.dom.Node:
method isSupported(Ljava/lang/String;Ljava/lang/String;)
Z not found
at org.apache.xpath.patterns.NodeTest.execute(NodeTest.java:383)
at
org.apache.xpath.axes.PredicatedNodeTest.acceptNode(PredicatedNodeTest.java:
388)
at
org.apache.xpath.axes.ChildTestIterator.nextNode(ChildTestIterator.java,
Compiled Code)
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.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2097)
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.executeChildTemplates(Transform
erImpl.java:2097)
at
org.apache.xalan.templates.ElemLiteralResult.execute(ElemLiteralResult.java,
Compiled Code)
at
org.apache.xalan.templates.ElemForEach.transformSelectedNodes(ElemForEach.ja
va, Compiled Code)
at
org.apache.xalan.templates.ElemApplyTemplates.execute(ElemApplyTemplates.jav
a:193)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java, Compiled Code)
at
org.apache.xalan.transformer.TransformerImpl.executeChildTemplates(Transform
erImpl.java:2097)
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.executeChildTemplates(Transform
erImpl.java:2097)
at
org.apache.xalan.transformer.TransformerImpl.applyTemplateToNode(Transformer
Impl.java:2029)
at
org.apache.xalan.transformer.TransformerImpl.transformNode(TransformerImpl.j
ava, Compiled Code)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java,
Compiled Code)
at
org.apache.xalan.transformer.TransformerImpl.transform(TransformerImpl.java:
1118)
at xsltest.main(xsltest.java:56)
-----Original Message-----
From: Jason Hunter [mailto:jhunter at collab.net]
Sent: Thursday, February 08, 2001 5:16 PM
To: Josh Natarajan
Cc: jdom-interest at jdom.org
Subject: Re: [jdom-interest] Trouble using DOMOutputter
Josh Natarajan wrote:
>
> basically I am trying to create a JDOM directly and pass it to the
> DOMOutputter. Somehow the
> Document resulting from it is unusable by the transformer. here is a test
> case...
Are you using the latest snapshot?
-jh-
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
More information about the jdom-interest
mailing list