You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-users@xerces.apache.org by Joe Soap <en...@yahoo.co.uk> on 2003/07/03 13:02:39 UTC

Trying to use xercesImpl in applet launched by browser

Hi,
I am encountering the following exception when trying to use xerces in an applet which is launched by a browser. It looks like xerces tries to access a system property (entityExpansionLimit) which is illegal for an applet running in its sandbox. Can anyone confirm that this is what could be happening and is there any way to work around this ? Does xerces work in applets ?
 
Thanks
 
java.security.AccessControlException: access denied (java.util.PropertyPermission entityExpansionLimit read)
 at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
 at java.security.AccessController.checkPermission(AccessController.java:401)
 at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
 at java.lang.SecurityManager.checkPropertyAccess(SecurityManager.java:1291)
 at java.lang.System.getProperty(System.java:572)
 at java.lang.Integer.getInteger(Integer.java:772)
 at java.lang.Integer.getInteger(Integer.java:689)
 at org.apache.xerces.impl.XMLEntityManager.reset(XMLEntityManager.java:1077)
 at org.apache.xerces.parsers.BasicParserConfiguration.reset(BasicParserConfiguration.java:544)
 at org.apache.xerces.parsers.DTDConfiguration.reset(DTDConfiguration.java:630)
 at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:502)
 at org.apache.xerces.parsers.DTDConfiguration.parse(DTDConfiguration.java:585)
 at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:152)
 at org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1142)


---------------------------------
Want to chat instantly with your online friends? Get the FREE Yahoo!Messenger