logo       

Re: Kxml: Problem using kXML in a Applet: msg#00021

java.enhydra.kxml

Subject: Re: Kxml: Problem using kXML in a Applet

Sonali,

the factory needs the mentioned resource file
to determine the parsers available. You just
need to copy the corresponding file from
the kxml JAR file to your applet JAR file.
Alternatively, you can create an KXmlParser
directly using the KXmlParser constructor
without using the factory.

Best,
Stefan

Sonali Kale wrote:
Hi,

I am trying to use Kxml in an applet and get the
following error
org.xmlpull.v1.XmlPullParserException: caused by:
org.xmlpull.v1.XmlPullParserException: Ressource not
found:
/META-INF/services/org.xmlpull.v1.XmlPullParserFactory

Could someone please tell me why this error is
occuring ? I am passing the input xml as a URL ( I
checked the URL works fine on command line).

I would really appreciate any help.

- Thanks in advance,
Sonali



__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
Kxml mailing list
Kxml@xxxxxxxxxxx
http://www.enhydra.org/mailman/listinfo.cgi/kxml


--
Stefan Haustein
Univ. Dortmund, FB 4, LS 8 tel: +49 231 755 2499
Baroper Str. 301 fax: +49 231 755 5105
D-44221 Dortmund (Germany) www-ai.cs.uni-dortmund.de


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise