Skip to main content



      Home
Home » Modeling » Graphiti » OPTION_SCHEMA_LOCATION has no effect
OPTION_SCHEMA_LOCATION has no effect [message #1012267] Thu, 21 February 2013 03:31 Go to next message
Eclipse UserFriend
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 03:33] by Moderator

Re: OPTION_SCHEMA_LOCATION has no effect [message #1012270 is a reply to message #1012267] Thu, 21 February 2013 03:36 Go to previous message
Eclipse UserFriend
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: Wed Jul 23 07:47:25 EDT 2025

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

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

Back to the top