[jdom-interest] Valid attribute name

Rafizan Baharum udabahar at engin.umich.edu
Fri Jul 28 12:50:22 PDT 2000


hi again..

whoops my bad.... downloaded the new version of verifier... ;)
-z00t-



Rafizan Baharum wrote:

> hi all,
>
> thanks for the help brett.. its working now..i didnt realize i have compat.jar somewhere in
> my classpath..
> i have yet to find out why "space-after.optimum" is not a valid name for an attribute. are
> JDOM and FOP
> not comply to the same working draft or something?  (sorry, im new to the XML turf, doing
> some stuff for class project ;) )
>
> thanks in advance..
>
> -z00t-
>
> Brett McLaughlin wrote:
>
> > 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
>
> _______________________________________________
> To control your jdom-interest membership:
> http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhost.com




More information about the jdom-interest mailing list