Hello, I tried to switch from 1.5beta4 to 1.5beta5 - but seem to get security problems with the SAXParser ...
String parser = XMLResourceDescriptor.getXMLParserClassName(); SAXDocumentFactory f = new SAXDocumentFactory(new GenericDOMImplementation(),parser); StringReader sr = new StringReader(currentContent); Document document = f.createDocument(null, sr); leads to: java.security.AccessControlException: access denied (java.util.PropertyPermission java.home read) at java.security.AccessControlContext.checkPermission(Unknown Source) at java.security.AccessController.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkPropertyAccess(Unknown Source) at java.lang.System.getProperty(Unknown Source) at org.apache.xerces.util.SecuritySupport12$2.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at org.apache.xerces.util.SecuritySupport12.getSystemProperty(Unknown Source) at org.apache.xerces.util.ObjectFactory.createObject(Unknown Source) at org.apache.xerces.util.ObjectFactory.createObject(Unknown Source) at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source) at org.apache.xerces.parsers.SAXParser.<init>(Unknown Source) at java.lang.Class.newInstance0(Native Method) at java.lang.Class.newInstance(Unknown Source) at org.xml.sax.helpers.NewInstance.newInstance(Unknown Source) at org.xml.sax.helpers.XMLReaderFactory.loadClass(Unknown Source) at org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown Source) at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source) at org.apache.batik.dom.util.SAXDocumentFactory.createDocument(Unknown Source) - I am displaying the document in an applet - I included all jar files located in the lib-directory of the binary distribution in my classpath Does anybody know what I am missing ? Greetings, Christian. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]