[jdom-interest] "JDOM for XML4j" Problems
Alex Rosen
arosen at silverstream.com
Thu Aug 30 12:11:03 PDT 2001
Use the org.xerces parsers of the XML4J package, not the com.ibm ones. The
com.ibm ones (in the xml4j.jar) are only for backwards compatibility. The
new ones are the org.xerces parsers in xerces.jar.
(The development of Xerces started as XML4J from IBM. Nowadays XML4J is just
a repackaged, and they say better tested, version of Xerces.)
> -----Original Message-----
> From: jdom-interest-admin at jdom.org
> [mailto:jdom-interest-admin at jdom.org]On Behalf Of Jason Hunter
> Sent: Thursday, August 30, 2001 2:37 PM
> To: Pradeep Kumar
> Cc: jdom-interest at jdom.org
> Subject: Re: [jdom-interest] "JDOM for XML4j" Problems
>
>
> I suspect xml4j implements SAX 1.0. JDOM uses SAX 2.0.
>
> -jh-
>
> Pradeep Kumar wrote:
> >
> > All,
> >
> > I am trying to use JDOM api to access xml4j parser. I
> am using the
> > build method of SAXBuilder class to create a JDOM Document
> from an XML
> > String. This method takes in an argument which is the class
> name of the
> > parser which we are using.. But the class file which we give should
> > implement org.xml.sax.XMLReader. But SAXParser or any
> parser of XML4J
> > does not implement this file.. Am i doing anything wrong,
> or is it not
> > catered by JDOM currently...
> >
> > Pradeep
> >
> >
> *********************************************************************
> > This message is confidential; its contents do not constitute
> > a commitment by AXA except where provided for in a written agreement
> > between you and AXA.
> > Any unauthorised disclosure, use or dissemination, either whole
> > or partial, is prohibited. If you are not the intended recipient of
> > the message, please notify the sender immediately.
> >
> *********************************************************************
> > _______________________________________________
> > To control your jdom-interest membership:
> >
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
_______________________________________________
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