Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » OPTION_SCHEMA_LOCATION has no effect
OPTION_SCHEMA_LOCATION has no effect [message #1012267] Thu, 21 February 2013 08:31 Go to next message
sakop qq is currently offline sakop qqFriend
Messages: 29
Registered: January 2013
Junior Member
Hi,

In order to avoid the EPackage not found exception, I am saving xmi files using the option OPTION_SCHEMA_LOCATION:

Map options = new HashMap();
options.put(XMLResource.OPTION_SCHEMA_LOCATION,Boolean.TRUE);
file1.save(options);


Sometimes, it works fine since I can see the schemaLocation attribute in the generated file, however, there are still some occasions that this attribute is not generated, can sb tell me why?

Thanks

[Updated on: Thu, 21 February 2013 08:33]

Report message to a moderator

Re: OPTION_SCHEMA_LOCATION has no effect [message #1012270 is a reply to message #1012267] Thu, 21 February 2013 08:36 Go to previous message
sakop qq is currently offline sakop qqFriend
Messages: 29
Registered: January 2013
Junior Member
Sorry I posted it in the wrong area, Dear Administrator,please help me delete it,thanks
Previous Topic:Register EPackage before loading the diagram
Next Topic:Drawing 2 different connections for same source and target pictograms
Goto Forum:
  


Current Time: Fri Apr 26 20:02:50 GMT 2024

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

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

Back to the top