Skip to main content

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
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?


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

Current Time: Sat Aug 08 01:12:57 GMT 2020

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

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

Back to the top