Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » xsi:schemaLocation
xsi:schemaLocation [message #627464] Tue, 31 March 2009 22:41
Lazar Codrut-Lucian is currently offline Lazar Codrut-LucianFriend
Messages: 91
Registered: July 2009
Member
A UML Model with a Profile applied anf with a Stereotype applied on at
least on element has <xmi:XMI> as the root node.
This node has an attribute "xsi:schemaLocation", which contains the
nsURI of the profile, concatenated with the id of the ecore package
generated in the profile uml file.

If I load the uml file in memory and save it, this attribute doesn't get
saved. And the UML Editor will not see the stereotypes as stereotypes
any more, but as instances of the classes from the profile, and they are
visible in the editor next to the Model.

How should I create the "xsi:schemaLocation" attribute and where should
I set it?

Thanks,
Lucian
Previous Topic:Problem with Property and eDerivedStructuralFeatureID()
Next Topic:Binding to UML Classes and Ecore Primitive Types
Goto Forum:
  


Current Time: Sun Jan 21 09:04:35 GMT 2018

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

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