Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Use xsd library in java applet
Use xsd library in java applet [message #589818] Wed, 21 July 2004 07:04
Vladimir is currently offline VladimirFriend
Messages: 10
Registered: July 2009
Junior Member
Can I use xsd parser in applet transferred via net? If I start my applet
from browser I receive the following exception:


java.security.AccessControlException: access denied
(java.lang.RuntimePermission setContextClassLoader)

at java.security.AccessControlContext.checkPermission(Unknown Source)

at java.security.AccessController.checkPermission(Unknown Source)

at java.lang.SecurityManager.checkPermission(Unknown Source)

at java.lang.Thread.setContextClassLoader(Unknown Source)

at org.eclipse.xsd.util.XSDParser.<init>(XSDParser.java:408)

at org.eclipse.xsd.util.XSDResourceImpl.doLoad(XSDResourceImpl. java:321)

at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:881)

at
org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(Resour ceImpl.java:755)

at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.demandLo ad(ResourceSetImpl.java:220)

at
org.eclipse.emf.ecore.resource.impl.ResourceSetImpl.getResou rce(ResourceSetImpl.java:286)

at
org.eclipse.xsd.impl.XSDSchemaImpl.getMagicSchemaForSchema(X SDSchemaImpl.java:553)

at
org.eclipse.xsd.impl.XSDSchemaImpl.getSchemaForSchema(XSDSch emaImpl.java:631)

at
org.eclipse.xsd.impl.XSDSchemaImpl.getSchemaInstance(XSDSche maImpl.java:708)

at
org.eclipse.xsd.impl.XSDSchemaImpl.resolveSchema(XSDSchemaIm pl.java:2040)

at org.eclipse.xsd.impl.XSDSchemaImpl.patch(XSDSchemaImpl.java: 1485)

at
org.eclipse.xsd.impl.XSDSchemaImpl.changeAttribute(XSDSchema Impl.java:2241)

at
org.eclipse.xsd.impl.XSDConcreteComponentImpl.eNotify(XSDCon creteComponentImpl.java:1205)

at
org.eclipse.xsd.impl.XSDSchemaImpl.setSchemaLocation(XSDSche maImpl.java:842)

at org.eclipse.xsd.util.XSDResourceImpl.attached(XSDResourceImp l.java:410)

at
org.eclipse.emf.ecore.resource.impl.ResourceImpl$ContentsELi st.inverseAdd(ResourceImpl.java:326)

at
org.eclipse.emf.common.notify.impl.NotifyingListImpl.addUniq ue(NotifyingListImpl.java:233)

at org.eclipse.emf.common.util.BasicEList.add(BasicEList.java:5 88)
Previous Topic:Create 'template' xml from xsd model
Next Topic:NEWBIE question: how to get the contents of an XSDSchema->WSDL in Java
Goto Forum:
  


Current Time: Fri Oct 23 12:33:07 GMT 2020

Powered by FUDForum. Page generated in 0.02265 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top