Hi Joe,
Where did your Xerces come from? As far as I know, the parsers we've
released on Apache don't have this property; did it perhaps come from one
of the Sun XML packs? If so, you might want to give one of the main-line
releases a try.
Cheers,
Neil
Neil Graham
XML Parser Development
IBM Toronto Lab
Phone: 905-413-3519, T/L 969-3519
E-mail: [EMAIL PROTECTED]
|---------+---------------------------->
| | Joe Soap |
| | <[EMAIL PROTECTED]|
| | hoo.co.uk> |
| | |
| | 07/03/2003 07:02 |
| | AM |
| | Please respond to|
| | xerces-j-user |
| | |
|---------+---------------------------->
>---------------------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: [EMAIL PROTECTED]
|
| cc:
|
| Subject: 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
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]