Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Unloading an XSDResource
Unloading an XSDResource [message #580936] Fri, 21 November 2003 20:32
Lance Phillips is currently offline Lance PhillipsFriend
Messages: 210
Registered: July 2009
Senior Member
Ed,
We have a ResourceSet that has both XsdResources and XmiResources.
Those resources represent the IResources of an IProject in the Workspace.
Upon deletion of an IResource with an underlying EmfResource, we want to
cleanup the EmfResource and remove it from the ResourceSet. That seems to
work fine for the XmiResources by simply doing a resource.unload() and then
a resourceSet.getResources().remove(resource). However, in the case of the
XsdResource, the unload seems to take several minutes. Is there a better
procedure to ensure everything gets cleaned up correctly?

thanks,

lp
Previous Topic:How to run validation on xsd resource
Next Topic:analyziing XSDSimpleTypeDefinitions
Goto Forum:
  


Current Time: Fri Dec 19 20:23:29 GMT 2014

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

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