[jdom-interest] Important proposal: Element/Document changes
Brett McLaughlin
brett.mclaughlin at lutris.com
Fri Jul 28 09:44:09 PDT 2000
Rafizan Baharum wrote:
>
> hi all,
> two quick question..
>
> 1) is "space-after.optimum" a valid name for an attribute? i stumble into this when
> using FOP from apache..
>
> 2) ive tried DOMOuputter and it looks good in my application.( waydagooo guys ;) )
> but unfortunately ive got this wierd error when using it in servlet
>
> java.lang.NoSuchMethodError: org.apache.xerces.dom.NodeImpl: method
> (Lorg/apache/xerces/dom/DocumentImpl;Ljava/lang/String;Ljava/lang/String;)V not found
> at
> org.apache.xerces.dom.DocumentImpl.(DocumentImpl.java:157) at
> org.apache.xerces.dom.DocumentImpl.(DocumentImpl.java:152) at
> java.lang.Class.newInstance0(Native Method) at
> java.lang.Class.newInstance(Class.java, Compiled Code) at
> org.jdom.adapters.XercesDOMAdapter.createDocument(XercesDOMAdapter.java:149) at
> org.jdom.output.DOMOutputter.output(DOMOutputter.java, Compiled Code) at
> org.jdom.output.DOMOutputter.output(DOMOutputter.java:114) at
>
> im pretty sure both environemnt( servlet& app) are using the same latest xerces.jar.
> ...any ideas?
Make sure that xml.jar isn't in the classpath of Tomcat before
xerces.jar
-Brett
>
> -z00t-
--
Brett McLaughlin, Enhydra Strategist
Lutris Technologies, Inc.
1200 Pacific Avenue, Suite 300
Santa Cruz, CA 95060 USA
http://www.lutris.com
http://www.enhydra.org
More information about the jdom-interest
mailing list