Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » XML Schema Definition (XSD) » Bug in validation?
Bug in validation? [message #581104] Tue, 25 November 2003 17:24
Lance Phillips is currently offline Lance Phillips
Messages: 210
Registered: July 2009
Senior Member
Ed,
I'm still after this problem where my problem markers do not seem to be
correctly getting cleaned up when doing a validate after fixing a problem in
an schema. Here is the scenario... Two Xsd files, one imports the other.
Load them both into a ResourceSet and Validate. I get no errors. Delete
the imported Xsd and run validation on the importing schema... I get an
error (as expected). Re-load the imported schema and re-run validation. I
still get validation errors when I wouldn't expect to.... I've attached a
PdeJunit test that can be run. The last test is failing where I re-add the
imported XSD back into the ResourceSet and revalidate the importing schema.
I still end up with validation errors.....

Obviously you won't be able to run the test case as is since I can not
send the models or the referenced Metamatrix utility class... but you should
be able to capture the spirit of the problem with this test case ;)

thanks,

lp


Previous Topic:Unloading an XSDResource
Next Topic:Bug in validation?
Goto Forum:
  


Current Time: Tue Jul 22 07:27:04 EDT 2014

Powered by FUDForum. Page generated in 0.01881 seconds