- From: Marielle Fois <im99_foa@nada.kth.se>
- Date: Fri, 21 Jul 2000 04:12:53 -0400 (EDT)
- To: www-dom@w3.org
Hi there, I have got an applet from where I want to parse an xml document located in a given url, but I am having problems with it. The code I have is simple: // assert permission if (Class.forName("com.ms.security.PolicyEngine") != null) PolicyEngine.assertPermission(PermissionID.NETIO); // parse the xml document DocumentBuilderFactory docBuilderFactory; DocumentBuilder docBuilder; Document doc; docBuilderFactory = DocumentBuilderFactory.newInstance(); docBuilder = docBuilderFactory.newDocumentBuilder(); doc = docBuilder.parse("http://somewhere/somearchive.xml"); And the error report I get from IE5.0 is: java.lang.IllegalAccessError: com/sun/xml/tree/XmlDocument Could anyone help me? Thanks in advance, Marielle
Received on Friday, 21 July 2000 10:24:49 UTC