Using XPP3 in an Applet

"sisyphus_shadow <[email protected]>" <[email protected]>
Newsgroups gmane.text.xml.xmlpull.devel
Message-ID <[email protected]>
I am trying to use XPP3 in a applet to parse data from a URL on the 
Web server.  I ran the example given in MyXmlPullApp.class and it 
worked fine.  Unfortunatly, with the applet I get the following 
error:

java.security.AccessControlException: access denied 
(java.util.PropertyPermission org.xmlpull.v1.XmlPullParserFactory

when calling the System.getPOropery while creating the factory.

XmlPullParserFactory factory = XmlPullParserFactory.newInstance(
    System.getProperty(XmlPullParserFactory.PROPERTY_NAME), null);

I am relatively new to Java and could use some help.

What do I need to do to parse XML in an Applet?

Thanks for your help.

Jon


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get 128 Bit SSL Encryption!
http://us.click.yahoo.com/LIgTpC/vN2EAA/xGHJAA/2U_rlB/TM
---------------------------------------------------------------------~->

To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.